Commits

Satish Balay  committed e506d8a

mpicc: disable 'wrapper override check' when user provides --with-mpi-compilers=0

  • Participants
  • Parent commits fb7586e

Comments (0)

Files changed (1)

File config/BuildSystem/config/setCompilers.py

     '''Check if --with-mpi-dir is used along with CC CXX or FC compiler options.
     This usually prevents mpi compilers from being used - so issue a warning'''
 
-    if 'with-mpi-dir' in self.argDB:
+    if 'with-mpi-dir' in self.argDB and self.argDB['with-mpi-compilers']:
       optcplrs = [(['with-cc','CC'],['mpicc','mpcc','hcc','mpcc_r']),
               (['with-fc','FC'],['mpif90','mpif77','mpxlf95_r','mpxlf90_r','mpxlf_r','mpf90','mpf77']),
               (['with-cxx','CXX'],['mpicxx','hcp','mpic++','mpiCC','mpCC_r'])]