Changes between Version 2 and Version 3 of Workshops/HowToRunMatlab2025October


Ignore:
Timestamp:
10/21/25 12:37:31 (3 days ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Workshops/HowToRunMatlab2025October

    v2 v3  
    99
    1010=== How to run a MATLAB code on Cypress ===
     11* [[cypress/Matlab| Motlan on Cypress]]
    1112* [[cypress/Matlab#RunningMATLABinteractively|Running Matlab interactively using idev]]
    12 {{{
    13 [fuji@cypress01-063 ~]$ matlab -nodisplay -nosplash
    14 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, 2015
    20 
    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 License
    27 
    28 >>
    29 }}}
    3013* [[cypress/Matlab#RunningMATLABinabatchmode|Running Matlab jobs using SLURM scripts]]
    31 {{{
    32 #!/bin/bash
    33 #SBATCH --qos=normal            # Quality of Service
    34 #SBATCH --job-name=matlab     # Job Name
    35 #SBATCH --time=24:00:00         # WallTime
    36 #SBATCH --nodes=1               # Number of Nodes
    37 #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 matlab
    41 matlab -nodesktop -nodisplay -nosplash < mymatlabprog.m
    42 }}}
    4314* [[cypress/Matlab#RunningMATLABinParallelwithMultithreads|Parallel Matlab]]
    44 
    4515* [[https://wiki.hpc.tulane.edu/trac/wiki/Matlab-Slurm | Submitting Jobs from MATLAB Command Window]]
    4616[[Image(https://docs.google.com/drawings/d/e/2PACX-1vTo_5IOHBbnAZbhvUUoEFcX3AMtZ8wC1GZXmdlfl-pFk-AQGW_V0SjXX8QojF6OmAeizyMMNslFQSyL/pub?w=755&h=200)]]