[Trilinos-Users] [Trilinos-Help] Problem with shared installation

amjad ali amjad11 at gmail.com
Wed Oct 8 23:32:40 MDT 2008


>
> You are pulling in two lapack libraries on the link line:
>
> /home/amjad/softwares/petsc-2.3.3-p11/externalpackages/fblaslapack/lapack3/d
> potrs.f:1:
> multiple definition of `dposv_'
>
> /home/amjad/softwares/petsc-2.3.3-p11/externalpackages/fblaslapack/linux-gnu
> -openmpi/libflapack.a(dposv.o):/home/amjad/softwares/petsc-2.3.3-p11/externa
> lpackages/fblaslapack/lapack2/dposv.f:1:
>
> This is what is causing the multiple definitions.

OK. But when I configure with --disable-shared then make and make
install works fine.

 Trilinos 8.0, it is
> necessary to use -DHAVE_CONFIG_H when building your code that will link
> against Trilinos.

Is is so also for Trilinos 9.0.

How to use -DHAVE_CONFIG_H?

regards,
AA.



More information about the Trilinos-Users mailing list