• Skip navigation
  • Skip to navigation
  • Skip to the bottom
Simulate organization breadcrumb open Simulate organization breadcrumb close
  • FAUTo the central FAU website
  • RRZE
  • NHR-Verein e.V.
  • Gauß-Allianz

Navigation Navigation close
  • News
  • About us
    • People
    • Funding
    • NHR Compute Time Projects
    • Tier3 User Project Reports
    • Success Stories from the Support
    • Annual Report
    • Jobs
    Portal About us
  • Research
    • Research Focus
    • Publications, Posters and Talks
    • Software & Tools
    • HPC Performance Lab
    • Atomic Structure Simulation Lab
    • NHR PerfLab Seminar
    • Projects
    • Awards
    Portal Research
  • Teaching & Training
    • Lectures and Seminars
    • Tutorials & Courses
    • Theses
    • HPC Café
    • Student Cluster Competition
    Portal Teaching & Training
  • Systems & Services
    • Systems, Documentation & Instructions
    • Support & Contact
    • Training Resources
    • Summary of System Utilization
    Portal Systems & Services
  • FAQ

  1. Home
  2. Systems & Services
  3. Systems, Documentation & Instructions
  4. Special applications, and tips & tricks
  5. Matlab

Matlab

In page navigation: Systems & Services
  • Systems, Documentation & Instructions
    • Getting started with HPC
      • NHR@FAU HPC-Portal Usage
    • Job monitoring with ClusterCockpit
    • NHR application rules – NHR@FAU
    • HPC clusters & systems
      • Dialog server
      • Alex GPGPU cluster (NHR+Tier3)
      • Fritz parallel cluster (NHR+Tier3)
      • Meggie parallel cluster (Tier3)
      • Emmy parallel cluster (Tier3)
      • Woody(-old) throughput cluster (Tier3)
      • Woody throughput cluster (Tier3)
      • TinyFat cluster (Tier3)
      • TinyGPU cluster (Tier3)
      • Test cluster
      • Jupyterhub
    • SSH – Secure Shell access to HPC systems
    • File systems
    • Batch Processing
      • Job script examples – Slurm
      • Advanced topics Slurm
    • Software environment
    • Special applications, and tips & tricks
      • Amber/AmberTools
      • ANSYS CFX
      • ANSYS Fluent
      • ANSYS Mechanical
      • Continuous Integration / Gitlab Cx
        • Continuous Integration / One-way syncing of GitHub to Gitlab repositories
      • CP2K
      • CPMD
      • GROMACS
      • IMD
      • Intel MKL
      • LAMMPS
      • Matlab
      • NAMD
      • OpenFOAM
      • ORCA
      • Python and Jupyter
      • Quantum Espresso
      • R and R Studio
      • Spack package manager
      • STAR-CCM+
      • Tensorflow and PyTorch
      • TURBOMOLE
      • VASP
        • Request access to central VASP installation
      • Working with NVIDIA GPUs
      • WRF
  • Support & Contact
    • HPC Performance Lab
    • Atomic Structure Simulation Lab
  • HPC User Training
  • HPC System Utilization

Matlab

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 hpc-support@fau.de for activation.

Notes

  • 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

#!/bin/bash -l
#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

Further information

https://www.mathworks.com/help/matlab/

https://de.mathworks.com/matlabcentral/

Mentors

  • please volunteer!

 

Erlangen National High Performance Computing Center (NHR@FAU)
Martensstraße 1
91058 Erlangen
Germany
  • Imprint
  • Privacy
  • Accessibility
  • How to find us
Up