Mathematica

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

License

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

One can start using Mathematica via the HPC-Deskop. Once in the desktop Environment, open a terminal and start a job with load Mathematica module with module load mathematica, launch with the binary math or mathematica. Then follow the instructions.

Execution via interactive SLURM job

First prepare the necessary environment with:

module load mathematic

The use of Mathematica then will be scheduled by the batch system in the interactive queue onto a free resource. Therefore, the following command to the batch system is necessary:

srun --x11 -c 24 -N 1 -p scc-cpu --pty bash

Note

The partition used depends on the account you have. Please check here to see the partitions that can be used

After a short time period you will get a Shell prompt, and can call Mathematica in the command line version with the command: math or in the X11 window version with the command mathematica.

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

Note

Note that this example command does not set a time limit, so your job will have the default limit of 1 hour. After that time is up, your session will be killed by the batch system. Make sure to familiarize yourself with the srun command and its parameters and set a higher time limit by specifying the switch -t, see here

Last modified: 2025-07-15 12:32:49