]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #30249: add optional MPI_Fortran_COMPILER
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 13 Jun 2022 07:30:16 +0000 (09:30 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 13 Jun 2022 07:30:16 +0000 (09:30 +0200)
products/env_scripts/openmpi.py

index ca15d649839575c32f07b74052b7a7dd4090c6bb..2d85924a1da20bf5ea484f21bf2964356a9eaf0a 100644 (file)
@@ -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'))