Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Macro substitutions in submit file - filenames?
- Date: Wed, 17 Sep 2014 11:41:35 -0400
- From: Ben Cotton <ben.cotton@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Macro substitutions in submit file - filenames?
On Wed, Sep 17, 2014 at 10:56 AM, R. Kent Wenger <wenger@xxxxxxxxxxx> wrote:
> If you don't need the +5, this will work, of course:
>
> log = cpubound_$(Cluster)_$(Process).log
If you do need the +5, you could add the following to your submit file:
noop_job = True
queue 5
noop_job = False
queue N
If the $(Process) is used somewhere your submit script apart from the
log, you should (based on my understanding of Kent's explanation) be
able to do something like:
Arguments = $$([$(Process)-5])
(My trivial test suggests this does work)
Thanks,
BC
--
Ben Cotton
main: 888.292.5320
Cycle Computing
Leader in Utility HPC Software
http://www.cyclecomputing.com
twitter: @cyclecomputing