Mathematica is a system for technical computation, with numerical, symbolic, graphical, programming, and interfacing capabilities. 


Unix: Mathematica is installed in Kellogg's Unix server, Skew, as well as SSCC and Quest.

Desktop copies (Windows, Macintosh, Linux, Unix): Desktop copies of Mathematica are available from NUIT.

Vendor information 
Wolfram Research, Inc. 
100 Trade Center Drive
Champaign, IL 61820-7237
Phone: (800) 965-3726


Wolfram Research Support Page.

Running Mathematica

  1. Interactive mode
    • If you access Skew through Xwindows, you can type mathematica and get a graphic interface.
    • Type math to see a terminal window interface. To exit, type Quit at the Mathematica prompt.
  1. Batch mode: math <infile> outfile

To run this batch job in the background, and continue to run after logout, type nohup math <infile> outfile & .

The infile is a text file composed of the necessary Mathematica input commands and the outfile is the file that is written by Mathematica and which contains the evaluations of each of the input commands. It is sometimes useful to make the first line in the infile AppendTo[$Echo, "stdout"] so that the input lines will also be included in the output file. Also, the input file should always end with an empty line. (This information appears on page 32 of Getting Started with Mathematica for X/Unix.) NOTE: A standard Mathematica notebook (.nb) that is saved in interactive mode cannot be directly used as an input to batch mode (as opposed to a plain text file with only Mathematica commands described above). To convert an interactive notebook into a valid batch input file, use the following procedure:
  • Running the interactive mode, select all cells (CTRL-a) and set them as Initialization cells: Cell -> Cell Properties -> check "Initialization Cell."
  • Save the notebook (File -> Save). It will prompt you to create a package; say "yes."
  • Mathematica will create a file in the same directory with the same name and an extension ".m." Use that file as the batch input: e.g., math -noinit -batchinput -batchoutput < infile.m > outfile.txt & .

Useful Links