There are some solutions to your problem. I'm employing, nowadays, STARTD variables that I can put in the submit files, for example:
Add to HTCondor configuration (execute nodes):
EXECUTABLE_PATH = "c:\xpto\asd.exe"
STARTD_ATTRS = $(STARTD_ATTRS), EXECUTABLE_PATH
And you'll be able to put, on the submit file:
executable = $$(EXECUTABLE_PATH)
Var will be resolved on executing machine. As I said, this is only one way to address the problem, but it works.
Hello!_______________________________________________I'm new to HTCondor (less than 1 week!) and I'm trying to set our network to run it.ÂSo far, we have the Executor nodes in Linux, and most of the Submit machines are Windows 8.ÂEverything is working as expected and I can send jobs from Windows and Linux without a problem.What I would like to know is if it is possible to pick the executable from the environment variables of the ExecutorÂnode.ÂSo far, our submit file starts with:Universe = vanillaExecutable = /path/to/executable.shtransfer_executable = falsecopy_to_spool = falseBut the path to the executable could change between ExecutorÂnodes, so it would be nice to say:executable = $EXECUTABLE_PATHand every node set would set this variable to the correct location. Is it possible to do this?ÂI do know that you can define and pass some environment variables with:environment = "var=value"And it is even possible to pass the complete environment of the Submit machine with:getenv = TrueBut I would like to have access to the environment of the ExecutorÂnode... As I am very new to HTCondor, maybe I am missing something obvious here. Sorry for that!Thank you very much.
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: