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

Re: [Condor-users] Rescue DAG and environment

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

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