How do I submit a Matlab job to the batch cluster?

In order to run a matlab job on the RCE Batch Cluster, you must set a number of environment variables and run matlab in a command line mode. HMDC has developed a simple program to automate this process called submitMatlabBatch.sh.

To run your Matlab code as a batch job, open a terminal window in the RCE and type:

submitMatlabBatch.sh myfile.m

Simply supply the name of your matlab code file in place of myfile.m, and your code will run one iteration as a batch job.

Standard output from your job will be captured in the file condor_submit_util/myfile.m.condor.out .

Standard error messages will be captured in the file condor_submit_util/myfile.m.condor.err .

If you want to run more than one iteration of your job, run submitMatlabBatch.sh in interactive mode and you will be prompted for the number of iterations:

submitMatlabBatch.sh -I myfile.m