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

Re: [Condor-users] how to submit jobs of same executable file with different arguments

On Mon, Feb 14, 2005 at 03:06:29PM -0500, Yongjun Luo wrote:
> Hi All,
> I have installed a condor system and was able to submit simple jobs. Now
> I have a job submission requirment that submit jobs of same executable
> file with different arguments. For example, I have a executable file
> "foo" which have 1 argument. Now I want to run this program thousands of
> times with totally different arguments. I know If I only have several
> jobs, I can write the different arguments into the submit file. But for
> thousands of different arguments, it not possible to do that way. How
> can I do that with condor? Can I read the arguments from a file? Thanks.

You can write a script of some kind to generate your submit file, each
time with a different argument. 

Or you could modify your program so it took inputs from a file. Or you
could wrap your program with a shell script that knew how to read from a 
file and pass those arguments on to your program.