[Trilinos-Users] [EXTERNAL] Re: Trilinos-13.0.0 builds of amesos and ifpack fail on Windows
John Cary
cary at colorado.edu
Mon Oct 12 11:52:06 MST 2020
Hi Jonathan,
Wehn I enable Xpetra and MueLu on top of the previous, I get things like:
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\xpetra\src\CrsMatrix\Xpetra_EpetraCrsMatrix.hpp(1098):
warning C4267: 'argument': conversion from 'size_t' to
'Xpetra::EpetraCrsMatrixT<int,Xpetra::EpetraNode>::LocalOrdinal',
possible loss of data^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\teuchos\numerics\src\Teuchos_SerialSymDenseMatrix.hpp(430):
warning C4068: unknown pragma 'GCC'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\teuchos\numerics\src\Teuchos_SerialSymDenseMatrix.hpp(431):
warning C4068: unknown pragma 'GCC'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\teuchos\numerics\src\Teuchos_SerialSymDenseMatrix.hpp(433):
warning C4068: unknown pragma 'GCC'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\teuchos\numerics\src\Teuchos_SerialDenseMatrix.hpp(397):
warning C4068: unknown pragma 'GCC'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\teuchos\numerics\src\Teuchos_SerialDenseMatrix.hpp(398):
warning C4068: unknown pragma 'GCC'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\teuchos\numerics\src\Teuchos_SerialDenseMatrix.hpp(400):
warning C4068: unknown pragma 'GCC'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\teuchos\core\src\Teuchos_HashUtils.hpp(173):
warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of
data^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\xpetra\sup\Matrix\Xpetra_Matrix.hpp(603):
error C2143: syntax error: missing ')' before '<'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\xpetra\sup\Matrix\Xpetra_Matrix.hpp(613):
note: see reference to class template instantiation
'Xpetra::Matrix<Scalar,LocalOrdinal,GlobalOrdinal,Node>' being compiled^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\xpetra\sup\Matrix\Xpetra_Matrix.hpp(603):
error C2143: syntax error: missing ';' before '<'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\xpetra\sup\Matrix\Xpetra_Matrix.hpp(603):
error C2059: syntax error: '<'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\xpetra\sup\Matrix\Xpetra_Matrix.hpp(605):
error C2059: syntax error: ')'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\xpetra\sup\Matrix\Xpetra_Matrix.hpp(605):
error C2238: unexpected token(s) preceding ';'^M
D:\winsame\cary\vorpalall-dev3\builds\trilinos-13.0.0\packages\xpetra\sup\Matrix\Xpetra_CrsMatrix
....
Maybe I have to enable something else?
Thx...John
On 10/12/2020 12:30 PM, Hu, Jonathan wrote:
> John,
>
> I see that Xpetra (and thus MueLu) are disabled. If you encountered other errors with MueLu, Xpetra, and supporting packages in Trilinos develop on Windows, could you post them? I can't guarantee we can fix them (since we don’t have access to a Windows build machine), but at least we could document and try....
>
> Jonathan
>
> On 10/12/20, 11:25 AM, "Trilinos-Users on behalf of John Cary" <trilinos-users-bounces at trilinos.org on behalf of cary at colorado.edu> wrote:
>
> Glad to help, Siva. Windows absolutely essential for us to make
> use of trilinos.
>
> My cmake line is below, in case it can be of use to someone else.
>
> Best.....John
>
> On 10/12/2020 11:17 AM, Rajamanickam, Sivasankaran wrote:
> > John
> > We do not test on Windows and it is hard for us to support Windows without many developers on it. I am glad you were able to resolve this.
> >
> > -Siva
> >
>
>
> '/winsame/dev3/contrib-vs2019/cmake-3.18.2-ser/bin/cmake' \
> -DCMAKE_INSTALL_PREFIX:PATH=D:/winsame/dev3/contrib-vs2019/trilinos-13.0.0-sercomm
> \
> -DCMAKE_BUILD_TYPE:STRING=Release \
> -DCMAKE_COLOR_MAKEFILE:BOOL=FALSE \
> -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
> -DCMAKE_C_COMPILER:FILEPATH='C:/Program Files (x86)/Microsoft Visual
> Studio/2019/Professional/VC/Tools/MSVC/14.27.29110/bin/HostX64/x64/cl.exe' \
> -DCMAKE_CXX_COMPILER:FILEPATH='C:/Program Files (x86)/Microsoft
> Visual
> Studio/2019/Professional/VC/Tools/MSVC/14.27.29110/bin/HostX64/x64/cl.exe' \
> -DCMAKE_C_FLAGS:STRING='/W3' \
> -DCMAKE_CXX_FLAGS:STRING='/W3 /GR /EHsc /std:c++17 /Zc:__cplusplus
> /D_HAS_AUTO_PTR_ETC' \
> -DDART_TESTING_TIMEOUT:STRING=600 \
> -DML_ENABLE_SuperLU:BOOL=OFF \
> -DTrilinos_ENABLE_SuperLU5_API=ON \
> -DPYTHON_EXECUTABLE:FILEPATH=C:/cygwin64/bin/python2.7.exe \
> -DTrilinos_ENABLE_Fortran=OFF \
> -DTrilinos_ENABLE_Kokkos:BOOL=FALSE \
> -DTrilinos_ENABLE_Xpetra:BOOL=OFF \
> -DTPL_BLAS_LIBRARIES:FILEPATH='/winsame/dev3/contrib-vs2019/clapack_cmake-3.2.1-ser/lib/blas.lib;/winsame/dev3/contrib-vs2019/clapack_cmake-3.2.1-ser/lib/f2c.lib'
> \
> -DTPL_LAPACK_LIBRARIES:FILEPATH='/winsame/dev3/contrib-vs2019/clapack_cmake-3.2.1-ser/lib/lapack.lib'
> \
> -DCMAKE_C_FLAGS_RELEASE:STRING='/O2 /Ob2 /DNDEBUG' \
> -DCMAKE_CXX_FLAGS_RELEASE:STRING='/O2 /Ob2 /DNDEBUG' \
> -DTrilinos_ENABLE_Teuchos:BOOL=ON \
> -DTrilinos_ENABLE_Triutils:BOOL=ON \
> -DTrilinos_ENABLE_Epetra:BOOL=ON \
> -DTrilinos_ENABLE_Amesos:BOOL=ON \
> -DTrilinos_ENABLE_Ifpack:BOOL=ON \
> -DTrilinos_ENABLE_AztecOO:BOOL=ON \
> -DTrilinos_ENABLE_ML:BOOL=ON \
> -DTrilinos_ENABLE_EpetraExt:BOOL=ON \
> -DTrilinos_ENABLE_Galeri:BOOL=ON \
> -DTrilinos_ENABLE_Shards:BOOL=ON \
> -DTrilinos_ENABLE_Intrepid:BOOL=ON \
> -DTrilinos_ENABLE_Komplex:BOOL=ON \
> -DTrilinos_ENABLE_NOX:BOOL=ON \
> -DTrilinos_ENABLE_Zoltan:BOOL=ON \
> -DTPL_ENABLE_BinUtils:BOOL=OFF \
> -DTPL_ENABLE_Pthread:BOOL=OFF \
> -DTPL_ENABLE_SuperLU:BOOL=ON \
> -DSuperLU_INCLUDE_DIRS:PATH='D:/winsame/dev3/volatile-vs2019/superlu-master.r73-ser/include'
> \
> -DSuperLU_LIBRARY_DIRS:PATH='D:/winsame/dev3/volatile-vs2019/superlu-master.r73-ser/lib'
> \
> -DSuperLU_LIBRARY_NAMES:STRING='superlu' \
> -G 'NMake Makefiles JOM' \
> D:/winsame/cary/vorpalall-dev3/builds/trilinos-13.0.0
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> http://trilinos.org/mailman/listinfo/trilinos-users_trilinos.org
>
>
More information about the Trilinos-Users
mailing list