MATLAB: How to use a nonshared file system with PBS Pro/Torque and Parallel Computing Toolbox

MATLAB

I have a PBS Pro/Torque cluster with MATLAB Distributing Computing Server. My Parallel Computing Toolbox clients do not share a filesystem with the cluster. I would like to know how to configure PCT to distribute work to the cluster.

Best Answer

Nonshared file systems are not supported by the direct PCT interface to these schedulers. However, the limitation can be worked around by using the generic scheduler interface. Some sample scripts for integration with 3rd party schedulers can be found in the following directory:
$MATLABROOT/toolbox/distcomp/examples/integration/pbs/nonshared
(where $MATLABROOT is the MATLAB folder on your machine)
Depending on your network and cluster configuration, you might need to modify these files before they will work in your setting. Ask your system administrator for help.
  • NOTE: Starting in R2019a the following name changes occurred:
  • MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
  • mdce_def was renamed to mjs_def
  • mdce binary was renamed to mjs