From b1609185b2848f25c5e86b3074286273e098d572 Mon Sep 17 00:00:00 2001 From: Tobias Melson <tobias.melson@mpcdf.mpg.de> Date: Mon, 8 May 2023 13:34:17 +0200 Subject: [PATCH] Fixed key error in compiler_x stuff --- mpcdf_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpcdf_common.py b/mpcdf_common.py index 5147d90..31a4eca 100644 --- a/mpcdf_common.py +++ b/mpcdf_common.py @@ -204,7 +204,7 @@ def valid_mpi(compiler, mpi): the package software:dist / mpcdf_cluster_macros """ if compiler.startswith("intel") and mpi.startswith("impi"): - if compiler.endswith("_x"): + if compiler in compiler_x_parallel_studio: return mpi == compiler_x_parallel_studio[compiler]["impi"] return mpi == compiler_parallel_studio[compiler]["impi"] if compiler.startswith("pgi"): -- GitLab