Maple is a symbolic and numeric computing environment as well as a multi-paradigm programming language. It covers several areas of technical computing, such as symbolic mathematics, numerical analysis, data processing, visualization, and others.
module load maple
Do not use Maple on a login node. To use Maple interactively for test and debug, either use an interactive session, or if a GUI is needed, use the HPC-VCL. To confirm that the session is not on a login node, type
module load maple xmaple
Here is an example Maple script with a sample batch script. For more information on submitting batch scripts, see the documentation on running jobs.
Create a text file called script.mpl with the following Maple command:
solve(x^3 + 1.5*x = 27);To run this serial Maple calculation in batch mode, create a text file called submit.csh containing:
#!/bin/tcsh #BSUB -W 10 #BSUB -n 1 #BSUB -o out.%J #BSUB -e err.%J module load maple maple < script.mpl
The job can be submitted as
bsub < submit.csh
The script submit.csh is equivalent to the interactive bsub command above; it requests 1 core for 10 minutes. Check the documentation on running jobs to customize the batch script.
Last modified: March 23 2022 13:19:10.