[Swift-user] run exe from the same dir as staged data

Ketan Maheshwari ketancmaheshwari at gmail.com
Fri Nov 30 09:48:47 CST 2012


Hi,

I am trying to swiftify an application whose executable expects the input
data (4 files) to be in the directory from where the call is made. The said
executable (vasp), looks for these files in the pwd and runs if the files
are found.

However, using swift, the files are staged with dirtree and the call is
made via _swiftwrap from <workdir>/job/x/shared which is causing the
application failure. I could manually cd into the staged dirtree where the
inputs are present and make a call to vasp and it works.

Same behavior is observed with swift trunk, and 0.93.

Is there a workaround for the above pattern?

Attached are the logs for one sample run.

Thanks,
-- 
Ketan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20121130/4a01fbf0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vaspswiftlog.tgz
Type: application/x-gzip
Size: 110544 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20121130/4a01fbf0/attachment.bin>


More information about the Swift-user mailing list