Torque Scheduler
This section describes the use of Torque scheduler with the MATLAB Distributed Computing Engine (MDCE).
- Using the Parallel toolbox, either you need to configure a Torque scheduler or use an existing configuration.
- To do this go to: Parallel -> Manage Configurations
- This will open the Configurations Manager window with a list of existing scheduler configurations along with
their name, type, description and default selection.
- If there is already one of type "torque", you can select it as the default one. You can also double-click on the selection
to see its properties and make any desired modifications.
- In order to create a new configuration follow: File -> New in the Configurations Manager window and select "torque"
- Use the name and description of the configuration according to your choice.
- Settings of the necessary parameter values are as follows:
- Root Directory for MATLAB installation for workers (ClusterMatlabRoot) should be set as : /share/apps/matlab
- DataLocation should be set as the directory where you want to transfer all the output and error messages.
- The field "HasSharedFilesystem" has to be set to "True"
- Resource list parameters can be set according to the requirement.
For example, if 8 cluster nodes are desired to be used
by the scheduler this field may be set as : -l nodes=8
- The other fields may be left empty.
- Once this is done, we can set this configuration as the default one.
|