User`s guide

Program Independent Jobs for a Supported Scheduler
7-9
where MATLAB is accessed and many other cluster properties. The exact properties are
determined by the type of cluster.
The step in this section all assume the profile with the name MyProfile identifies the
cluster you want to use, with all necessary property settings. With the proper use of a
profile, the rest of the programming is the same, regardless of cluster type. After you
define or import your profile, you can set it as the default profile in the Profile Manager
GUI, or with the command:
parallel.defaultClusterProfile('MyProfile')
A few notes regarding different cluster types and their properties:
Notes In a shared file system, all nodes require access to the folder specified in the
cluster object's JobStorageLocation property.
Because Windows HPC Server requires a shared file system, all nodes require access to
the folder specified in the cluster object's JobStorageLocation property.
In a shared file system, MATLAB clients on many computers can access the same job
data on the network. Properties of a particular job or task should be set from only one
client computer at a time.
When you use an LSF scheduler in a nonshared file system, the scheduler might report
that a job is in the finished state even though the LSF scheduler might not yet have
completed transferring the job’s files.
Find a Cluster
You use the parcluster function to identify a cluster and to create an object
representing the cluster in your local MATLAB session.
To find a specific cluster, user the cluster profile to match the properties of the cluster
you want to use. In this example, MyProfile is the name of the profile that defines the
specific cluster.
c = parcluster('MyProfile');
MJS Cluster
Properties
Name: my_mjs
Profile: MyProfile