Last modified: September 07 2020.
Contact: hpchelp [at] iitd.ac.in

MATLAB

Steps for preparing and submitting your job

Please check the available modules by module avail apps/Matlab. You can load matlab module via:

Load any one module from the below:

module load apps/Matlab/r2016b/precompiled
module load apps/Matlab/r2017a/precompiled
module load apps/Matlab/r2017b/precompiled
for short jobs/runs you can run matlab gui via
matlab
command. long running jobs should be submitted via batch system a script file, example:
#!/bin/bash
#PBS -N jobname
#PBS -P department
#PBS -m bea
#PBS -M $USER@iitd.ac.in
#PBS -l select=1:ncpus=8
#PBS -l walltime=168:00:00
#PBS -l software=MATLAB
cd $PBS_O_WORKDIR
module load apps/Matlab/r2014b/gnu
time -p matlab -nosplash -nodisplay < myprogram.m > matlab.log
now submit the job using qsub command.

 

  • Now Matlab licenses(including all toolbox) are available on campus level so you will get the license for your job whenever it required.
  • Instructions and documentation for running parallel jobs on a single node, as well as across nodes are available here:
    Documentation for shared storage (on HPC)
    Documentation for remote submission
    Necessary scripts: Linux (tar.gz) Windows (zip)
  •