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

Re: [Condor-users] Condor Submit File



Sameer,
Are you transferring the database file? If so, I would try to simply use the "." which specifies the current directory as that is where all files are transferred to.
 
Cheers,
 
Phil Crawford
__________________________________________________
Philip Crawford, B. Comp. Sc., MIEEE
School of Medical Sciences
The University of NSW
Phone: +61-2-9385 2564
Mobile: +61-419-294 698
Fax: +61-2-9385 1059
Email: p.crawford@xxxxxxxxxxx
__________________________________________________
 


From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Sameer Bahl
Sent: Thursday, 16 February 2006 12:55 PM
To: condor-users@xxxxxxxxxxx
Subject: [Condor-users] Condor Submit File

Hi,
 
I have a windows executable which takes as argument the name of the directory which contains the input files and produces as output a text file in the same directory. I am trying to execute this using condor. My condor pool has a linux machine as central manager while all the execution nodes are windows based.
 
I initially tried to execute with the following submit file:
 
universe = vanilla
environment = path=/home/fyp19wt/Simtest
Requirements = (Arch == "INTEL") && (OpSys == "WINNT50")
should_transfer_files = YES
WhenToTransferOutput = ON_EXIT
executable = /home/fyp19wt/Simtest/SIAEC-Model-V50.exe
output = /home/fyp19wt/Simtest/output.txt
error = /home/fyp19wt/Simtest/test.err
log = /home/fyp19wt/Simtest/test.log
transfer_input_files = ProModel Airport Information.xls,ProModel Airport Location GMT.xls,ProModel Component Optimal Balance.xls,ProModel Flights.xls,ProModel Input Parameters Ground Movements.xls,ProModel Input Parameters.xls,ProModel Model Configurations.xls,ProModel Scenarios.xls,ProModel Service Schedule.xls
Queue
 
 
However in the output file instead of getting the output i got the following message:
Usage: condor_exec.exe <database directory>
 
I then tried to specify the name of the directory which initially contains the input files on the central manager as an argument. the new submit file looked as follows:
 
 
universe = vanilla
environment = path=/home/fyp19wt/Simtest
Requirements = (Arch == "INTEL") && (OpSys == "WINNT50")
should_transfer_files = YES
WhenToTransferOutput = ON_EXIT
universe = vanilla
environment = path=/home/fyp19wt/Simtest
Requirements = (Arch == "INTEL") && (OpSys == "WINNT50")
should_transfer_files = YES
WhenToTransferOutput = ON_EXIT
executable = /home/fyp19wt/Simtest/SIAEC-Model-V50.exe
output = /home/fyp19wt/Simtest/output.txt
error = /home/fyp19wt/Simtest/test.err
log = /home/fyp19wt/Simtest/test.log
transfer_input_files = ProModel Airport Information.xls,ProModel Airport Location GMT.xls,ProModel Component Optimal Balance.xls,ProModel Flights.xls,ProModel Input Parameters Ground Movements.xls,ProModel Input Parameters.xls,ProModel Model Configurations.xls,ProModel Scenarios.xls,ProModel Service Schedule.xls
Arguments = /home/fyp19wt/Simtest
Queue
 
With this as the submit file, there is no output produced. The output.txt file is empty.
 
Can someone please help me with this. Any help would be much appreciated. How should i specify the submit file so that the execution machine looks for the input files at the correct place. I do not know how to specify the name of the directory which contains all the input files after transfer. The executable requires this as an argument to execute.
 
Thanks.
Sameer