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

Re: [condor-users] machine specific environment variables





Robert Smith wrote:

Ideally it would be nice to specify machine-specific environment variables in the condor_config file for each machine on which the jobs run.



As it happens, I just added a feature to do exactly that. However, this is in the version 6.7 development branch and is not available for download at the moment.


For the time being, you can get the job done by using USER_JOB_WRAPPER. You can point this to a shell script that sets up the environment and then execs your job (e.g. sh syntax: exec "$@").

The documentation on USER_JOB_WRAPPER may be found here:

http://www.cs.wisc.edu/condor/manual/v6.6/3_3Configuration.html#SECTION004312000000000000000

Dan Bradley
University of Wisconsin, Condor Project


Condor Support Information: http://www.cs.wisc.edu/condor/condor-support/ To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with unsubscribe condor-users <your_email_address>