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

[Condor-users] Environment variables in arguments of submission taken literally.



In a submission file that looks like this:

universe=vanilla
requirements= OpSys != "Dummy" && Arch != "Dummy"
priority=0
transfer_executable=false
log=X:\3.CONDOR\CondorLogs\
CONDOR.log
log_xml=true

run_as_owner=true
executable=C:\Program Files\TestProgram\test.exe
arguments=-c %computername%
output=X:\3.CONDOR\CondorLogs\test.out
error=X:\3.CONDOR\CondorLogs\test.err
log=X:\3.CONDOR\CondorLogs\test.log
queue

The arguments of the job end up being a literal "-c %computername%" instead of the processing nodes environment variables being used, like "-c process_01"

Is there a way to do this?

I also tried using $(hostname)

Thanks!