I am in the middle of configuring the PETSc/Trilinos interface. However, when I run 'make', the following error is being generated. I have testing and examples enabled. From my knowledge I have disabled all MPI features, i.e.<br>
"-D TPL_ENABLE_MPI:BOOL=OFF", however this error is happening while in the section, "Scanning dependencies of target epetraext". Any assistance is greatly appreciated. Thanks!<br><br>Mark<br><br><br>[ 57%] Building CXX object packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_MultiPointModelEvaluator.cpp.o<br>
[ 57%] Building CXX object packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_MultiSerialComm.cpp.o<br>[ 57%] Building CXX object packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_BlockDiagMatrix.cpp.o<br>
[ 57%] Building CXX object packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_PointToBlockDiagPermute.cpp.o<br>[ 57%] Building CXX object packages/epetraext/src/CMakeFiles/epetraext.dir/restrict/EpetraExt_RestrictedMultiVectorWrapper.cpp.o<br>
[ 57%] Building CXX object packages/epetraext/src/CMakeFiles/epetraext.dir/restrict/EpetraExt_RestrictedCrsMatrixWrapper.cpp.o<br>[ 57%] Building CXX object packages/epetraext/src/CMakeFiles/epetraext.dir/petsc/EpetraExt_PETScAIJMatrix.cpp.o<br>
/home/walker/Desktop/PETSc/_NEW/petsc-3.1-p5/include/private/vecimpl.h:255: error: ‘MPI_Win’ does not name a type<br>/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.h: In member function ‘virtual int Epetra_PETScAIJMatrix::NumGlobalNonzeros() const’:<br>
/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.h:232: warning: converting to ‘int’ from ‘const double’<br>/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp: In member function ‘virtual int Epetra_PETScAIJMatrix::ExtractDiagonalCopy(Epetra_Vector&) const’:<br>
/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp:243: error: ‘class Epetra_SerialComm’ has no member named ‘Comm’<br>/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp: In member function ‘virtual int Epetra_PETScAIJMatrix::Multiply(bool, const Epetra_MultiVector&, Epetra_MultiVector&) const’:<br>
/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp:292: error: ‘class Epetra_SerialComm’ has no member named ‘Comm’<br>/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp:293: error: ‘class Epetra_SerialComm’ has no member named ‘Comm’<br>
/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp: In member function ‘virtual int Epetra_PETScAIJMatrix::LeftScale(const Epetra_Vector&)’:<br>/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp:445: error: ‘class Epetra_SerialComm’ has no member named ‘Comm’<br>
/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp: In member function ‘virtual int Epetra_PETScAIJMatrix::RightScale(const Epetra_Vector&)’:<br>/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.cpp:465: error: ‘class Epetra_SerialComm’ has no member named ‘Comm’<br>
make[2]: *** [packages/epetraext/src/CMakeFiles/epetraext.dir/petsc/EpetraExt_PETScAIJMatrix.cpp.o] Error 1<br>make[1]: *** [packages/epetraext/src/CMakeFiles/epetraext.dir/all] Error 2<br>make: *** [all] Error 2<br>[walker@sys TB2]$ <br>