Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

>> configCluster

 

Local Configuration

 

...

After having installed MATLAB to your workstation 

Configuring Jobs

Prior to submitting the job, various parameters have to be specified in order to be passed to jobs, such as queue, username, e-mail, etc. 

NOTE:  Any parameters specified using the below workflow will be persistent between MATLAB sessions.

Before specifying any parameters, you will need to obtain a handle to the cluster object.

>> % Get a handle to the cluster
>> c = parcluster;

You are required to specify an Account Name prior to submitting a job.

 

>> % Specify an Account to use for MATLAB jobs

>> c.AdditionalProperties.AccountName = ‘account_name’

 

You can specify other additional parameters along with your job.

 

>> % Specify a queue to use for MATLAB jobs

>> c.AdditionalProperties.QueueName = ‘queue’

 

>> % Specify e-mail address to receive notifications about your job

>> c.AdditionalProperties.EmailAddress = ‘test@foo.com

 

>> % Specify the walltime

>> c.AdditionalProperties.WallTime = '00:10:00'

 

>> % Specify processor cores per node.  Default is 16.

>> c.AdditionalProperties.ProcsPerNode = 8

 

 

 

 

To see the values of the current configuration options, call the specific AdditionalProperties name.

 

>> % To view current configurations

>> c.AdditionalProperties.QueueName

 

To clear a value, assign the property an empty value (‘’, [], or false).

>> % To clear a configuration that takes a string as input
>> c.AdditionalProperties.EmailAddress = ‘ ’

Serial Jobs

Parallel Jobs

Debugging

...