If your software was compiled at the SL7 system and container (or apptainer) are not used, you need to add line to the job script :
#SBATCH —section=sl7
You can get and save the logfile.
To do this, add to the beginning of the script:
LOGFILE=$SLURM_SUBMIT_DIR/$SLURM_JOB_ID-final.log
#Current log file
CURLOG=$TMPDIR/$SLURM_JOB_ID.log
# Redirect stdout & strerr
exec > $CURLOG 2>&1
and at the end copy the log file:
rsync -aH $CURLOG $SLURM_SUBMIT_HOST:$LOGFILE # exit from exec exit 0