diff --git a/Custom_Hooks/eb_hooks.py b/Custom_Hooks/eb_hooks.py index a2cad0853b87f37a20a38fc2697489f840f9f104..53a0fce9683e094783961c197993b8e39635cd18 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"