runtraj.execution.slurm.submit_array#
- runtraj.execution.slurm.submit_array(project, pending, execution, skip_existing, compute_root)[source]#
Write a submission folder for pending releases, submit its job array, and return its job id and cluster.
The cluster is the one
sbatchsent the job to when it is not the default (clustersin the Slurm options), elseNone. When the met files are got first (runtraj.execution.runner._to_fetch()), the fetch job is submitted before the array, which waits for it, and cancelled ifsbatchrefuses the array.