Changes between Version 1 and Version 2 of Workshops/HowToRunMatlab2025October


Ignore:
Timestamp:
10/16/25 16:58:09 (25 hours ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Workshops/HowToRunMatlab2025October

    v1 v2  
    88* [https://it.tulane.edu/matlab Matlab Tulane]
    99
    10 === How to run a Matlab code on Cypress ===
     10=== How to run a MATLAB code on Cypress ===
    1111* [[cypress/Matlab#RunningMATLABinteractively|Running Matlab interactively using idev]]
     12{{{
     13[fuji@cypress01-063 ~]$ matlab -nodisplay -nosplash
     14MATLAB 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
     22To get started, type one of these: helpwin, helpdesk, or demo.
     23For product information, visit www.mathworks.com.
     24
     25
     26        Academic License
     27
     28>>
     29}}}
    1230* [[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
     40module load matlab
     41matlab -nodesktop -nodisplay -nosplash < mymatlabprog.m
     42}}}
    1343* [[cypress/Matlab#RunningMATLABinParallelwithMultithreads|Parallel Matlab]]
     44
     45* [[https://wiki.hpc.tulane.edu/trac/wiki/Matlab-Slurm | Submitting Jobs from MATLAB Command Window]]
     46[[Image(https://docs.google.com/drawings/d/e/2PACX-1vTo_5IOHBbnAZbhvUUoEFcX3AMtZ8wC1GZXmdlfl-pFk-AQGW_V0SjXX8QojF6OmAeizyMMNslFQSyL/pub?w=755&h=200)]]