[Swift-user] env.HOME in sites file not working

Mihael Hategan hategan at mcs.anl.gov
Thu Dec 11 12:08:01 CST 2014


Right. My bad. I don't think {env.XYZ} is something that is supported in
sites files. Substitution works only for java system properties (e.g.
{user.home}). Where did you see {env.XYZ}?

Mihael

On Thu, 2014-12-11 at 11:59 -0600, Ketan Maheshwari wrote:
> Mihael,
> 
> I updated Swift to:
> Swift 0.95 swift-r8326 cog-r4045
> 
> It still does not seem to work. The rundir is attached.
> 
> Thanks,
> Ketan
> 
> On Wed, Dec 10, 2014 at 8:49 PM, Mihael Hategan <hategan at mcs.anl.gov> wrote:
> >
> > Variable substitution was done only in attributes but not in xml text
> > nodes. This should now be fixed in 0.95 swift r8324.
> >
> > Mihael
> >
> > On Wed, 2014-12-10 at 18:52 -0600, Ketan Maheshwari wrote:
> > > Hi,
> > >
> > > Running 0.95 swift-r8301 cog-r4045, the Swift run crashes when trying to
> > > set workdirectory to {env.HOME}/swiftwork but works if set with constant
> > > path.
> > >
> > > The error message is:
> > >
> > > Execution failed:
> > > Exception in dsp:
> > >     Arguments: [-f,
> > > __root__/lcrc/project/NEXTGENOPT/DSP_old/examples/smps/dcap/dcap243_200,
> > > -a, 1, -n, 1, -p, 1, -I, 10]
> > >     Host: localblues
> > >     Directory: dsp.blues-run001/jobs/j/dsp-j4e17i1m
> > > exception @ swift-int.k, line: 530
> > > Caused by: null
> > > Caused by: org.globus.cog.abstraction.impl.common.execution.JobException:
> > > Job failed with an exit code of 127
> > >
> > > Attached are two identical runs: run001.tgz which failed and run002.tgz
> > > which worked.
> > >
> > > How can I make it work so that the Swift workdir us not hardcoded?
> > >
> > > Thanks,
> > > Ketan
> > > _______________________________________________
> > > Swift-user mailing list
> > > Swift-user at ci.uchicago.edu
> > > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
> >
> >
> > _______________________________________________
> > Swift-user mailing list
> > Swift-user at ci.uchicago.edu
> > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user
> >





More information about the Swift-user mailing list