From cb2be8f3cd1cec43721db730e4e55c2a12ae59a6 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 13 Jun 2022 09:30:16 +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 ca15d64..2d85924 100644 --- a/products/env_scripts/openmpi.py +++ b/products/env_scripts/openmpi.py @@ -11,6 +11,7 @@ def set_env(env, prereq_dir, version): env.set('MPI_INCLUDE_DIR', os.path.join(prereq_dir, 'include')) 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('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