You need Artemis access before you can submit jobs to Artemis using your Matlab client.
Only Matlab R2017a or Matlab R2018a can submit Matlab jobs to Artemis, so you will need to install one of these two versions on your computer. The University of Sydney has a site license for Matlab and provides access to this license at no cost to Sydney University researchers. You can download and install Matlab from the Softserv website or Mathworks.
The Artemis cluster profile is a set of Matlab scripts provided by the University that tells your Matlab client how to submit jobs to Artemis. Follow these instructions to import the Artemis cluster profile into your Matlab client:
If you successfully imported the Artemis cluster profile, you should see a new cluster profile called Artemis in the Cluster Profile manager.
The imported Artemis cluster profile needs additional configuration before use. Follow the steps below to complete the configuration:
Project
to your abbreviated project name as specified in your RDMP.RemoteJobStorageLocation
to a directory on Artemis where you would like your job’s files to be stored. For information about Artemis storage, see the storage section of the Artemis user guide.Walltime
option to a value appropriate for your job. Walltime is the maximum amount of time your job will run on Artemis. If your job exceeds this walltime, it will be terminated and you will lose all unsaved progress. It is best to overestimate the walltime if you are unsure of how much you need.Mem
: the amount of RAM (memory) your job needs. It is best to allocate a few gigabytes more than you expect to use.Ngpus
: the number of GPUs required. The maximum you can request is two. Only use this option if you know your job can use GPUs.Queue
: the Artemis job queue your job will be placed in. If you are unsure of what these are, leave it blank. See the Artemis user guide for information about Artemis queues.AdditionalSubmitArgs
: Additional PBS options for your submitted job.Matlab cannot submit jobs to the scavenger queue. Jobs submitted to scavenger will be rejected with an error. |
A sample Artemis cluster profile is shown below:
To ensure the Artemis cluster profile is working, run the Cluster profile Validation:
The Matlab R2017a cluster profile validation on Linux fails with a rather cryptic error about timezones and a script called datetime.m
. If you encounter this bug, you can either use Matlab R2018a, which has fixed this bug, or you can follow the below steps:
datetime.m
file. The path to datetime.m
is:MATLABROOT/toolbox/matlab/timefun/@datetime/datetime.m |
where MATLABROOT
is the directory where Matlab R2017a is installed on your computer.
2. Download the datetime_FIXED.m file by right-clicking the link and selecting "Save Link As..." (or equivalent for your web browser version) and rename it to datetime.m
.
3. Copy the datetime.m
file you just renamed in step 2 to:
MATLABROOT/toolbox/matlab/timefun/@datetime/datetime.m |