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

Re: [Condor-users] Rescue DAG and environment



On Tue, Aug 07, 2012 at 08:57:50AM +0100, Brian Candler wrote:
> On Mon, Jul 30, 2012 at 05:32:23PM +0100, Brian Candler wrote:
> > I'm not sure if the following is a bug or intentional behaviour, but I
> > thought I'd report it here anyway.
> > 
> > Suppose you run a dag using
> > 
> >     export FOO=BAR
> >     condor_submit_dag -import_env foo.dag
> > 
> > The environment FOO=BAR gets included as an environment line in the
> > foo.dag.condor.sub file, and hence is available to jobs.
> ...
> > However in this case, the environment settings are lost. The
> > foo.dag.condor.sub file appears to be rewritten, and the environment line
> > has only _CONDOR_DAGMAN_LOG and _CONDOR_MAX_DAGMAN_LOG
> 
> Any comments on this?
> 
> I have a script which creates dags and calculates some env variables.
> Unfortunately, the retry means having to re-calculate all those env vars
> again.

This is what you have to do at for DAGMan now.  I have created a ticket:

https://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=3179

(Not a guarantee that this work will be done).

Nathan Panike