From 26e9189a901b778c9e90bc5209f52ac650bd4391 Mon Sep 17 00:00:00 2001
From: Damian Alvarez <swmanage@jwlogin06.juwels>
Date: Wed, 26 May 2021 17:14:21 +0200
Subject: [PATCH] Without out the path inside the module is wrong

---
 Custom_MNS/flexible_custom_hierarchical_mns.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Custom_MNS/flexible_custom_hierarchical_mns.py b/Custom_MNS/flexible_custom_hierarchical_mns.py
index eaf5a8e67..e35a4c857 100644
--- a/Custom_MNS/flexible_custom_hierarchical_mns.py
+++ b/Custom_MNS/flexible_custom_hierarchical_mns.py
@@ -235,7 +235,7 @@ class FlexibleCustomHierarchicalMNS(HierarchicalMNS):
                 comp_name_ver = [ec['name'], self.det_full_version(ec)]
                 # Handle the case where someone only wants iccifort to extend the path
                 # This means icc/ifort are not of the moduleclass compiler but iccifort is
-                if ec['name'] == 'iccifort':
+                if ec['name'] == 'iccifort' or ec['name'] == 'intel-compilers':
                     comp_name_ver = ['intel', self.det_full_version(ec)]
 
             # Exclude extending the path for icc/ifort, the iccifort special case is handled above
-- 
GitLab