Changes between Version 2 and Version 3 of Workshops/HowToRunMatlab2025October
- Timestamp:
- 10/21/25 12:37:31 (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Workshops/HowToRunMatlab2025October
v2 v3 9 9 10 10 === How to run a MATLAB code on Cypress === 11 * [[cypress/Matlab| Motlan on Cypress]] 11 12 * [[cypress/Matlab#RunningMATLABinteractively|Running Matlab interactively using idev]] 12 {{{13 [fuji@cypress01-063 ~]$ matlab -nodisplay -nosplash14 MATLAB is selecting SOFTWARE OPENGL rendering.15 16 < M A T L A B (R) >17 Copyright 1984-2015 The MathWorks, Inc.18 R2015a (8.5.0.197613) 64-bit (glnxa64)19 February 12, 201520 21 22 To get started, type one of these: helpwin, helpdesk, or demo.23 For product information, visit www.mathworks.com.24 25 26 Academic License27 28 >>29 }}}30 13 * [[cypress/Matlab#RunningMATLABinabatchmode|Running Matlab jobs using SLURM scripts]] 31 {{{32 #!/bin/bash33 #SBATCH --qos=normal # Quality of Service34 #SBATCH --job-name=matlab # Job Name35 #SBATCH --time=24:00:00 # WallTime36 #SBATCH --nodes=1 # Number of Nodes37 #SBATCH --ntasks-per-node=1 # Number of tasks (MPI processes)38 #SBATCH --cpus-per-task=1 # Number of threads per task (OMP threads)39 40 module load matlab41 matlab -nodesktop -nodisplay -nosplash < mymatlabprog.m42 }}}43 14 * [[cypress/Matlab#RunningMATLABinParallelwithMultithreads|Parallel Matlab]] 44 45 15 * [[https://wiki.hpc.tulane.edu/trac/wiki/Matlab-Slurm | Submitting Jobs from MATLAB Command Window]] 46 16 [[Image(https://docs.google.com/drawings/d/e/2PACX-1vTo_5IOHBbnAZbhvUUoEFcX3AMtZ8wC1GZXmdlfl-pFk-AQGW_V0SjXX8QojF6OmAeizyMMNslFQSyL/pub?w=755&h=200)]]
