MCSR_logo.jpg (56K)
Home My MCSR Supercomputers Software Research Education
Login
Quick Links:

FAQs
Minicamp
Chemistry
insideHPC Blog
Current Jobs
Job History
Mathematica
Training
News
Contact Us

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:

  1. create a PBS script
  2. use qsub to launch a batch job using the script
  3. use qstat to check the status of the batch job
  4. use qdel to delete the job, if necessary
  5. examine the output and error files once the job completes

There are four executables available for MATHEMATICA:

  • /usr/local/apps/bin/math
  • /usr/local/apps/bin/mathematica
  • /usr/local/apps/bin/Mathematica
  • /usr/local/apps/bin/MathKernel

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
cd $HOME/MyMathematicaDir
/usr/local/apps/bin/math < myprogram.in > myprogram.out

For usage questions about MATHEMATICA or PBS, please e-mail assist@mcsr.olemiss.edu.


Last Modified:September 25, 2009 10:12:11.   Copyright © 1997-2012 The Mississippi Center for Supercomputing Research. All Rights Reserved.   The University of Mississippi
Valid RSS