[Trilinos-Users] Build Error MueLU Test

Pierpaolo Minelli pierpaolo.minelli at cnr.it
Tue Feb 21 02:36:19 EST 2017


Hi Andrey,

thank you for the fix. I was able to build all MueLU package and its test, now i have another problem with Sundance but i will write another post.

Thanks again

Pierpaolo


> Il giorno 17 feb 2017, alle ore 17:57, Prokopenko, Andrey V. <prokopenkoav at ornl.gov> ha scritto:
> 
> Hi Pierpaolo,
> 
> Thanks for reporting it. The fix is obvious. I'll push the patch today. If you need it urgently, change that line to
> 
>          return main_<double,int,long,Node>(clp, lib, argc, argv);
> 
> (notice "lib" as second argument).
> 
> -Andrey
> 
> 
> 
> On 2/17/17 9:16 AM, Pierpaolo Minelli wrote:
>> 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
>> 
>> 
>> 
>> _______________________________________________
>> Trilinos-Users mailing list
>> Trilinos-Users at trilinos.org
>> https://trilinos.org/mailman/listinfo/trilinos-users
>> 
> 



More information about the Trilinos-Users mailing list