How to use MatLab on Seawulf

This KB Article References: High Performance Computing
This Information is Intended for: Instructors, Researchers, Staff
Created: 03/03/2017 Last Updated: 05/15/2024

Matlab

Various versions of MatLab available interactively through GUI interfaces on SeaWulf. To see which versions of MatLab are available on SeaWulf, you may enter the following command:

module avail | grep matlab

To use the Matlab GUI, you must have X11 installed on your local machine. For more on using X11 on SeaWulf, see Logging in.

 

Interactive Matlab

To use Matlab interactively load the Slurm module and start an interactive session using whichever queue best suits your needs:

module load slurm
salloc -N 1 --ntasks-per-node=28 -p short-28core 
ssh -X $SLURM_NODELIST

After your interactive session begins, use the following commands to setup the Matlab environment:

module load matlab/2021a

Then launch matlab and use as desired by simply typing matlab into the interactive shell:

matlab

For More Information Contact


IACS Support System

Still Need Help? The best way to report your issue or make a request is by submitting a ticket.

Request Access or Report an Issue