runJOB.sh 390 B

1234567891011
  1. #!/bin/bash
  2. #
  3. # splitting the all.jobs file according to node distribution
  4. # in the PWD numbered files [1 -> splits] are created and deleted after
  5. JOBFILE=code/all.jobs
  6. splits=FIXME
  7. parallel -j${splits} --block -1 -a $JOBFILE --header : --pipepart 'cat > {#}'
  8. # submitting independent SLURM jobs for efficiency and robustness
  9. parallel 'sbatch code/catpart.sbatch {}' ::: $(seq ${splits})