Linux Slurm

Screen command

screen -S yourname # Create a new session called "yourname"
screen -ls         # list all current sessions
scree -r yourname  # return to the "yourname" session
screen -d yourname # detach "yourname" session

Salloc command

salloc -p fat -N 1 -n 32 --gres=dcu:4 -t=168:00:00

# generate MPI needed machine file
srun hostname -s | sort -n > slurm.hosts
mpirun -np 32 -machinefile slurm.hosts hostname
Linyuan Shi
Linyuan Shi
Lecturer

My research interests include non-equilibrium reactive molecular dynamics simulation and first principles computation.