[Trilinos-Users] Compilation of Trilinos 10 on BlueGene/P

John R Cary cary at colorado.edu
Tue Oct 26 20:58:57 MDT 2010


Hi Folks,

For the record, I can configure and build trilinos for Intrepid (the BGP 
at alcf.anl.gov) on the FENs with

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='-q64 -qmaxmem=64000 -qlanglvl=redefmac' \
   -DCMAKE_CXX_FLAGS:STRING='-q64 -qmaxmem=64000 -qlanglvl=redefmac 
-qkeepinlines -qcompact -qweakref' \
   -DCMAKE_Fortran_FLAGS:STRING='-q64 -qmaxmem=64000 -qextname=flush' \
   -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 \
   -DTrilinos_ENABLE_Fortran:BOOL=OFF \
   -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/users/cary/persistent/vpall/trilinos-10.6.0

(which uses my build of atlas and disables Fortran to eliminates
confusion of Trilinos over some pointers),

and for the BENs with

cmake \
 
-DCMAKE_INSTALL_PREFIX:PATH=/gpfs/home/projects/facets/intrepid/contrib/trilinos-10.6.0-par 
\
   -DCMAKE_BUILD_TYPE:STRING=RELEASE \
   -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
   -DTPL_ENABLE_MPI:BOOL=ON \
   -DCMAKE_C_COMPILER:FILEPATH='mpixlc_r' \
   -DCMAKE_CXX_COMPILER:FILEPATH='mpixlcxx_r' \
   -DCMAKE_Fortran_COMPILER:FILEPATH='mpixlf77_r' \
   -DCMAKE_C_FLAGS:STRING='-qmaxmem=64000 -qlanglvl=redefmac' \
   -DCMAKE_CXX_FLAGS:STRING='-qmaxmem=64000 -qlanglvl=redefmac 
-qkeepinlines -qcompact -qweakref' \
   -DCMAKE_Fortran_FLAGS:STRING='-qmaxmem=64000 -qextname=flush' \
   -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 \
   -DCMAKE_SYSTEM_NAME=BlueGeneP-static \
   -DCMAKE_CROSSCOMPILING:BOOL=TRUE \
   -DTeuchos_ENABLE_FLOAT:BOOL=OFF \
   -DTeuchos_ENABLE_COMPLEX:BOOL=OFF \
   -DHAVE_GCC_ABI_DEMANGLE_EXITCODE:STRING=0 \
   -DHAVE_TEUCHOS_BLASFLOAT_EXITCODE:STRING=1 \
   -DBUILD_SHARED_LIBS:BOOL=OFF \
   -DTPL_BLAS_LIBRARIES:FILEPATH='/soft/apps/BLAS/libblas_bgp.a' \
   -DTPL_LAPACK_LIBRARIES:FILEPATH='/soft/apps/LAPACK/liblapack_bgp.a' \
   /intrepid-fs0/users/cary/persistent/vpall/trilinos-10.6.0

in both cases with trilinos was patched with the attached.

It is not clear that all of the above is needed; I am trying to
work towards a minimal set.

Also, this uses some BGP Module files installed at alcf that,
as I understand, came from LLNL:

login4.intrepid$ find /soft/apps/fen/cmake-2.8.1/share/cmake-2.8/ -name 
'Blue*' -print
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneL.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-dynamic.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-base.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-dynamic-GNU-C.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-dynamic-GNU-CXX.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-dynamic-GNU-Fortran.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-dynamic-XL-C.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-dynamic-XL-CXX.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-dynamic-XL-Fortran.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-static.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-static-GNU-C.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-static-GNU-CXX.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-static-GNU-Fortran.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-static-XL-C.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-static-XL-CXX.cmake
/soft/apps/fen/cmake-2.8.1/share/cmake-2.8/Modules/Platform/BlueGeneP-static-XL-Fortran.cmake
login4.intrepid$



John Cary






On 10/26/10 6:14 AM, Radu Popescu wrote:
> Hello Heidi,
>
> Attached are the script used to configure Trilinos, the cmake
> cross-compilation toolset file and the output of the configure phase.
> It seems the errors appear when the configuration of the individual
> packages begins.
> Thank you for the assistance and let me know if you need more information.
>
> Regards,
> Radu
>
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users

-------------- 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/20101026/77efa982/attachment.pl 


More information about the Trilinos-Users mailing list