Lesson 5: Submitting Interactive Jobs¶
To submit an interactive job, run the qlogin
command (optionally with
job resources). Let's submit an interactive job with the default
resources and run the date
and hostname
commands:
[USERNAME@login-01 ~]$ qlogin
Your job 1235 ("QLOGIN") has been submitted
waiting for interactive job to be scheduled ...
Your interactive job 1235 has been successfully scheduled.
Establishing builtin session to host ddy51.apocrita ...
[USERNAME@ddy51 ~]$ date
Thu Jul 26 16:23:51 BST 2024
[USERNAME@ddy51 ~]$ hostname
ddy51
The scheduler selected compute node 'ddy51' to run our interactive job (JID 1235); compute nodes are selected during a scheduling run and may differ per submission.
To end the interactive job, run either the exit
or logout
command.
[USERNAME@ddy51 ~]$ exit
logout
[USERNAME@login-01 ~]$