Open cemac-ccs opened 3 years ago
A script has been modified by @gyoung410 in her fork of this repo. The qsub command in the continuation script remains unchanged and so does not fully work - it still uses PBS syntax - however it shows some of the changes necessary.
For PBS systems (and in the forthcoming archer2 changes for slurm systems also), there is a continuation script in the monc/misc folder that contains running scripts for continuation jobs. These make use of dependency chains so that a job can be started after a previous job has completed, using the checkpoint of the previous job.
A similar script can be written for the arc4 sge systems, using the
--hold_jid
flag which does the same job as the slurm--dependency
flag.The job submission script used by @craigpoku had a function in it which checks for completed jobs as a way of providing this functionality. That and the
monc/misc/continuation.sh
script would be a good place to start. The relevant code is below: