I want to print the following variables to the standard output file slurm-XXXXX.out
produced by Slurm. Right now, I am generating a separate .info
file for every job.
echo "SLURM Job ID : ${SLURM_JOB_ID}" >> $SLURM_SUBMIT_DIR/$jobName.$JOBID.info
echo "SLURM Job name : ${SLURM_JOB_NAME}" >> $SLURM_SUBMIT_DIR/$jobName.$JOBID.info
echo "SLURM Node list : ${SLURM_JOB_NODELIST}" >> $SLURM_SUBMIT_DIR/$jobName.$JOBID.info
Thanks.