Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Specifying sequential input files
- Date: Wed, 16 Oct 2013 13:12:21 -0500
- From: Daniel Forrest <dan.forrest@xxxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Specifying sequential input files
Fred,
> I want to use the queue command to submit multiple jobs with sequentially
> numbered input files. The catch is that the numbers in the files are padded
> with zeros: input_0001.txt, input_0002.txt, ... I see from the example that I
> can get input files named input_1.txt, input_2.txt, ... using this statement:
>
> Input = input_%(Process).txt
>
> Any help doing this would be appreciated.
This does the full range 0001-9999.
# 0000
Input = /dev/null
Queue 1
# 0001 - 0009
Input = input_000%(Process).txt
Queue 9
# 0010 - 0099
Input = input_00%(Process).txt
Queue 90
# 0100 - 0999
Input = input_0%(Process).txt
Queue 900
# 1000 - 9999
Input = input_%(Process).txt
Queue 9000
--
Dan