[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Submit file macros without condor_submit?
- Date: Wed, 27 Mar 2013 13:53:01 -0400 (EDT)
- From: Tim St Clair <tstclair@xxxxxxxxxx>
- Subject: Re: [HTCondor-users] Submit file macros without condor_submit?
maybe one should wrap bindings around submit.. ;-)
From: "Jordan Williamson" <jordan.williamson@xxxxxxxxxxx>
Sent: Wednesday, March 27, 2013 11:54:17 AM
Subject: [HTCondor-users] Submit file macros without condor_submit?
So it seems that you never realize how much condor_submit does for you until you don't use it anymore.
Having switched to almost exclusively using the python condor bindings, I'm trying to figure out a way to emulate using submit file macros (like "$(Process)") in the classads. When I was using the SOAP API, I created the jobs using a for loop, which allowed me to simply do a string replace for "$(Process)" and the process number from the loop. But now that I'm using the python bindings, I don't need to use a loop, which cuts the submit time down but also means I don't know the process ID for each process (and thus I can't use those macros).
I have figured out that I can get this same functionality manually by using the strcat function (e.g., ClassAd = strcat("I am process ",ProcessId)), but this solution is not acceptable considering the user interface we have. Worse case scenario, I could try doing some regex magic, but that seems inflexible at best.
Is a regex my only solution, or have I been missing something?
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: