Commits

Satish Balay committed 6cabea6

mpi.py: set flag MPIUNI_AVOID_MPI_NAMESPACE not PETSC_MPIUNI_AVOID_MPI_NAMESPACE

Comments (0)

Files changed (1)

config/packages/MPI.py

     self.addDefine('HAVE_MPI_FINT', 1)
     self.addDefine('HAVE_MPI_IN_PLACE', 1)
     if not self.argDB['with-mpiuni-fortran-binding']:
-      self.addDefine('MPIUNI_AVOID_MPI_NAMESPACE', 1)
+      self.framework.addDefine('MPIUNI_AVOID_MPI_NAMESPACE', 1)
       self.usingMPIUniFortranBinding = 0
     else:
       self.usingMPIUniFortranBinding = 1