From dd7a1eb26028895a1e9d516206d528df74c72bc0 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 13 Jun 2022 09:33:07 +0200 Subject: [PATCH] spns #30249: add optional MPI_Fortran_COMPILER --- products/env_scripts/openmpi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/products/env_scripts/openmpi.py b/products/env_scripts/openmpi.py index 2d85924..7eb0d67 100644 --- a/products/env_scripts/openmpi.py +++ b/products/env_scripts/openmpi.py @@ -12,6 +12,7 @@ def set_env(env, prereq_dir, version): env.set('MPI_C_COMPILER', os.path.join(prereq_dir, 'bin', 'mpicc')) env.set('MPI_CXX_COMPILER', os.path.join(prereq_dir, 'bin', 'mpicxx')) env.set('MPI_Fortran_COMPILER', os.path.join(prereq_dir, 'bin', 'mpifort')) + env.set('MPIEXEC_EXECUTABLE', os.path.join(prereq_dir, 'bin', 'mpiexec')) env.set('MPI_C_FOUND', os.path.join(prereq_dir,'lib','libmpi.so')) env.prepend('PATH', os.path.join(prereq_dir, 'bin')) env.prepend('PATH', os.path.join(prereq_dir, 'include')) -- 2.39.2