MATLAB Issues
There is a critical, hard-to-diagnose MATLAB parpool bug in versions before R2022a.
The issue arises when using a parpool for multiple jobs simultaneously, as with an sbatch --array job. MATLAB parpool can be started manually, or at the first parfor loop encountered, among other functionality. See the MATLAB Documentation for more information and a complete list.