Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Use of "Target.Machine" with wildcard
- Date: Mon, 28 Nov 2022 11:55:29 +0100 (CET)
- From: "Beyer, Christoph" <christoph.beyer@xxxxxxx>
- Subject: Re: [HTCondor-users] Use of "Target.Machine" with wildcard
Hi Benoit,
I think the regex function might be your friend here:
requirements = regexp("my machine string", Machine)
best
christoph
--
Christoph Beyer
DESY Hamburg
IT-Department
Notkestr. 85
Building 02b, Room 009
22607 Hamburg
phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx
----- UrsprÃngliche Mail -----
Von: "Benoit Roland" <benoit.roland@xxxxxxx>
An: "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
Gesendet: Montag, 28. November 2022 11:45:52
Betreff: [HTCondor-users] Use of "Target.Machine" with wildcard
Dear all,
for test purpose, I want to specify the target machine in my jdl file.
This is working fine when I know exactly the name of the target machine:
requirements = Target.Machine =?= "target_machine_name".
I would like to specify as well only part of the name of the target machine.
I tried with wildcard:
requirements = Target.Machine =?= "*target*"
but this was not successful.
Is there a way to achieve this?
Thanks a lot in advance for your help!
Best wishes
Benoit
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/