From 81d5383b90f6c30aca94b19a9fb1f6418d27a9af Mon Sep 17 00:00:00 2001 From: Sebastian Achilles <s.achilles@fz-juelich.de> Date: Mon, 17 Oct 2022 16:57:24 +0200 Subject: [PATCH] update hook --- Custom_Hooks/eb_hooks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Custom_Hooks/eb_hooks.py b/Custom_Hooks/eb_hooks.py index a2cad0853..53a0fce96 100644 --- a/Custom_Hooks/eb_hooks.py +++ b/Custom_Hooks/eb_hooks.py @@ -72,13 +72,13 @@ VETOED_INSTALLATIONS = { } TWEAKABLE_DEPENDENCIES = { - #'Boost': '1.78.0', - #'Boost.Python': '1.78.0', + # 'Boost': '1.78.0', + # 'Boost.Python': '1.78.0', 'CUDA': '11.7', 'glu': ('OpenGL', '2022a'), 'glew': ('OpenGL', '2022a'), 'libglvnd': ('OpenGL', '2022a'), - #'libxc': '5.1.7', + # 'libxc': '5.1.7', 'Mesa': ('OpenGL', '2022a'), 'NCCL': 'default', 'pkg-config': ('pkgconf', '1.8.0'), @@ -110,7 +110,7 @@ def installation_vetoer(ec): system_name = os.getenv('LMOD_SYSTEM_NAME') if system_name is None: with open('/etc/FZJ/systemname') as sn: - system_name = sn.read() + system_name = sn.read().strip() if name in VETOED_INSTALLATIONS[system_name]: print_warning( "\nYou are attempting to install software that should not be installed in this system.\n" -- GitLab