Interactive Job
Running commands interactively on a worker node in the cluster is often used to install, compile, and troubleshoot software. This cluster features an interactive partition intended to host interactive jobs - this partition is requested by including “-p interactive” in your job submission command. The srun command can be used to run a job on worker node that allows running multiple commands and seeing the output.
Run the following command to start an interactive job:
srun -p interactive --pty --account <GroupName> bash -iThen you can run multiple commands in your terminal.
To end the interactive job run the following command:
exitJobs scheduled on the interactive partition have a 24-hour time limit. While interactive sessions can be scheduled on the default partition (by omitting “-p interactive” from the submission command), any such interactive session on the default partition is not automatically time limited, and any such session found to be running longer than 24 hours is subject to administrative termination without prior notice.
Next Background Job