User:Jgt/sandbox matlab: Difference between revisions
From HPC Wiki
< User:Jgt
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
{{Cmd | {{Cmd | ||
|srun -p float -n 2 --pty -t 03:00:00 bash | |||
|module load matlab | |module load matlab | ||
|matlab -nodesktop -nodisplay -nosplash | |matlab -nodesktop -nodisplay -nosplash | ||
| Line 48: | Line 49: | ||
=Interactive Session - GUI= | =Interactive Session - GUI= | ||
{{Cmd|ssh user@magnolia.usm.edu -X}} | |||
{{Cmd | {{Cmd | ||
|srun -p float -n 2 --pty --x11 -t 03:00:00 bash | |||
|module load matlab | |module load matlab | ||
| | |matlab | ||
}} | }} | ||
=Non-Interactive Batch Job= | =Non-Interactive Batch Job= | ||
Revision as of 13:22, 31 August 2018
Preliminaries
user $module keyword matlab
matlab/r2018a : plot math graphics matlab octave/4.2.1 : plot matlab octave
user $module load matlabuser $module load matlab/r2018auser $module list
Currently Loaded Modulefiles: 1) matlab/r2018a
Interactive Session - No GUI
user $srun -p float -n 2 --pty -t 03:00:00 bash
user $module load matlab
user $matlab -nodesktop -nodisplay -nosplash
< M A T L A B (R) >
Copyright 1984-2018 The MathWorks, Inc.
R2018a (9.4.0.813654) 64-bit (glnxa64)
February 23, 2018
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
>> disp('Hello, World!')
Hello, World!
>> helloWorld
Hello, World!
Interactive Session - GUI
user $ssh user@magnolia.usm.edu -Xuser $srun -p float -n 2 --pty --x11 -t 03:00:00 bash
user $module load matlab
user $matlab