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

fix module load environment in conda and Anaconda easyblock #3585

Open
wants to merge 3 commits into
base: 5.0.x
Choose a base branch
from

Conversation

lexming
Copy link
Contributor

@lexming lexming commented Feb 10, 2025

I totally misunderstood the purpose of the environment settings in the conda (#3562) and Anaconda (#3577) easyblocks. The goal is not to set some generic paths, but to unset linking paths to libraries in the conda environment.

The actual goal is avoiding that the conda environment is used by any other software external to it, neither at runtime or build time. Hence, this can logically be extended to include paths.

This PR replaces the default paths set by conda easyblock in module_load_environment with the deletion of those variables related to search paths for linking and includes that are unwanted in the conda module environment.

Depends on easybuilders/easybuild-framework#4655

@lexming lexming changed the title fix module load environment in conda easyblock fix module load environment in conda and Anaconda easyblock Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant