Mathematica

Mathematica is a universal interactive computer algebra system with an advanced graphical user interface.

License

On the HPC resources at GWDG there are four network licenses available for Mathematica.

You can start using Mathematica without any setup or preparation in an HPC Desktop via our JupyterHPC service. Once in the desktop environment, open a terminal, load the Mathematica module with module load mathematica and launch the program with the binary math (CLI) or mathematica (GUI). Then follow the instructions.

Execution via SSH

For quick tests and very light workloads, you can run Mathematica directly on the login nodes, but any heavier tasks must be run on a compute node, as shown below. If you want to use a graphical interface instead of the CLI version, start your ssh session with the -X switch.

Interactive Slurm Job

  1. You need to use the batch system to schedule an interactive job on a node with free resources:

    srun --x11 -c 24 -N 1 -p jupyter --pty bash

  2. After a while you should get a shell prompt, prepare the necessary environment with:

    module load mathematica

  3. Lastly, you can call Mathematica in the command line version with the command:

    math as a CLI interface or in the X11 window version with the command mathematica.

The current version is printed as the first line of the output.