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

Re: [Condor-users] Stop Condor cleaning the environment before executing a job



You can add environment variables in submit description file using directive

Environment = LD_LIBRARY_PATH=/home/users/john/condor/myLib

Details:
http://www.cs.wisc.edu/condor/manual/v7.6/condor_submit.html#74916

You can manualy insert all important environment variables to your submit 
description file or generate by script. You can also configure schedd daemon
to append default Environment, but if you specify Environment in submit 
description file, then default (from local_config) will be ignored

For example:
Environment = LD_LIBRARY_PATH=/home/users/john/condor/myLib;TEMP=/temp
SUBMIT_EXPRS = $(SUBMIT_EXPRS) Environment

Details:
http://www.cs.wisc.edu/condor/manual/v7.6/3_3Configuration.html#19384

I did not test this method, but we are using SUBMIT_EXPRS to append another
expresions to job ClassAd.

Lukas

On Tue, Nov 15, 2011 at 01:13:04PM +0000, Thomas Luff wrote:
> Thanks Lukas
> 
> Unfortunately that seems to import the environment from the user who started the daemons (NetworkService?) on Windows. I'm trying to load to environment of the job owner.
> 
> Thanks
> 
> -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.
> 
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>