fmoyano@uni-goettingen_de
New Member
Hi all,
We're needing some help on how to make jobs (i.e. model runs) dependent on each other. We would like to submit e.g. a spinup run and a historical run so that the historical starts as soon as the spinup exits successfully.
We use slurm for jobs. The question is not how this is done in slurm ( --dependency=afterok:<job_id>) but how this option is set on a case by case basis in CESM/CTSM, where the -d option and job_id need to be passed.
Would using xlmchange to modify BATCH_COMMAND_FLAGS: be a solution or would this mess up the dependency already existing for case.st_archive?
Or maybe there is another way everyone is using but we have missed?
We are working with the latest ctsm
ctsm1.0.dev104
branch_tags/cime5.8.24_a01
cism2_1_68
mosart1_0_36
rtm1_0_71
sci.1.30.0_api.8.0.0
PTCLM2_20200121
Thanks,
Fernando
We're needing some help on how to make jobs (i.e. model runs) dependent on each other. We would like to submit e.g. a spinup run and a historical run so that the historical starts as soon as the spinup exits successfully.
We use slurm for jobs. The question is not how this is done in slurm ( --dependency=afterok:<job_id>) but how this option is set on a case by case basis in CESM/CTSM, where the -d option and job_id need to be passed.
Would using xlmchange to modify BATCH_COMMAND_FLAGS: be a solution or would this mess up the dependency already existing for case.st_archive?
Or maybe there is another way everyone is using but we have missed?
We are working with the latest ctsm
ctsm1.0.dev104
branch_tags/cime5.8.24_a01
cism2_1_68
mosart1_0_36
rtm1_0_71
sci.1.30.0_api.8.0.0
PTCLM2_20200121
Thanks,
Fernando