-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need to add LD_LIBRARY_PATH settings to example environments #13
Comments
An alternative, for bedrock modules, would be to make bedrock use another environment variable, |
Would the idea be to have bedrock find the .so files (searching MOCHI_LIBRARY_PATH) and then construct a fully resolved path to |
I would say more simply save the state of LD_LIBRARY_PATH, then append MOCHI_LIBRARY_PATH to it, call dlopen, then restore LD_LIBRARY_PATH? |
Gotcha, that makes sense. Let's keep this issue on hold until we figure out our options then. |
The latest origin/develop revisions of spack no longer export LD_LIBRARY_PATH for loaded modules. This can cause at least two problems with a Mochi stack:
dlopen()
search pathThe most straightforward solution is to add a
modules:
section to our example environment files that override the default spack setting:We need to add this to each of the spack.yaml files for safety. In theory it should not cause any harm on older spack releases but we should validate.
The text was updated successfully, but these errors were encountered: