Main Content

Choose Solution to Install and Configure MATLAB Parallel Server

Consult the following tables and flow chart for help with the most common tasks while setting up MATLAB® Parallel Server™. The tables and flow chart instruct you how to activate the MATLAB Parallel Server license, configure a MATLAB client, and upgrade MATLAB Parallel Server:

Activate the License for, Install, and Configure MATLAB Parallel Server on the Cluster

Consult the following table and flow chart if you and you want to install and configure MATLAB Parallel Server on the cluster.

ScenarioSolution
You have an existing scheduler in your cluster.You have a Slurm scheduler in your cluster.Follow Install MATLAB Parallel Server for Slurm.

You have one of the following schedulers in your cluster:

  • LSF®

  • PBS Pro® and OpenPBS

  • Torque

  • Grid Engine

  • Microsoft® HPC Pack and Windows® HPC Server

  • HTCondor

  • Hadoop®

  • Spark™

  • All other third-party schedulers

Follow Install MATLAB Parallel Server for Other Third-Party Schedulers.
You do not have an existing scheduler in your cluster.You want to manage licensing of your cluster users on-premises.Set up the MATLAB Job Scheduler, which comes with MATLAB Parallel Server. Follow Install for MATLAB Job Scheduler with Network License Manager.
You want to use MathWorks® online licensing for your cluster users.Set up the MATLAB Job Scheduler, which comes with MATLAB Parallel Server. Follow Install for MATLAB Job Scheduler with Online Licensing.

Flow chart that shows the choices in the preceding table

Configure a MATLAB Client for a User to Submit Jobs to the Cluster

Consult the following table if you already have a cluster configured and you want to configure a new MATLAB client to submit jobs to the cluster.

ScenarioSolution

The cluster uses a third-party scheduler and the scheduler has out-of-the-box support in MATLAB. Schedulers with out-of-the-box support are:

  • Microsoft HPC Pack and Windows HPC Server

  • Slurm

  • LSF

  • Torque

  • PBS Pro and OpenPBS

  • Grid Engine

  • HTCondor

See Install Software on Local Desktop. Then follow the instructions for your setup:

The cluster is a Spark cluster.

Start from Configure for Spark Clusters.

The cluster is a Hadoop cluster.

Start from Configure for Hadoop Clusters.

The cluster uses a third-party scheduler and the scheduler does not have out-of-the-box support in MATLAB.

Follow Configure Using the Generic Scheduler Interface.
The cluster uses the MATLAB Job Scheduler.

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 the following table if you want to configure a new release of MATLAB Parallel Server.

ScenarioSolution
The cluster uses a third-party scheduler.

Follow Install MATLAB Parallel Server for Other Third-Party Schedulers to:

  • Activate and install the new version of MATLAB Parallel Server on the cluster.

  • Configure the cluster and client machines.

The cluster uses the 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 the MATLAB Job Scheduler. For more information, see Use Multiple MATLAB Parallel Server Releases in Cluster. For help with activation, installation, and configuration, consult the table in Activate the License for, Install, and Configure MATLAB Parallel Server on the Cluster.