Denis: I can not remove pytrilinos because I actually need it in trilinos.
Bruno: > add the flag that you need in SET(Trilinos_CXX_COMPILER_FLAGS) build@build-BLDCHROOT:12.10.1> find . -name \*.cmake -exec grep COMPILER_FLAGS {} \; -print SET( Trilinos_CXX_COMPILER_FLAGS "-g -xCORE-AVX2 -axMIC-AVX512,CORE-AVX512 -mkl -L${TACC_PYTHON_LIB} -lpython2.7 -DMPICH_SKIP_MPICXX -std=c++11 -O3 -DNDEBUG") SET(Trilinos_C_COMPILER_FLAGS "-g -xCORE-AVX2 -axMIC-AVX512,CORE-AVX512 -mkl -L${TACC_PYTHON_LIB} -lpython2.7 -O3 -DNDEBUG") SET(Trilinos_Fortran_COMPILER_FLAGS " -O3") ./lib/cmake/Trilinos/TrilinosConfig.cmake but that does not make itself into the deal link line. (Never mind any doubts about that dollar getting expanded correctly; the whole python2.7 is not there in the link line.) SET(Trilinos_EXTRA_LD_FLAGS) I'm not finding that in the trilinos documentation, but I've added -D Trilinos_EXTRA_LINK_FLAGS="${TACC_PYTHON_LIB}/libpython2.7.so" \ -D Trilinos_EXTRA_LD_FLAGS="${TACC_PYTHON_LIB}/libpython2.7.so" \ to the cmake line..... ...... and still those python libraries are not showing up. Here is where the CMakeError crashes: Run Build Command:"/usr/bin/gmake" "cmTC_dd9de/fast" /usr/bin/gmake -f CMakeFiles/cmTC_dd9de.dir/build.make CMakeFiles/cmTC_dd9de .dir/build gmake[1]: Entering directory `/tmp/dealii-build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_dd9de.dir/src.cxx.o /opt/intel/compilers_and_libraries_2017.4.196/linux/mpi/intel64/bin/mpicxx -DDEAL_II_HAVE_USABLE_FLAGS_DEBUG -fpic -ansi -w2 -wd21 -wd68 -wd135 -wd175 -wd177 -wd191 -wd193 -wd279 -wd327 -wd383 -wd981 -wd1418 -wd1478 -wd1572 -wd2259 -wd\ 2536 -wd3415 -wd15531 -wd111 -wd128 -wd185 -wd280 -qopenmp-simd -std=c++14 -std=c++14 -Wno-return-type -Wno-parentheses -O0 -g -gdwarf-2 -grecord-gcc-switches -std=c++14 -g -O0 -o CMakeFiles/cmTC_dd9de.dir/src.cxx.o -c /tmp/dealii-build\ /CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_dd9de /opt/apps/cmake/3.8.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dd9de.dir/link.txt --verbose=1 (followed by a link line and then unresolved references). Victor. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.