Changes between Version 26 and Version 27 of cypress/Matlab


Ignore:
Timestamp:
11/16/2026 04:45:33 PM (10 hours ago)
Author:
Carl Baribault
Comment:

Corrected/clarified worker count

Legend:

Unmodified
Added
Removed
Modified
  • cypress/Matlab

    v26 v27  
    220220
    221221==== Explicit parallelism ====
    222 The ''parallel computing toolbox'' is available on Cypress.
    223 You can use up to 12 workers for shared parallel operations on a single node in the current MATLAB version.
     222
     223The ''parallel computing toolbox'' is available on Cypress.
     224
     225===== Single node: worker count =====
     226
     227Within a single-node Slurm allocation, MATLAB can use up to the number of CPUs allocated to the job according to '''SLURM_JOB_CPUS_PER_NODE''', which is limited to 20 CPUs on Cypress compute nodes.
     228
     229Also, in versions r2017b, r2020a, and r2022b, the request for `parpool('local')` may default to 12 workers because of MATLAB’s '''preferred number of workers''' setting.
     230
     231Otherwise, you can request the allocated size explicitly, for example `parpool('local', 20)`, but do not request more workers than '''SLURM_JOB_CPUS_PER_NODE'''.
     232
     233===== Multiple nodes =====
     234
    224235Our license now includes MATLAB Distributed Computing Server, which means multi-node parallel operations are supported.
    225236