[petsc-users] Trilinos-PETSc Interface

Nunion m.skates82 at gmail.com
Thu Nov 18 19:54:43 CST 2010


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.
"-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!

Mark


[ 57%] Building CXX object
packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_MultiPointModelEvaluator.cpp.o
[ 57%] Building CXX object
packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_MultiSerialComm.cpp.o
[ 57%] Building CXX object
packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_BlockDiagMatrix.cpp.o
[ 57%] Building CXX object
packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_PointToBlockDiagPermute.cpp.o
[ 57%] Building CXX object
packages/epetraext/src/CMakeFiles/epetraext.dir/restrict/EpetraExt_RestrictedMultiVectorWrapper.cpp.o
[ 57%] Building CXX object
packages/epetraext/src/CMakeFiles/epetraext.dir/restrict/EpetraExt_RestrictedCrsMatrixWrapper.cpp.o
[ 57%] Building CXX object
packages/epetraext/src/CMakeFiles/epetraext.dir/petsc/EpetraExt_PETScAIJMatrix.cpp.o
/home/walker/Desktop/PETSc/_NEW/petsc-3.1-p5/include/private/vecimpl.h:255:
error: ‘MPI_Win’ does not name a type
/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’:
/home/walker/Desktop/trilinos/trilinos-10.4.1-Source/packages/epetraext/src/petsc/EpetraExt_PETScAIJMatrix.h:232:
warning: converting to ‘int’ from ‘const double’
/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’:
/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’
/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’:
/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’
/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’
/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&)’:
/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’
/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&)’:
/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’
make[2]: ***
[packages/epetraext/src/CMakeFiles/epetraext.dir/petsc/EpetraExt_PETScAIJMatrix.cpp.o]
Error 1
make[1]: *** [packages/epetraext/src/CMakeFiles/epetraext.dir/all] Error 2
make: *** [all] Error 2
[walker at sys TB2]$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101118/392ac987/attachment.htm>


More information about the petsc-users mailing list