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