NERSCPowering Scientific Discovery Since 1974


Description and Overview

Mathematica is a fully integrated environment for technical computing. It performs symbolic manipulation of equations, integrals, differential equations, and most other mathematical expressions. Numeric results can be evaluated as well.

How to Use Mathematica

To use the graphical interface to Mathematica, you will need to connect to a NERSC machine with X11.

% ssh -X

Next, you will need to load the Mathematica module. To use the default version of Mathematica, use

% module load mathematica

Sometimes the Mathematica module will not load and gives this error message:

% module load mathematica
mathematica/5.2(31):ERROR:102: Tcl command execution failed: if
[ module-info mode load ] {
if [ llength [ array get env DISPLAY ] ] {
exec xset fp+ tcp/
set usgsbin /usr/common/usg/sbin
exec $usgsbin/libdate -m \
-f /usr/common/usg/spool/modules.log \
[ exec $usgsbin/safelogname ] MATHEMATICA_$usgversion}

This is usually because your client site is blocking a fonts server used by Mathematica. In this case, you should use ssh -Y (instead of ssh -X) to access the system where you are running mathematica.  However, if you are using the F-Secure client or putty,  there doesn't seem to be an ssh - Y equivalent command available.  In this case, we suggest that you use a no-fonts Mathematica module. To see the no-fonts Mathematica options type:

%  module avail mathematica

To start up Mathematica once the module is loaded, you can simply type

% mathematica

NERSC's Mathematica licenses are for a limited number of seats. Once you are finished using Mathematica, please be sure you disconnect your X11 session so that your seat becomes available to the next user.


Extensive on-line documentation is available.

MATHEMATICA Documentation


PackagePlatformCategoryVersionModuleInstall DateDate Made Default
Mathematica carver applications/ math 7.0 mathematica-nofonts/7.0 2010-02-08 2012-01-13
Mathematica carver applications/ math 7.0 mathematica/7.0 2010-06-14 2012-01-13
Mathematica carver applications/ math 8.0 mathematica/8.0 2012-04-10 2012-04-19
Mathematica carver applications/ math 8.0 mathematica-nofonts/8.0 2012-04-10 2013-01-25
Mathematica carver_sl6 applications/ math 10.0 mathematica/10.0 2014-08-06 2014-08-06
Mathematica edison applications/ math 10.1.0 mathematica/10.1.0 2015-06-26 2015-06-26
Mathematica edison applications/ math 8.0 mathematica/8.0 2014-08-25 2014-08-25
Mathematica edison applications/ math 8.0 mathematica-nofonts/8.0 2015-01-09
Mathematica hopper_cle52 applications/ math 10.1.0 mathematica/10.1.0 2015-04-15 2015-06-26
Mathematica hopper_cle52 applications/ math 8.0 mathematica-nofonts/8.0 2015-03-10 2015-03-10
Mathematica hopper_cle52 applications/ math 8.0 mathematica/8.0 2015-03-10 2015-03-10
Mathematica pdsf applications/ math 7.0 Mathematica/7.0 2012-03-09

Further Assistance

If you need additional assistance with Mathematica, please send email to