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

Re: [HTCondor-users] How to specify slot specific information into same machine class ad name?



Hi TJ,

On 2/11/25 16:36, John M Knoeller via HTCondor-users wrote:
To give a custom attribute *value*Âfor each slot type, you can do this

STARTD_ATTRS = $(STARTD_ATTRS) IDX
SLOT_TYPE_1_IDX = 1
SLOT_TYPE_2_IDX = 2
SLOT_TYPE_3_IDX = 3

that is awesome but I did not spot that this was possible by the documentation - I guess I skipped over the relevant parts again and again.

Straight forward and solves my immediate problem and is easily scriptable for automatic configuration!

And it is much more readable as the horrors I cam up in parallel, e.g.

arguments = "$$($(IDX))"

to be able to use a DAG variable which is then expanded and then used to retrieving the value from the machine class ad.

Thanks a bunch!

Carsten
--
Dr. Carsten Aulbert, Max Planck Institute for Gravitational Physics,
CallinstraÃe 38, 30167 Hannover, Germany, Phone +49 511 762 17185

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature