Matlab parallel pool cannot connect

Category: 
Resolution: 
Resolved
Affected Software: 

In some cases, matlab would hang with connecting to parallel pool on Pitzer. This was discovered in the 2026 January downtime. In order to mitigate this we have introduced the "current" parallel profile

Under the "hpc" profile, matlab will generate a new slurm job for parfor loops and the like. This means that one can request a single core matlab OnDemand job, and generate jobs for calculations separate from the OnDemand job

In the "current" profile, this is no longer the case. The resources available to matlab are the same as the OnDemand job. So if you intend to run a 30 core job, please request 30 cores in the OnDemand job, and request enough time to complete the calculation

The "current" profile requires the user to run the command "createCurrentProfile" before the calculation to regenerate the profile based on the current resources available in the job