[Swift-user] Does SWIFT_JOBDIR_PATH work for output?
Michael Wilde
wilde at mcs.anl.gov
Mon Mar 16 10:53:17 CDT 2009
Testing locally on the bgp, I see that env passing works, and wrapper.sh
picks up SWIFT_JOBDIR_PATH and does the right thing. So the problem
seems to be somewhere in the Falkon path. We'll investigate, and can for
the right jobdir handling in the meantime.
A side note: when I set an env profile in tc.data, my (localhost) job
gets a very limited environment:
SWIFT_JOBDIR_PATH=/dev/shm
PWD=/dev/shm/h/printenv-hzj1818j
SHLVL=1
OLDPWD=/var/tmp/pe-20090316-1029-cgkuddnd
_=/usr/bin/printenv
while with no env profile in the tc.data entry, my job gets the full
environment from the shell in which I ran swift.
I'm not going to look into that unless it becomes an issue, but its curious.
On 3/16/09 9:14 AM, Ben Clifford wrote:
> On Mon, 16 Mar 2009, Michael Wilde wrote:
>
>> Its very possible that Falkon is loosing the environment. The local test will
>> show if thats likely.
>
> Far be it for me to make such an accusation.
>
> The test suite does test environment passing, in
> tests/misc/path-prefix.sh, at least as far as the local provider.
>
> You should be able to run tests/misc/path-prefix.sh against your local
> provider; and if you run a falkon worker on the same system as you submit
> from (so it ends up doing local execution through falkon) you should be
> able to run that test successfully too.
>
More information about the Swift-user
mailing list