[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Show host where job is running in condor_q and condor_watch_q ?



If you are using the latest version (10.5 or later), then the log file that condor_watch_q reads has both the slot name and some GPU information, so it should be possible to enhance condor_watch_q to show this information. 

 

And since condor_watch_q is python, you can change it in the field.

If you come up with something you are pleased with,  I’d like to encourage you to submit a pull request.

 

-tj

 

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Russell Smithies
Sent: Tuesday, August 8, 2023 12:15 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Show host where job is running in condor_q and condor_watch_q ?

 

Is it possible to display the hostname where the job is running when using condor_q or condor_watch_q?

Ideally I'd like to see which GPU it's running on as well but I'd settle for the hostname  :-)

I've tried '-autoformat ' and I get some of what I want but I’m not sure if I need to add some custom attributes?

 

muthur$ condor_q  -autoformat Owner ClusterId RemoteHost AssignedGPUs JobStatus

rsmithies 315 slot1@kscprod-data3 GPU-5f846c33 2

rsmithies 316 slot2@kscprod-data3 GPU-c60861f1 2

rsmithies 317 slot1@kscprod-data2 GPU-387fd653 2

rsmithies 318 slot2@kscprod-data2 GPU-4f372461 2

rsmithies 319 undefined undefined 1

rsmithies 320 undefined undefined 1

rsmithies 321 undefined undefined 1

rsmithies 322 undefined undefined 1

 

 

If you’re considering further enhancements for GPUs I’d be happy to test  :-)

 

 

-- Russell

 

This email has been filtered by SMX. For more information visit smxemail.com