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

Re: [HTCondor-users] how does one get the filename automatically in condor?



Use the “include command :” directive. You will probably need to run an in-line or external shell script to echo a submit key-value pair, such as:

DynamicFilename = my_input.txt

Ideally the command should put a double dash as the last line of its output, since that signals the end of the values. That’s then available as $(DynamicFilename) in the rest of the submission. 

-Michael Pelletier. 


From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of brando.science@xxxxxxxxx <brando.science@xxxxxxxxx>
Sent: Monday, February 15, 2021 2:05:09 PM
To: htcondor-users@xxxxxxxxxxx <htcondor-users@xxxxxxxxxxx>
Subject: [External] [HTCondor-users] how does one get the filename automatically in condor?
 
Hi,

I want to get the filename without hardcoding it in my submission script. How do I do that?

Thanks, Brando

SO: https://stackoverflow.com/questions/66181036/make-current-file-the-extension-with-condor-match-output-error-files-to-ha