From 16099d17f8887de4f79ccf59a9540a655dc66c20 Mon Sep 17 00:00:00 2001
From: Sebastian Achilles <achilles@aices.rwth-aachen.de>
Date: Thu, 24 Feb 2022 11:25:19 +0100
Subject: [PATCH] Hook: Add Lmod conflict for side compilers

---
 Custom_Hooks/eb_hooks.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Custom_Hooks/eb_hooks.py b/Custom_Hooks/eb_hooks.py
index 9cbe59156..8e1365f3d 100644
--- a/Custom_Hooks/eb_hooks.py
+++ b/Custom_Hooks/eb_hooks.py
@@ -298,6 +298,7 @@ def tweak_moduleclass(ec):
 
 
 def tweak_module_conflict_side_compilers(ec):
+    ec_dict = ec.asdict()
     if ec['name'] in SIDECOMPILERS:
         key = "modluafooter"
         value = 'conflict(%s)' % ','.join('"'+x+'"' for x in SIDECOMPILERS)
-- 
GitLab