Changes between Version 5 and Version 6 of Matlab-Slurm
- Timestamp:
- 07/12/22 19:20:31 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Matlab-Slurm
v5 v6 51 51 See [https://www.mathworks.com/help/matlab/ref/userpath.html here] to view or change default user work folder on MATLAB. 52 52 53 54 > ***If your local Matlab version is newer than 2020a, you need to modify 'configCluster.m' file.*** 55 > 56 > {{{ 57 > % The version of MATLAB being supported 58 > release = ['R' version('-release')]; 59 > release = 'R2020a' # force to r2020a 60 > }}} 61 53 62 ==== Run the configCluster.m Script to Create a Cluster Profile ==== 54 63 Configure MATLAB to run parallel jobs on your cluster by calling '''configCluster'''. This only needs to be called '''once''' per version of MATLAB. … … 152 161 >> p.delete 153 162 }}} 163 164 *** If you get a pop-up window 'Use identity file to login to cypress.tulane.edu', press 'NO' *** 165 154 166 155 167 == INDEPENDENT BATCH JOB == … … 257 269 }}} 258 270 259 === Running Parallel Job == 271 === Running Parallel Job === 260 272 Users can also submit parallel workflows with the batch command. Let’s use the following example for a parallel job, which is saved as {{{parallel_example.m}}} that uses the '''parfor''' statement to parallelize the '''for''' loop 261 273