[Swift-devel] exec not in path despite providing absolute path
Ketan Maheshwari
ketan at mcs.anl.gov
Fri May 15 11:56:08 CDT 2015
Hi,
I am providing absolute path to an executable but Swift is complaining
that it is not in path. Here is the error message:
$ swift -config local.conf nek.swift
Swift trunk git-rev: 86de22e2841518dbf337a0e0da56ad1dd9dd70f8 heads/master 6343
RunID: run004
Progress: Fri, 15 May 2015 11:51:55-0500
Execution failed:
Exception in genrun:
Arguments: [-d, LST.json, -u, LST_f90.tusr, --makenek,
~/maxhutch/nek/makenek, RTI_LST]
Host: local
Directory: nek-run004/jobs/g/genrun-aj3y9t8m
exception @ swift-int.k, line: 467
swiftStaging:execute2 @ swift.k, line: 139
executeSelect @ swift.k, line: 207
Caused by: Cannot find executable genrun on site system path
throw @ swift-int.k, line: 78
checkJobStatus @ swift-int.k, line: 406
k:assign @ swift.k, line: 174
swift:execute @ nek, line: 46
app_genrun @ nek, line: 46
Here is the config:
$ cat local.conf
site.localhost {
execution {
type: "local"
URL: "localhost"
}
filesystem {
type: "local"
URL: "localhost"
}
workDirectory: "/tmp/swift.workdir"
app.cat {
executable: "/bin/cat"
}
app.genrun {
executable: "/home/ketan/maxhutch/nek-tools/genrun/genrun.py"
}
}
lazyErrors: false
executionRetries: 0
keepSiteDir: true
providerStagingPinSwiftFiles: false
alwaysTransferWrapperLog: true
The log dir is attached.
Any suggestions?
Thanks,
--
Ketan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run004.tgz
Type: application/x-gzip
Size: 5772 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20150515/c0bd9816/attachment.bin>
More information about the Swift-devel
mailing list