MATLAB is a commercial software developed by MathWorks. It is used to solve mathematical problems and to visualize the results. It is mainly used for numerical calculations based on matrices.
Please note that the clusters do not come with any license. If you want to use Matlab, your chair has to provide suitable licenses. Your use on the HPC systems competes with the usage at the chair.
Availability / Target HPC systems
Matlab can run either on a single CPU or on a single node by using multi-threading. Runs with more than one node are currently not supported.
For standalone-simulations, the following HPC systems are best suited:
- throughput cluster Woody: best suited for smaller calculations
- TinyFat: for calculations with large memory requirements
However, the best choice for a target HPC systems depends also on the location of your input data. For example, if you want to analyze large datasets which were generated by another simulation on Emmy and are stored on its parallel file system, you should also use Emmy for your Matlab simulations to avoid copying data.
Different versions of Matlab are available via the modules system. They may also vary between the clusters.
If you can’t see the modules but want to use them, please contact email@example.com for activation.
- If possible, run your calculation as a batch job (see example script below).
- MATLAB can also be run interactively via GUI or command line. You can use an interactive job on the compute nodes for this.
- Please do not use login nodes for production jobs!
Sample job scripts
#!/bin/bash -l #PBS -lnodes=1:ppn=4,walltime=10:00:00 #PBS -N matlab #PBS -j eo module load matlab/R201xx matlab -nojvm -nodisplay -nosplash < my_matlab_script.m
- please volunteer!