Victor,

On Thursday, July 6, 2017 at 3:22:04 PM UTC-4, Victor Eijkhout wrote:

> > 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.)
>
Sorry, that's my bad. We actually don't read their linking flags instead we 
look for the TPLs in SET(Trilinos_TPL_LIBRARIES) That's where we pick up 
BLAS and Lapack from them so that's where you want to add libpython2.7.so

Best,

Bruno
 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to