Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Condor-users] Condor submit file and process number
- Date: Wed, 4 Aug 2004 16:16:24 -0700
- From: "Jim P. Boughton" <jpb@xxxxxxxxxx>
- Subject: RE: [Condor-users] Condor submit file and process number
Thanks Gabriel,
I actually figured out how to do this in a simple manner.
I simply did two queues for the same job as follows
input=xxx5000$(Process)
Queue 10
input=xxx500$(Process)
Queue 990
It was the dead simple way to resolve the problem. It
just took a couple of days for me to think of it.
Thanks again,
Jim
-----Original Message-----
From: Gabriel Mateescu [mailto:gabriel.mateescu@xxxxxx]
Sent: Wednesday, August 04, 2004 4:03 PM
To: Condor-Users Mail List
Subject: Re: [Condor-users] Condor submit file and process number
"Jim P. Boughton" wrote:
>
> Hi all,
> Is there a way to change the process number that
> condor starts with? I am trying to queue a large number
> of jobs where the filenames are numbered starting with
> 50001, instead of 0. I am having a hard time finding a
> way to deal with the change in numbers of digits (e.g. going
> from 9 to 10) when constructing the input filename. Any
> suggestions?
Why not change the file suffix to start from zero,
e.g., rename/symlink the original input files:
# Bring the file suffix to the range 0 ... NPROC-1
for ((i=0; i < NPROC; i++))
do
n=$((50001 + $i))
ln -s input.$n input.$i
done
# condor_submit ...
Gabriel
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
http://lists.cs.wisc.edu/mailman/listinfo/condor-users