[Trilinos-Users] Trilinos on TACC

Safin, Artur aks084000 at utdallas.edu
Mon Mar 28 15:00:39 EDT 2016


Hi all,

I am trying to get a working installation of deal.II with Trilinos on Stampede. The issue is that I have not been able to compile Trilinos on the cluster. This is what I’ve tried:

______________________________________________________________________________________________________________________________
cmake \
	-D Trilinos_ENABLE_CXX11=ON \
	-D Trilinos_ENABLE_Sacado=ON \
	-D Trilinos_ENABLE_MueLu:BOOL=ON \
	-D Trilinos_ENABLE_Ifpack=ON \
	-D CMAKE_BUILD_TYPE=RELEASE \
	-D CMAKE_CXX_FLAGS="-g -03" \
	-D CMAKE_C_FLAGS="-g -03" \
	-D CMAKE_FORTRAN_FLAGS="-g -05" \
	-D Trilinos_EXTRA_LINK_FLAGS="-lgfortran" \
	-D CMAKE_VERBOSE_MAKEFILE=FALSE \
	-D Trilinos_VERBOSE_CONFIGURE=FALSE \
	-D TPL_ENABLE_MPI=ON \
	-D BUILD_SHARED_LIBS=ON \
	-D CMAKE_C_COMPILER=`which mpicc` \
	-D CMAKE_CXX_COMPILER=`which mpicxx` \
	-D CMAKE_Fortran_COMPILER=`which mpif90` \
	-D MPI_EXEC=`which mpiexec` \
	-D MPI_Fortran_COMPILER=`which mpif90` \
	-D TPL_LAPACK_LIBRARIES:STRING="/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64" \
	-D TPL_BLAS_LIBRARIES:STRING="/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64" \
	-D CMAKE_INSTALL_PREFIX:PATH=/work/03678/asafin/Packages/trilinos \
	..
______________________________________________________________________________________________________________________________

This is with Trilinos 11.12 (I’ve also tried 12.6, same result). I am using the gcc 4.9.1 compiler. (though mpicc --version gives “icc 15.0.2”, maybe that’s the issue?).

Currently Loaded Modules:
  1) xalt/0.6   2) TACC   3) intel/15.0.2   4) mvapich2/2.1   5) cxx11/4.9.1

When I run cmake, it gives warnings of the sort:

______________________________________________________________________________________________________________________________
WARNING: Target "cmTryCompileExec3253619249" requests linking to directory "/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64".  Targets may link only to libraries.  CMake is dropping the item.
-- Performing Test HAVE_TEUCHOS_BLASFLOAT - Failed
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_DOUBLE_RETURN
WARNING: Target "cmTryCompileExec1065780777" requests linking to directory "/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64".  Targets may link only to libraries.  CMake is dropping the item.
-- Performing Test HAVE_TEUCHOS_BLASFLOAT_DOUBLE_RETURN - Failed
-- Performing Test HAVE_TEUCHOS_LAPACKLARND
WARNING: Target "cmTryCompileExec1947652233" requests linking to directory "/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64".  Targets may link only to libraries.  CMake is dropping the item.
-- Performing Test HAVE_TEUCHOS_LAPACKLARND - Failed
-- Performing Test CXX_COMPLEX_BLAS_WORKS
WARNING: Target "cmTryCompileExec3721382430" requests linking to directory "/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64".  Targets may link only to libraries.  CMake is dropping the item.
-- Performing Test CXX_COMPLEX_BLAS_WORKS - Failed
-- Performing Test HAVE_FIXABLE_COMPLEX_BLAS_PROBLEM
WARNING: Target "cmTryCompileExec1080356445" requests linking to directory "/opt/apps/intel/15/composer_xe_2015.2.164/mkl/lib/intel64".  Targets may link only to libraries.  CMake is dropping the item.
-- Performing Test HAVE_FIXABLE_COMPLEX_BLAS_PROBLEM - Failed
______________________________________________________________________________________________________________________________

The installation fails at the linking stage.

My question is, does anyone know how to compile Trilinos on Stampede (or why my setup does not work)?

Best,

Artur Safin


More information about the Trilinos-Users mailing list