1. petsc
  2. PETSc
  3. petsc


Satish Balay  committed e506d8a

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

  • Participants
  • Parent commits fb7586e
  • Branches master

Comments (0)

Files changed (1)

File config/BuildSystem/config/setCompilers.py

View file
     '''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']),