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

Re: [HTCondor-users] tracking job hosts from classad



On 02/13/2015 01:43 PM, Marco Mambelli wrote:
Hi all,
I was wondering how I could track form the job classad where it ran

CurrentHosts - is the # of hosts
AllRemoteHosts - are all the nodes used by a MPI job (during the last execution)
RemoteHost -not documented-  is the current host (when running)
LastRemoteHost -not documented- is the last host where the job ran


Marco:

For serial jobs, you can use the submit file settings

job_machine_attrs Name

and

job_machine_attrs_history_length = 5

and condor will save the up to the last five values of Name in the ad, as

MachineAttrName0 = "foo"
MachineAttrName1 = "bar"
MachineAttrName2 = "baz"

but I don't know of a good way to do something similar for parallel jobs.

-Greg