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

Re: [Condor-users] "argument" problem in submit file



On Fri, 5 Mar 2010, ~ wrote:

I have a file (rscondor.exe) to run on Windows XP or 2000.The rscondor.exe is work fine in my computer.The exe file needs to get a command line parameter adn I need it to be launched with a different parameter on each job submitted.So i write two sub file but sub1.file work wrong ,no any result back. but sub2.file work fine. I guess that the sub1.file issue was "arguments =" Can anyone point me what wrong in my sub1.file?

This is the sub1.file:
-----------------------------------
Executable=C:\working\rscondor\test\rscondor.exe
Universe=Vanilla
Arguments=jointdom.tif
initialdir= C:\working\rscondor
should_transfer_files = YES
when_to_transfer_output =ON_EXIT
transfer_input_files = cximagecrtd.dll,gdal14.dll,jointdom.tif
queue


sub.2  file
////////////////////////////////////////////////////////////////////////////
universe=Vanilla
executable=C:\working\rscondor\test\rscondor.exe
input=geokl1.in
initialdir      = C:\working\rscondor
should_transfer_files = YES
when_to_transfer_output =ON_EXIT
transfer_input_files = cximagecrtd.dll,gdal14.dll,jointdom.tif
queue
---------------------------------------
geokl1.in file
////////////////////////////////////////////////////////////////////////////
geokl1.tif

Well, I guess the first thing I notice is that in the one that works, you're passing the file name to the stdin of the program, and in the one that fails, you're passing it as an argument. Have you tried it both ways outside of Condor? I don't really understand how your second submit file is working, either, since you seem to be telling the program to process geokl1.tif, but you're not transferring that file.

Also, in a case like this where something is going wrong, it's very useful to specify a log file, output file, and error file in your submit files -- that way you can get back some more information about what's actually going on.

Kent Wenger
Condor Team