Using Mathematica

Audience: Faculty, Researchers and Staff

This KB Article References: High Performance Computing
This Information is Intended for: Faculty, Researchers, Staff
Last Updated: December 14, 2018


Mathematica is currently optimized to work in a single node with multiple cores. Mathematica can be used either interactively through a GUI or as in the standard batch submission fashion. To use Mathematica interactively, you must have an X11 server installed on your local machine. For more information, see our articles on logging in and X11 tunneling.

Interactive Mathematica

First, follow the instructions given in this article to enable X11 tunneling.  To use Mathematica interactively load the PBS Torque module and start an interactive session using whichever queue best suits your needs:

module load torque
qsub -I -X -l nodes=1:ppn=28 -q short

After your interactive session begins, use the following commands to setup the Mathematica environment:

module load shared 
module load Mathematica/11.2.0

Then launch Mathematica and use as desired by typing Mathematica into the interactive shell:

$ Mathematica

Mathematica Batch Submission

A sample PBS script and Mathematica program are available in:



Submit a ticket

Additional Information

Getting Help

The Division of Information Technology provides support on all of our services. If you require assistance please submit a support ticket through the IT Service Management system.

Submit A Ticket

For More Information Contact

IACS Support System