[Trilinos-Users] Problems building trilinos-10.6.0 on BGP fens

John R Cary cary at colorado.edu
Thu Oct 14 03:33:27 MDT 2010


I am having problems building trilinos on the BGP front-end
nodes.  My configure line is

cmake 
-DCMAKE_INSTALL_PREFIX:PATH=/gpfs/home/projects/facets/intrepid/contrib/trilinos-10.6.0-ser 
-DCMAKE_BUILD_TYPE:STRING=RELEASE -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE 
-DCMAKE_C_COMPILER:FILEPATH='xlc_r' 
-DCMAKE_CXX_COMPILER:FILEPATH='xlC_r' 
-DCMAKE_Fortran_COMPILER:FILEPATH='xlf_r' 
-DCMAKE_C_FLAGS:STRING='-qmaxmem=64000 -q64 -qlanglvl=redefmac 
-qpic=large' -DCMAKE_CXX_FLAGS:STRING='-qmaxmem=64000 -q64 
-qlanglvl=redefmac -qpic=large' 
-DCMAKE_Fortran_FLAGS:STRING='-qmaxmem=64000 -qextname=flush -q64 
-qpic=large' -DTrilinos_ENABLE_Amesos:BOOL=ON 
-DTrilinos_ENABLE_ML:BOOL=ON -DTrilinos_ENABLE_AztecOO:BOOL=ON 
-DTrilinos_ENABLE_EpetraExt:BOOL=ON -DTrilinos_ENABLE_Epetra:BOOL=ON 
-DTrilinos_ENABLE_Triutils:BOOL=ON -DTrilinos_ENABLE_Teuchos:BOOL=ON 
-DTrilinos_ENABLE_Ifpack:BOOL=ON -DTrilinos_ENABLE_Galeri:BOOL=ON 
-DDART_TESTING_TIMEOUT:STRING=600 -DEXE_LINKER_FLAGS:STRING=-q64 
-DTeuchos_ENABLE_FLOAT:BOOL=OFF -DTeuchos_ENABLE_COMPLEX:BOOL=OFF 
-DBUILD_SHARED_LIBS:BOOL=OFF 
-DTPL_BLAS_LIBRARIES:FILEPATH='/gpfs/home/projects/facets/intrepid/contrib/atlas-3.8.3-ser/lib/libcblas.a;/gpfs/home/projects/facets/intrepid/contrib/atlas-3.8.3-ser/lib/libatlas.a' 
-DTPL_LAPACK_LIBRARIES:FILEPATH='/gpfs/home/projects/facets/intrepid/contrib/atlas-3.8.3-ser/lib/liblapack.a' 
/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0

The build stops at

cd 
/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0/ser/packages/epetra/src 
&& 
/gpfs/software/linux-sles10-ppc64/apps/ibmcmp-aug2010/vacpp/bg/9.0/bin/xlC_r 
  -+ -DEPETRA_LIB_EXPORTS_MODE -qmaxmem=64000 -q64 -qlanglvl=redefmac 
-qpic=large -O -DNDEBUG 
-I/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0/ser 
-I/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0/ser/packages/epetra/src 
-I/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0/packages/epetra/src 
   -o CMakeFiles/epetra.dir/Epetra_Import.cpp.o -c 
/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0/packages/epetra/src/Epetra_Import.cpp
"/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0/packages/epetra/src/Epetra_C_wrappers.cpp", 
line 82.33: 1540-0216 (S) An expression of type "Epetra_Comm *" cannot 
be converted to type "EPETRA_OBJECT_PTR".
"/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0/packages/epetra/src/Epetra_C_wrappers.cpp", 
line 115.33: 1540-0216 (S) An expression of type "Epetra_Map *" cannot 
be converted to type "EPETRA_OBJECT_PTR".
"/intrepid-fs0/gpfs1-migration/gpfs1/cary/vpall/trilinos-10.6.0/packages/epetra/src/Epetra_C_wrappers.cpp", 
line 125.33: 1540-0216 (S) An expression of type "Epetra_Map *" cannot 
be converted to type "EPETRA_OBJECT_PTR".
...

Any other flags I should be sending to cmake?

Also, attached is a patch that shows what I had to do
to get trilinos for parallel (mpixlc...) to compile.


Thx......John Cary

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: trilinos-10.6.0.patch
Url: https://software.sandia.gov/pipermail/trilinos-users/attachments/20101014/0266cdd0/attachment.pl 


More information about the Trilinos-Users mailing list