Commit a390e62c authored by Lorenz Hüdepohl's avatar Lorenz Hüdepohl
Browse files

Complicated logic for reduced gcc_10 combinations

parent 483409b4
Pipeline #75597 passed with stage
in 14 seconds
......@@ -200,6 +200,15 @@ def valid_mpi(compiler, mpi):
return mpi == compiler_parallel_studio[compiler]["impi"]
if compiler.startswith("pgi"):
return valid_pgi_mpi(compiler, mpi)
if compiler.startswith("gcc") and mpi.startswith("impi"):
gcc_version = int(compiler[len("gcc_"):])
impi_major_version, impi_minor_version = map(int, mpi[len("impi_"):].split("_"))
if gcc_version >= 10:
# gcc_10 only with modern Intel MPI
return impi_major_version > 2019 or \
(impi_major_version == 2019 and impi_minor_version >= 7)
else:
return True
else:
return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment