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 system to modulepath #9

Merged
merged 2 commits into from
Sep 25, 2024
Merged

add system to modulepath #9

merged 2 commits into from
Sep 25, 2024

Conversation

smoors
Copy link
Member

@smoors smoors commented Sep 25, 2024

fixes AB#23097

files/vsc.sh Outdated Show resolved Hide resolved
@@ -2,22 +2,19 @@ eval `/usr/bin/vsc_env csh`

setenv LMOD_SYSTEM_NAME "${VSC_INSTITUTE_CLUSTER}-${VSC_ARCH_LOCAL}${VSC_ARCH_SUFFIX}"

setenv CLUSTER_MODULEPATH "/etc/modulefiles/vsc"
set CLUSTER_MODULEPATH = "/etc/modulefiles/vsc"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this change do?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this changes CLUSTER_MODULEPATH from an environment variable to a normal variable.
we don't need CLUSTER_MODULEPATH for anything else, so it makes more sense to use a normal var.

besides, we unset it at the end of the script with unset CLUSTER_MODULEPATH, which is broken for envvars: you need unsetenv for that.

@wpoely86 wpoely86 merged commit 01c68bc into vub-hpc:main Sep 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants