[Swift-devel] {env.HOME} not working in sites file in 0.95-RC6 ?

Michael Wilde wilde at anl.gov
Sat Jul 19 13:16:32 CDT 2014


Thanks, David. Indeed, that ticket clarifies the situation.

I see that 0.95 config allows eg "workdir=/scratch/midway/$USER/work" in 
the new-format config files, and that trunk/0.96 config allows ${env.PATH}

This will affect users of 0.95 that had { } expansion in their 0.94 
legacy xml-format sites files (which is the situation Im dealing with 
now).  But we can work around this with documentation and support.

- Mike

On 7/19/14, 1:01 PM, David Kelly wrote:
> Hi Mike,
>
> Environment variables in sites.xml no longer works in 0.95. There was 
> a brief discussion about it in 
> https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=423.
>
> The test suite uses sed to replace {env.*} values, so I don't think it 
> gets tested directly.
>
>
> On Sat, Jul 19, 2014 at 10:05 AM, Michael Wilde <wilde at anl.gov 
> <mailto:wilde at anl.gov>> wrote:
>
>     It seems like, in 0.95-RC6,  "{ }" substitution in sites.xml does
>     not work.
>
>     A run with this fails:
>
>     <workdirectory>{env.HOME}/swiftwork</workdirectory>
>
>     while this works:
>
>     <workdirectory>/clhome/WILDE/swiftwork</workdirectory>
>
>     I'll need to isolate a simple test case, and search bugzilla, but was
>     wondering if this is a known issue?
>
>     Is it tested in the test suite?
>
>     Thanks,
>
>     - Mike
>
>     --
>     Michael Wilde
>     Mathematics and Computer Science          Computation Institute
>     Argonne National Laboratory               The University of Chicago
>
>     _______________________________________________
>     Swift-devel mailing list
>     Swift-devel at ci.uchicago.edu <mailto:Swift-devel at ci.uchicago.edu>
>     https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
>
>

-- 
Michael Wilde
Mathematics and Computer Science          Computation Institute
Argonne National Laboratory               The University of Chicago

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20140719/2b6a4b2e/attachment.html>


More information about the Swift-devel mailing list