[Trilinos-Users] Build Error MueLU Test

Pierpaolo Minelli pierpaolo.minelli at cnr.it
Fri Feb 17 09:16:58 EST 2017


Hi,

i am trying to build all packages and tests using this do-configure:

cmake \
  -D CMAKE_BUILD_TYPE=RELEASE \
  -D Trilinos_ENABLE_ALL_PACKAGES=ON \
  -D Trilinos_ENABLE_TESTS=ON \
  -D TPL_ENABLE_MPI=ON \
  -D MPI_C_COMPILER:FILEPATH=${INTEL_MPI_BIN_DIR}/mpiicc \
  -D MPI_CXX_COMPILER:FILEPATH=${INTEL_MPI_BIN_DIR}/mpiicpc \
  -D MPI_Fortran_COMPILER:FILEPATH=${INTEL_MPI_BIN_DIR}/mpiifort \
  -D CMAKE_C_COMPILER=${INTEL_MPI_BIN_DIR}/mpiicc \
  -D CMAKE_CXX_COMPILET=${INTEL_MPI_BIN_DIR}/mpiicpc \
  -D CMAKE_Fortran_COMPILER=${INTEL_MPI_BIN_DIR}/mpiifort \
  -D TPL_ENABLE_BLAS=ON \
  -D BLAS_LIBRARY_DIRS="${MKLROOT}/lib/intel64" \
  -D BLAS_LIBRARY_NAMES="mkl_intel_lp64;mkl_intel_thread;mkl_core" \
  -D TPL_ENABLE_LAPACK=ON \
  -D LAPACK_LIBRARY_DIRS="${MKLROOT}/lib/intel64" \
  -D LAPACK_LIBRARY_NAMES="mkl_intel_lp64;mkl_intel_thread;mkl_core" \
  -D Boost_INCLUDE_DIRS="${BOOST}/include" \
  -D BoostLib_LIBRARY_DIRS="${BOOST}/lib" \
  -D BoostLib_INCLUDE_DIRS="${BOOST}/include" \
  -D Netcdf_LIBRARY_DIRS="${NCDIR}/lib" \
  -D Netcdf_INCLUDE_DIRS="${NCDIR}/include" \
  -D Matio_LIBRARY_DIRS="${MATIO}/lib" \
  -D Matio_INCLUDE_DIRS="${MATIO}/include" \
  -D Trilinos_ENABLE_OpenMP=ON \
  -D Trilinos_HIDE_DEPRECATED_CODE=ON \
  $EXTRA_ARGS \
  ${TRILINOS_SOURCE}

This time to use a gcc version > 4.7.2,  i am using CentOS 7.3 (gcc 4.8.5) and Intel Compiler 2015 on a virtual machine.
When i try to build i receive this error:

[ 84%] Building CXX object packages/muelu/test/simple1D/CMakeFiles/MueLu_simple1D-UncoupledAggregation.dir/simple1D-UncoupledAggregation.cpp.o
/home/pminelli/Documents/trilinos-12.10.1-Source/packages/muelu/test/simple1D/simple1D-UncoupledAggregation.cpp(274): error: no instance of function template "main_" matches the argument list
            argument types are: (Teuchos::CommandLineProcessor, int, char **)
          return main_<double,int,long,Node>(clp, argc, argv);
                 ^

compilation aborted for /home/pminelli/Documents/trilinos-12.10.1-Source/packages/muelu/test/simple1D/simple1D-UncoupledAggregation.cpp (code 2)
make[2]: *** [packages/muelu/test/simple1D/CMakeFiles/MueLu_simple1D-UncoupledAggregation.dir/simple1D-UncoupledAggregation.cpp.o] Error 2
make[1]: *** [packages/muelu/test/simple1D/CMakeFiles/MueLu_simple1D-UncoupledAggregation.dir/all] Error 2
make: *** [all] Error 2

Is there anyone that can help me to solve this build error?

Thanks in advance

Pierpaolo





More information about the Trilinos-Users mailing list