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

Re: [HTCondor-users] Jobs on Windows and heterogeneous pool



Instead of specifying your executable (i.e. blastn.exe), specify a batch file that will be copied over and will produce some checks.

Test.sub
==================
universe = vanilla
executable = test.cmd
transfer_executable = True
should_transfer_files = True
when_to_transfer_output = ON_EXIT
error = job-error.$(Cluster).$(Process).txt
log = job-log.$(Cluster).$(Process).txt
output = job-output.$(Cluster).$(Process).txt
requirements 		= ( OpSys == "WINDOWS" )
getenv			= true
run_as_owner = true
queue
=====================
test.cmd
======================
echo I am:
whoami
echo Directory is %cd%
echo Environment variables are:
set
======================

You could also change the submit file to test out different configurations:

test1.sub
======================
universe = vanilla
executable = test.cmd
transfer_executable = True
should_transfer_files = True
when_to_transfer_output = ON_EXIT
error = job-error.$(Cluster).$(Process).txt
log = job-log.$(Cluster).$(Process).txt
output = job-output.$(Cluster).$(Process).txt
requirements 		= ( OpSys == "WINDOWS" )

# config 1
getenv	=false
run_as_owner = true
queue
# config 2
getenv	=true
run_as_owner = false
queue
# config3
getenv	= true
run_as_owner = true
queue
#etc
==========================

KDiff3 will allow you to compare the outputs.
____________________________________________________________
Electronic mail messages entering and leaving Arup  business
systems are scanned for acceptability of content and viruses