hpc / Spindle

Scalable dynamic library and python loading in HPC environments
Other
94 stars 22 forks source link

Spindle not searching PATH when running with "--reloc-aout=no" or "--debug=yes" #11

Closed mplegendre closed 6 years ago

mplegendre commented 6 years ago

Both of the options in the above title change Spindle to invoke the application executable from global storage rather than local. The execv in the bootstrapper can fail when pointed at a relative path'd global executable. This doesn't happen for local executables since we construct the path and make sure it's absolute.

The execv in spindle_bootstrap should thus be changed to an execvp.

mplegendre commented 6 years ago

Fixed in devel branch.