Torque so-called “interactive batch jobs” are supported by qsub -I
.
Interactive jobs will hang at the prompt until the resource is ready to run, so highly used resources may freeze your terminal for several days.
qsub -I -q q06h32c -l nodes=1:ppn=32:walltime=6:00:00
qsub -I -q tiny12core -l nodes=1:ppn=12:walltime=1:00:00
qsub -I -q qcondo -l nodes=1:ppn=32:m768gb:walltime=8:00:00
If you know the node numbers of the resources you want to use, you can look for probably immediately available resources using:
shownodes -l -n | grep Idle compute0804 Idle 24:24 gu 0.00 compute1102 Idle 12:12 rm 0.00 compute1103 Idle 12:12 rm 0.00 compute1105 Idle 12:12 rm 0.00 compute1106 Idle 12:12 rc 0.00 etc.