Difference between revisions of "MATLAB"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
Run in textmode using: <code>matlab -nodesktop -nojvm -nosplash</code> | Run in textmode using: <code>matlab -nodesktop -nojvm -nosplash</code> | ||
+ | |||
+ | Example script: | ||
+ | <source lang="bash">#!/bin/bash | ||
+ | #PBS -V | ||
+ | #PBS -q fill | ||
+ | #PBS -l nodes=1:ppn=1 | ||
+ | #PBS -l pmem=3500mb | ||
+ | |||
+ | #### cd working directory (where you submitted your job) | ||
+ | cd ${PBS_O_WORKDIR} | ||
+ | |||
+ | #### Executable Line | ||
+ | matlab -nodesktop -nojvm -nosplash MYINPUTFILE.INP</source> |
Revision as of 20:27, 14 January 2019
MATLAB/Simulink is installed in /opt/MATLAB
. The license is active on all computing nodes.
To start MATLAB, type module load matlab/R2013a
or module load matlab/R2018a
depending on which version you want to run; just module load matlab
will provide the latest version available on the cluster. Then type matlab
command to start the Matlab environment.
Run in textmode using: matlab -nodesktop -nojvm -nosplash
Example script:
#!/bin/bash
#PBS -V
#PBS -q fill
#PBS -l nodes=1:ppn=1
#PBS -l pmem=3500mb
#### cd working directory (where you submitted your job)
cd ${PBS_O_WORKDIR}
#### Executable Line
matlab -nodesktop -nojvm -nosplash MYINPUTFILE.INP