Mathematical/Numerical Software

Numerical Software

MATLAB

MATLAB is a universal interactive numerical application system with advanced graphical user interface. MathWorks offers many online beginners tutorials (onramps) to get you started with MATLAB here. This also includes onramps to different, more dedicated topics:

  • MATLAB Onramp
  • Simulink Onramp
  • Machine Learning Onramp
  • Deep Learning Onramp
  • Image Processing Onramp

License

On the HPC resources at GWDG there are 5 network licenses available for Matlab. Also we have the following extensions: Simulink, Optimization Toolbox, Parallel Computing Toolbox and Statistics and Machine Learning Toolbox.

For users from MPG we offer the flat rate License from MPG , which covers all toolboxes including MATLAB Parallel Server (formerly Distributed computing). However, you need to apply for the access to the license. You can do it by writing to hpc-support@gwdg.de. With this license you also have access to additional trainings, e.g.:

Command

First prepare the necessary environment with:

module load matlab/R2020b

The use of Matlab must be be scheduled by the batch system in the interactive queue onto an available node. Therefore the following command to the batch system is necessary:

srun --x11 -c 20 -N 1 -p int --pty bash

after a short time period you will get a Shell prompt and you can call Matlab with the command:

matlab

The current version can be found on the main matlab screen under 'Help - About Matlab'.

:!: 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.

Parallelization

The cluster currently has only Parallel Computing Toolbox for Matlab (without Matlab Distributed Computing Server), it means that the opportunities of parallelization are limited in one node. You can only use multiple processors of a single computing node.

Parallel Computing Toolbox provides following commands and structures for parallel programs:

  • parfor - parallel for loop
  • gpuArray - to work with GPU
  • parfeval
  • spmd
  • tall arrays

MPG users can also use the MATLAB Parallel Server to parallelize your application across multiple nodes. Find all information necessary to get started here.

Computer Algebra

Computer algebra is a part of computer science, where algebraic algorithms are designed, analyzed, implemented and applied. GWDG provides the following computer algebra systems with different highlights in mathematics and graphics to its users.

Maple

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

License

On the HPC ressources at GWDG there are four network licences available for Maple.

Command

First prepare the necessary environment with:

module load maple

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

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

after a short time period you will get a Shell prompt and you can call Maple in the command line version with the command:

maple or in the X11 window version with xmaple

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

:!: 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.

Mathematica

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

License

On the HPC ressources at GWDG there are four network licences available for Mathematica.

Command

First prepare the necessary environment with:

module load rev/21.12

module load mathematica

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

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

after a short time period you will get a Shell prompt and you 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 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.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies