On Fri, Apr 1, 2016 at 12:16 PM, Salazar De Troya, Miguel <
salazardet...@llnl.gov> wrote:

> That’s exactly what I have been doing, and I can compile the application
> with CMake, however, I was told that linking to all the libraries resulting
> from $LIBMESH_DIR/bin/libmesh-config —libs might be unnecessary and slow,
> as I explained below. I suppose that I should find a way within CMake to do
> what libtool does in the linking so not all libraries are used.
>

It's not unnecessary, those libraries are in $LIBMESH_LIBS because they
*are* necessary.

As for slow, I suppose it could make a difference with static linking, but
I don't think you should see much slowness while using dynamic libs...
these are all linker details though, and you shouldn't try to control them
at the user level.

-- 
John
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to