Parsl / parsl

Parsl - a Python parallel scripting library
http://parsl-project.org
Apache License 2.0
504 stars 195 forks source link

Fix filepath resolution #689

Open annawoodard opened 5 years ago

annawoodard commented 5 years ago

When using SSHChannel, files which are expected to be produced in the CWD are instead appearing in the user's home directory. @gordonwatts has written a nice test case here to demonstrate the problem. I've verified on midway (on commit 28be4f79321aa164e144a3bd926674e41d6faa6f of his repo) I see the same behavior. With LocalChannel or using a full path to output files his test runs fine.

annawoodard commented 5 years ago

Reported by @gordonwatts

benclifford commented 5 years ago

see also #642

benclifford commented 5 years ago

I've encountered something similar. I think the issue is that use of cwd is not well defined. When using SSH channels, usually the cwd is the remote user home directory (rather than any specified workdir).