Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sun Grid Engine finished job info

Is there a way to list the node which executed a Sun Grid Engine job using qstat or other SGE commands?

I have to get this information using a python script. I have figured out how to execute SGE commands from python but I didn't find the solution to list the execution node for a particular job. I have tried to list finished jobs using

qstat -s z -f -F

but the name of the host which executed the job dosen't appear in this list. Anyone could help me please?

like image 918
sc3w Avatar asked Mar 31 '14 18:03

sc3w


People also ask

Is Sun Grid Engine free?

SGE overview SGE is a batch-queuing system; it is not grid middleware. SGE is an open-source community effort. It is free to download and use. Some features of SGE are introduced in this section below.

What is QRSH?

Qrsh is similar to qlogin in that it submits an interactive job to the queuing system. It uses the current terminal for user I/O. Usually, qrsh establishes a rsh(1) connection with the remote host. If no command is given to qrsh, an rlo- gin(1) session is established.

What is QSUB command?

The qsub command is used to submit jobs to the queue. job, as previously mentioned, is a program or task that may be assigned to run on a cluster system. qsub command is itself simple, however, it to actually run your desired program may be a bit tricky. is because qsub, when used as designed, will only run scripts.


1 Answers

If you have your job id

qacct -j {job id}

Otherwise you can list recents jobs

qacct -j -b {YYYYMMDDHHmm}

The node that executed the job is the value under the key "hostname".

like image 188
Finch_Powers Avatar answered Sep 28 '22 07:09

Finch_Powers