How do I run an interactive job?

A: Use an interactive job for compilation and debugging your programs. Use the option -interactive to the condor_submit command. Upon the start of an interactive job, you get a shell prompt on an assigned worker node. All input to the job is from your terminal session. The interactive job terminates on exiting the session.

[username@ui ~]$ condor_submit -interactive normal_job_submission_file
Submitting job(s).
1 job(s) submitted to cluster 1234567.
Waiting for job to start...
Welcome to slot1@wn01.farm.particle.cz!
[username@wn01]$

[username@wn01]$ ... commands ...

[username@wn01]$ exit
logout
Connection to condor-job.wn01.farm.particle.cz closed.
[username@ui ~]$

Note: For interactive jobs with execution time under a default 20 minutes limit you can also use:

condor_submit -interactive request_cpus=1 request_memory=500M
Přejít nahoru