--pty
to allocate an interactive Bash. Select the "debug" partition with option -p, --partition
, and target the interactive login node (e.g. lxbk0001) with option -w, --nodelist
as execution node.
» srun --partition debug --nodelist lxbk0001 --pty bash » env | grep SLURM […] SLURM_NODELIST=lxbk0001 SLURM_JOB_NAME=/bin/bash SLURMD_NODENAME=lxbk0001 SLURM_SUBMIT_HOST=lxbk0001 […]