Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doku:slurm_interactive [2015/06/09 13:07] irdoku:slurm_interactive [2023/03/14 12:57] (current) goldenberg
Line 8: Line 8:
 It is also possible specifying the desired QOS and partition It is also possible specifying the desired QOS and partition
 <code> <code>
-salloc -N 2 --qos=admin_0128 --partition=mem_0128+salloc -N 2 --qos=skylake_0096_devel --partition=skylake_0096
 </code> </code>
 The command  The command 
Line 16: Line 16:
 returns the hostnames of the reserved compute nodes. After allocation of the compute nodes, SSH access to these nodes is possible, e.g., returns the hostnames of the reserved compute nodes. After allocation of the compute nodes, SSH access to these nodes is possible, e.g.,
 <code> <code>
-ssh n16-006   #     n16-006 has to be replaced by the hostname of the reserved nodes        +ssh n4908-006   #     n408-006 has to be replaced by the hostname of the reserved nodes         
 +</code> 
 +Logout from the compute node is achieved by typing ''exit'' in the shell of the compute node, however, the allocated node session is not terminated.  
 +To terminate the session, it is necessary to run 
 +<code> 
 +scancel <job_id>
 </code> </code>
-Logout from the compute node is achieved by typing ''exit'' in the shell of the compute node, however, the allocated node session is not terminated. 
  
 **Direct access on the compute nodes:** Alternatively, ''salloc'' can be used with the following options  **Direct access on the compute nodes:** Alternatively, ''salloc'' can be used with the following options 
 <code>salloc -N2 srun -n1 -N1 --cpu_bind=none --mem-per-cpu=0 --pty --preserve-env --mpi=none $SHELL</code> <code>salloc -N2 srun -n1 -N1 --cpu_bind=none --mem-per-cpu=0 --pty --preserve-env --mpi=none $SHELL</code>
 enabling that you directly have a session in one of the allocated nodes (no SSH needed any more).  enabling that you directly have a session in one of the allocated nodes (no SSH needed any more). 
-You can end the session by typing ''exit'' on the shell of the compute node. Here''exit'' also terminates the job.+You can end the session by typing ''exit'' on the shell of the compute node. Here ''exit'' also terminates the job. 
 + 
  • doku/slurm_interactive.1433855245.txt.gz
  • Last modified: 2015/06/09 13:07
  • by ir