Main Content

Choose Solution to Install, Configure, and Upgrade MATLAB Parallel Server

Consult these tables for help with the most common tasks while setting up MATLAB® Parallel Server™. The tables instruct you how to install and license MATLAB Parallel Server, configure a MATLAB client, and upgrade MATLAB Parallel Server to a new release or update.

License and Install MATLAB Parallel Server on Your Cluster

Consult this table if you want to install and license MATLAB Parallel Server on your cluster.

ScenarioSolution

You do not have an existing cluster scheduler and you intend to run only MATLAB jobs.

You want to use a self-hosted network license manager for your cluster users.

You can manage MATLAB jobs on your cluster using MATLAB Job Scheduler, which is provided with MATLAB Parallel Server.

You want to use MathWorks® hosted online licensing for your cluster users.

You can manage MATLAB jobs on your cluster using MATLAB Job Scheduler, which comes with MATLAB Parallel Server.

You have an existing scheduler in your cluster.

You want to use a self-hosted network license manager for your cluster users.

You can integrate MATLAB Parallel Server to work with your existing scheduler using a plugin framework.

You want to use MathWorks hosted online licensing for your cluster users.

You can integrate MATLAB Parallel Server to work with your existing scheduler using a plugin framework.

Configure MATLAB for a User to Submit Jobs to the Cluster

Consult this table if you already have MATLAB Parallel Server integrated into your cluster and want to configure a new MATLAB client to submit jobs to that cluster. These instructions help you create a cluster profile on the new MATLAB client. A cluster profile defines how the MATLAB client connects to and interacts with the cluster.

Make sure that the MATLAB client release matches the MATLAB Parallel Server release on the cluster.

ScenarioSolution
The cluster uses MATLAB Job Scheduler.

If you have not yet installed MATLAB, see Install MATLAB to Submit Jobs. Then select one of these options:

The cluster uses a third-party scheduler. MATLAB supports these schedulers:

  • Slurm

  • LSF®

  • PBS Pro®, OpenPBS and Torque

  • Grid Engine

  • HTCondor

  • Microsoft® HPC Pack

  • Hadoop®

  • Spark™

  • If you have not yet installed MATLAB, see Install MATLAB to Submit Jobs.

  • If the cluster uses MathWorks hosted online licensing, verify with the license administrator that any users who submit jobs from the new MATLAB client are listed as Licensed End Users on the MATLAB Parallel Server license. To add a new user to the license, see Add End Users to License.

Next, to create a cluster profile, follow the instructions for your scheduler:

The cluster uses a third-party scheduler that is not supported in MATLAB.

Note

You can export a cluster profile and import it into another client machine. For more information, see Import and Export Cluster Profiles (Parallel Computing Toolbox). By importing a cluster profile, you can use the same configuration for another client machine without recreating the cluster profile manually.

Upgrade MATLAB Parallel Server

Consult this table if you want to upgrade your cluster to use a new release or update of MATLAB Parallel Server.

ScenarioSolution
The cluster uses MATLAB Job Scheduler.

  1. Stop the mjs service of the older release. For instructions, see Stop mjs Services of Old Installation.

  2. Install the new version of MATLAB Parallel Server on the cluster and configure MATLAB Job Scheduler. For instructions, see Install Software on Cluster Nodes.

    You can also set up your MATLAB Job Scheduler cluster to dynamically run jobs with different MATLAB releases. For more information, see Use Multiple MATLAB Parallel Server Releases in Cluster.

The cluster uses a third-party scheduler.

  • Install the new version of MATLAB Parallel Server on the cluster compute nodes. For instructions, see Install Software on Cluster Nodes.

  • Update the ClusterMatlabRoot property in the cluster profile on client computers to point to the new MATLAB Parallel Server installation location.

See Also

Topics