Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Rescue DAG and environment
- Date: Tue, 7 Aug 2012 08:57:50 +0100
- From: Brian Candler <B.Candler@xxxxxxxxx>
- Subject: 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
> 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.