Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

> scontrol release JOB_ID.


  • Jobs in interactive mode: launching the program with srun but it remains stuck

After creating an interactive job with srun command

    srun -N 1 -n X ... --pty /bin/bash

if I launch my job with srun

    srun -n X program

the command remains stuck and nothing happens.

This is because the resources requested with the second srun are already allocated for the first srun and the command remains stuck waiting for the resources to be freed.
There are two possible solutions:

  1.  create the interactive job with salloc instead of srun
    salloc -N 1 -n X
    please refer to this page with more details about how to use salloc.
  2. launch the second command with the flag --overlap
    srun -n X --overlap program

Performance:

  • I have found performance problems, what should I do?

...