one-to-one dependency between two job arrays in SLURM
问题 The server just switched from CONDOR to SLURM, so I am learning and trying to translate my submission script to SLURM. My question is the following, I have two job arrays. The second is dependent on the first one. For the time being, I something like the following events1=$(sbatch --job-name=events --array=1-3 --output=z-events-%a.stdout myfirst.sh) jobid_events1=`echo ${events1} | sed -n -e 's/^.*job //p' ` echo "The job ID of the events is "${jobid_events1} postevents1=$(sbatch --job-name