Main navigation

How to Run Mathematica

Input

You can use any text editor to make the appropriate input files for Mathematica.

How to Run Mathematica in Batch

How to Run Mathematica from the UCLA Grid Portal

See How to Run an Application from the UCLA Grid Portal

How to Run Mathematica from the Cluster Login Node using the Queue Scripts

The easiest way to run Mathematica in batch from the login node is to use the queue scripts. See Running a Batch Job for a discussion of the queue scripts and how they are used.

The following queue script is available for Mathematica:

math.q
Asks you whether you want to run in parallel or serial.
math.q.parallel
Runs in parallel.
math.q.serial
Runs in serial.

How to Run Mathematica from the Cluster Login Node Using UGE Commands

See Running a Batch Job for guidelines to follow to create the required UGE command file. Alternatively, you could create an UGE command file with one of the queue scripts listed above. After saving the command file, you can modify it if necessary. See Commonly-Used UGE Commands for a list of the most commonly used UGE commands.

How to Run Mathematica Interactively

How to Run Mathematica Interactively from the UCLA Grid Portal

See How to Run an Application from the UCLA Grid Portal

How to Run Mathematica Interactively from the Cluster Login Node

To run Mathematica interactively using its GUI interface you must first connect to the cluster login node with X11 forwarding enabled. Then enter:

mathematica

or, to use its command line interface enter:

math

Report Typos and Errors
UCLA OIT

© 2016 UC REGENTS TERMS OF USE & PRIVACY POLICY