From 5a739a0a8f7acfce5337ff41cc6acdd7e4c9dd7f Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 5 Apr 2022 17:54:23 +0200 Subject: [PATCH 1/2] modulefile: don't set default env.variable PMODULES_ROOT --- Pmodules/modulefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Pmodules/modulefile b/Pmodules/modulefile index 1893fdb..6b3e91a 100644 --- a/Pmodules/modulefile +++ b/Pmodules/modulefile @@ -9,6 +9,7 @@ module-help " Pmodules are a hierarchical module environment based on Environment Modules. " +set dont-setenv { "PMODULES_ROOT" } # # It might be that '${PMODULES_ROOT}/Tools/Pmodules/VERSION' is in PATH. # Why? With older version the PATH might have been set without loading From 13b3dbcfd87f3aa514aa7eaebd87f62819ca8316 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 5 Apr 2022 17:57:26 +0200 Subject: [PATCH 2/2] modulefile: some comment added --- Pmodules/modulefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Pmodules/modulefile b/Pmodules/modulefile index 6b3e91a..c40824d 100644 --- a/Pmodules/modulefile +++ b/Pmodules/modulefile @@ -9,6 +9,10 @@ module-help " Pmodules are a hierarchical module environment based on Environment Modules. " +# +# Pmodules >= 1.0.0rc11 set _ROOT +# But for Pmodules PMODULES_ROOT != PMODULES_DIR and should not be set. +# set dont-setenv { "PMODULES_ROOT" } # # It might be that '${PMODULES_ROOT}/Tools/Pmodules/VERSION' is in PATH.