-
Notifications
You must be signed in to change notification settings - Fork 6
Job Interactive
George Mihaila edited this page Oct 2, 2018
·
1 revision
Interactive job sessions can be used on Talon if you need to compile or test software. An example command of starting an interactive sessions is shown below:
$ srun -p public --qos general -N 1 --pty bash
This launches an interactive job session and lanches a bash shell to a compute node. From there, you can execute software and shell commands that would otherwise not be allowed on the Talon login nodes.
You can use same Slurm Commands:
-p public
-J job_name
-o output_name.o%j
-e error_name.e%j
-
Defines the Quality of Service (QOS) the job will be executed. Options to use: (debug, general, large)
- debug - 2 hour and 2 node limit with high priority
- general - 72 hour and 560 CPU cores limit with default partition
- large - limit to 20 nodes, unlimited hours, allow exclusive jobs and low priority
--qos general
-n 84
-N 3
--ntasks-per-node 28
-
Requests the c6320 compute nodes. (Also can request r420, r720, and r730 compute nodes). More Info
-C c6320
-
- node gets allocated begins:
--mail-type=begin
- node gets released finishes:
--mail-type=end
- or both:
--mail-type=ALL
--gres=gpu: NUM_GPUS
Find out your node name:
$ squeue -u euid123
$NODE_NAME can be seen under NODELIST column
To login your node:
slogin $NODE_NAME
Find out your job id:
$ squeue -u euid123
$JOB_ID can be seen under JOBID column
$ scontrol show job $JOB_ID
$ scancel $JOB_ID
$ scontrol hold $JOB_ID
$ scontrol release $JOB_ID
$ srun -p public --qos general [email protected] --mail-type=ALL -N 1 --pty bash