Skip to content
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

Add LD_LIBRARY_PATH to modulefile generation for specific packages only #44084

Open
1 task done
wjn0 opened this issue May 8, 2024 · 0 comments
Open
1 task done

Add LD_LIBRARY_PATH to modulefile generation for specific packages only #44084

wjn0 opened this issue May 8, 2024 · 0 comments
Labels

Comments

@wjn0
Copy link

wjn0 commented May 8, 2024

Summary

Include a way to vary prefix_inspections in modulefile generation for specific packages.

Rationale

Per #27346 (comment), including LD_LIBRARY_PATH in all generated modulefiles is a bad idea in many cases. But for packages that are commonly dynamically loaded in languages like Python (CUDA/cudNN are the ones that are giving me grief now), I'd like to include LD_LIBRARY_PATH in the generated modulefiles automatically. Is there a recommended way of doing this?

Description

Not sure, but something that survives spack module lmod refresh would be nice in my case (so, i.e., manually editing modulefiles seems like its out).

Additional information

No response

General information

  • I have searched the issues of this repo and believe this is not a duplicate
@wjn0 wjn0 added the feature label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant