MATHEMATICA on Sequoia
Under The University of Mississippi's MATHEMATICA site license, UM employees and students may run single-process MATHEMATICA computations on clusters.
MATHEMATICA may not be run interactively on sequoia; rather, users should submit MATHEMATICA calculations in batch using the PBS resource scheduler. To run a MATHEMATICA job on sequoia:
- create a PBS script
- use qsub to launch a batch job using the script
- use qstat to check the status of the batch job
- use qdel to delete the job, if necessary
- examine the output and error files once the job completes
There are four executables available for MATHEMATICA:
The following is an example PBS script. It assumes that the script itself resides under a subdirectory called "MyMathematicaDir" under the user's login directory. It also requests a total of 1 minute of walltime and 1 minute of CPU time. Finally, it assumes that the user's actual MATHEMATICA code is in a file called "myprogram.in" and that the user wants the output to go into a file called "myprogram.out" in the same directory.
#PBS -S /bin/bash
#PBS -l walltime=0:01:00, cput=0:1:0
#PBS -N MyMathematica
/usr/local/apps/bin/math < myprogram.in > myprogram.out
For usage questions about MATHEMATICA or PBS, please e-mail email@example.com.