#!/bin/bash #SBATCH --job-name="atest" #SBATCH --nodes=1 #SBATCH --ntasks-per-node=8 #SBATCH --time=00:02:00 #SBATCH -o stdout.%j #SBATCH -e stderr.%j #SBATCH --export=ALL #---------------------- cd $SLURM_SUBMIT_DIR date srun -n 8 sleep 30 date ls this_file_does_not_exist srun -n 8 /opt/utility/phostname -F