[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] How to use condor_chirp?
- Date: Tue, 15 Mar 2016 07:23:42 -0400
- From: Brian Bockelman <bbockelm@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] How to use condor_chirp?
Two things to note:
1) "condor_chirp set_job_attrâ requires +WantIOProxy=true in the classad. This updates the ClassAd immediately in the schedd - which can be a scalability concern.
2) âcondor_chirp set_job_attr_delayedâ works by default. However, it only sends the attribute in the next scheduled ClassAd update (for CPU and memory usage); thereâs less scalability concern. Additionally, attributes set with this command must start with the prefix âChirpâ (case-sensitive).
Can you give some background on what youâre trying to accomplish?
> On Mar 14, 2016, at 12:44 PM, Thomas Hartmann <thomas.hartmann@xxxxxxx> wrote:
> Hi all,
> I would like to inject some system information into jobs' ClassAds.
> As I understand condor_chirp, I cannot inject/manipulate ClassAds on a
> worker for a running job, but only during submission. (I assume, that
> ~/.job.ad is where a job keeps its ClassAds  -- but can I inject it
> from outside the job 'properly'?)
> We get our grid jobs currently via an ARC-CE so I suppose the best place
> would be there (where?) to enable the communication token by appending
> +WantIOProxy = TRUE
> to job submissions scripts, or?
> I am not sure, where to actually call condor_chirp on the worker?
> My best guess is so far, to find the template for the job wrappers, i.e.,
> and chirp from it, or? Probably starting a separate thread for updating
> changing ClassAds.
> Would that be reasonable or is there a better way?
> Where would I find the wrapper for condor_exec.exe?
> Cheers and thanks,
>> cat /proc/`ps axf | grep "/bin/bash -l /var/lib/condor/execute/dir" |
> tail -n1 | cut -d " " -f 2`/environ | tr '\0' '\n' | grep "_CONDOR_JOB_AD"
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> The archives can be found at: