Changes between Version 16 and Version 17 of cypress/Matlab


Ignore:
Timestamp:
10/15/25 13:36:45 (7 hours ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/Matlab

    v16 v17  
    44plotting of functions and data, implementation of algorithms, and creation of user interfaces.
    55
    6 You can run your Matlab codes on Cypress clusters but you can't use GUI(Graphical User Interface) on computing nodes.
     6You can run your MATLAB codes on Cypress clusters, but you can't use the GUI(Graphical User Interface) on computing nodes.
    77
    88
     
    4848
    4949=== Running MATLAB interactively with GUI ===
    50 If you have x-window environment on the local machine, you can forward the Matlab GUI window from Cypress to your local screen.
     50If you have an X-Windows environment on the local machine, you can forward the MATLAB GUI window from Cypress to your local screen.
    5151See [[cypress/SshUsage#TunnelingXWindowsSessionviaSSH | X-window forwarding]].
    5252
    53 1. Login to Cypress with X-window forwarding.
     531. Log in to Cypress with X-window forwarding.
    5454{{{
    5555ssh -Y userID@cypress.tulane.edu
     
    6363module load matlab
    6464}}}
    65 4. Run Matlab
     654. Run MATLAB
    6666{{{
    6767matlab &
     
    8585matlab -nodesktop -nodisplay -nosplash < mymatlabprog.m
    8686}}}
    87 
     87or
     88{{{
     89matlab -nodesktop -nodisplay -nosplash -r "mymatlabprog; exit;"
     90}}}
    8891
    8992See [https://wiki.hpc.tulane.edu/trac/wiki/cypress/Matlab#CompiledMatlab]
     
    140143MATLAB supports multithreaded computation for a number of functions and expressions that are combinations of element-wise functions.
    141144These functions automatically execute on multiple threads if data size is large enough.
    142 Note that on Cypress, in default, MATLAB runs with a single threads, and you have to explicitly specify the number of threads in your code.
     145Note that on Cypress, by default, ~~~MATLAB runs with a single threads~~~, '''MATLAB utilizes the maximum number of cores, regardless of the number requested''', and therefore, you have to explicitly specify the number of threads in your code.
    143146For example,
    144147{{{#!matlab