T3 NUO, Part 1.7, Interactive Jobs & 'run' Script

Interactive Jobs

  • Interactive jobs
  • For running computational code/processes interactively on a compute node
  • For example
  • srun -p compute --qos debug -N 1 --ntasks-per-node=28 --pty bash

[charlie@t3-login1 ~]$ srun -p compute --qos debug -N 1 --ntasks-per-node=28 --pty bash

[charlie@compute-1-18-2 ~]$ squeue -u charlie
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)
            301382   compute     bash  charlie  R       0:08      1 compute-1-18-2

[charlie@compute-1-18-2 ~]$ python test.py

The 'run' Script

Talon provides an automatic-submission process for popular applications

  • module load default-environment
  • run –h
    • Shows usage
  • Run –p gaussian –n 1 –c 28 –q general –i test.com
    • Program: gaussian
    • Number of nodes: 1
    • Number of cores: 28
    • QOS: general
    • Input file name: test.com