When my job runs on a worker node, the remote
environment of that node will contain an environment variable FOO.|
I would like to have my classad expand this remote environment variable prior executing. E.g.
Executable = $ENV(HOME)/scripts/run.sh
Arguments = $REMOTE_ENV(FOO);
Is there some way to do this? I can't find any reference, and my only solution right now seems to be to write *YET* another wrapper around run.sh that will do the local environment expansion first.
Another example would be:
Environment = PYTHONPATH=$REMOTE_ENV(PYTHONPATH):$REMOTE_ENV(BAR)/lib/python;
Executable = $ENV(HOME)/scripts/run.py
Do envioronment variable referneces get expanded before setting the environment? Or for arguments or executables? Could I do something like:
Arguments = $(DOLLAR)FOO/data/details.dat
and have that expand to the execute node's $FOO/data/details.dat?
-- Ian Stokes-Rees W: http://sbgrid.org ijstokes@xxxxxxxxxxxxxxxxxxx T: +1 617 432-5608 x75 SBGrid, Harvard Medical School F: +1 617 432-5600