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. It also cannot be used with a personal license via the Matlab Campusvertrag. If you want to use Matlab, network licenses have to be activated for your 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 meggie and are stored on its parallel file system, you should also use meggie 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 firstname.lastname@example.org 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
serial job on Woody
#SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 #SBATCH --cpus-per-task=<number of cores> #SBATCH --time=10:00:00 #SBATCH --job-name=matlab #SBATCH --export=NONE unset SLURM_EXPORT_ENV
module load matlab/R201xx matlab -nojvm -nodisplay -nosplash < my_matlab_script.m
- please volunteer!