Changes

Jump to navigation Jump to search
This step only has to be performed once. Once imported, the profile will persist through multiple MATLAB runs. For each cluster the profile includes cluster settings for all available queues. The following commands, run on NOTS, will import the profiles and set Commons as the default:
configCluster
 
==Wall Time==
Specifying job time (walltime) is required before submitting a job via matlab and validating a cluster parallel profile. Here are two examples, please be as accurate as possible to minimize your wait time.
For example, set the walltime for one day and one hour:
 
ClusterInfo.setWallTime('1-01:00:00')
 
==Optimal use of the Cluster Configuration==
For performance and file quota reasons, please have your workspace in $SHARED_SCRATCH/your-userid/. In order to do this, you must first create a workspace directory and then modify your cluster configuration to use the new workspace configuration. To change the location for your default profile you can run something like the following in MATLAB:
 
workdir = [getenv('SHARED_SCRATCH') filesep getenv('USER') filesep 'MdcsDataLocation'];
mkdir(workdir);
pc = parcluster;
set(pc, 'JobStorageLocation', workdir);
p.saveProfile;
=Submitting jobs through Matlab PCT=
https://docs.rice.edu/confluence/display/CD/MATLAB+Parallel+Computing+Toolbox+testing+on+the+Shared+Computing+Clusters

Navigation menu