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