Interactive jobsΒΆ

To write, develop and test your script, you may use an interactive session under UGE. To access an interactive session, use the following command:

% qlogin [options]

To know the available options please refer to the page Submit a job. For example, to declare access to SPS storage, 1 h of CPU time, 1 GB of memory and disk space:

% qlogin -P my_project -l sps=1,s_fsize=1G,s_cpu=1:00:00,s_rss=1G

You will be connected directly to a computing server, and your interactive session will be managed as a job. You will also have a job ID as for other types of jobs:

Your job 6043392 ("QLOGIN") has been submitted

Sometimes you will have to wait if the resources are not available:

% qlogin -P P_ccin2p3 -l sps=1, s_fsize=1G, s_cpu=1:00:00, s_rss=1G
JSV "/opt/sge/util/resources/jsv/corebinding.jsv" has been started
JSV "/opt/sge/util/resources/jsv/corebinding.jsv" has been stopped
Your job 20803181 ("QLOGIN") has been submitted
waiting for interactive job to be scheduled ... timeout (3 sec) expired while waiting on socket fd 6
Your interactive job 20803181 has been successfully scheduled.
Establishing / usr / bin / qlogin_wrapper session to host ...
The authenticity of the host []: 39284 ([]: 39284) 'can not be established.
ECDSA key fingerprint is SHA256: VfqQTM + At5G / cBDQ7a3Q6eVR0eeVhHC1Rw0QzFMHezo.
ECDSA key fingerprint is MD5: f8: 32: 17: 3c: 46: 28: d8: 64: f7: 22: 55: 2a: 4b: ce: e9: d2.
Are you sure you want to continue connecting (yes / no)? yes
Warning: Permanently added '[]: 39284, []: 39284' (ECDSA) to the list of known hosts.'s password:

Once connected, you will have access to a local folder assigned to your job, defined by the TMPDIR variable:

% cd /scratch/20803181.1.interactive/

To end the session, type exit. The session will also end if the requested CPU time is exceeded.

You have two types of interactive queues at your disposal with no access restriction:

  • interactive is the default queue, it is not necessary to declare it.

  • mc_interactive is intended for multi-core jobs, to declare with the -q option:

    % qlogin -pe multicores <number_of_cores> -q mc_interactive

To know the queues limits please refer to the page Information on scheduling queues. For the multicore options, see also the page Multi-core jobs.