...
How can I get an Interactive Terminal?
Warning |
---|
We are experiencing problems with the shared partition with interactive jobs: srun will claim that it's waiting for resources, but in fact the allocation fails immediately. we have yet to experience the same issue with other partitions. Your batch jobs should continue to function correctly, however. |
use the srun command
Code Block |
---|
module load slurm srun -A shared -p shared -n 1 --pty /bin/bash |
...
Note that when you 'exit' the interactive session, it will relinquish the resources for someone else to use. This also means that if your terminal is disconnected (you turn your laptop off, loose network etc), then the Job will also terminate (similar to ssh).
...
How do I submit a Batch Job?
...