From: Nabil Ghodbane Date: Mon, 13 Jun 2022 07:30:16 +0000 (+0200) Subject: spns #30249: add optional MPI_Fortran_COMPILER X-Git-Tag: V9_11_0~358 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb2be8f3cd1cec43721db730e4e55c2a12ae59a6;p=tools%2Fsat_salome.git spns #30249: add optional MPI_Fortran_COMPILER --- 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'))