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

Re: [Condor-users] environment variables





Jaime Frey wrote:

On Tue, 6 Jul 2004, Dan Bradley wrote:


In the development series (6.7),
there's a setting in the config file that lets you add stuff to the
environment that gets inherited by user jobs. It's called
STARTER_JOB_ENVIRONMENT.



You can do this in Condor 6.6, though it requires some extra work. You can have the execution machines include the environment variable values in their startd classads: http://www.cs.wisc.edu/condor/manual/v6.6.5/3_3Configuration.html#param:SubsysAttrs

Then, in your job ads, use the $$ notation to have the values substituted
in the jobs' environment:
http://www.cs.wisc.edu/condor/manual/v6.6.5/2_5Submitting_Job.html#SECTION00356100000000000000


I also forgot to mention USER_JOB_WRAPPER, which can be used in Condor 6.6 to get the same effect as STARTER_JOB_ENVIRONMENT:


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

--Dan