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

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

Queue 10

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,

-----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++)) 
  n=$((50001 + $i))
  ln -s input.$n input.$i

# condor_submit ...

Condor-users mailing list