On Tue, 16 Jul 2019, Alexander Lindsay wrote:

> Actually there is no difference in the libraries being linked to;
> that was an erroneous report. Both MOOSE and the libmesh example
> link to both libhdf5_hl and libhdf5. (I'm still curious why both
> libraries get linked when only -lhdf5 was specified; I clearly don't
> know enough about this.)

At least via libtool it's possible for libraries to specify their own
dependencies, so that instead of having to specify "-lFoo -lEverything
-lThat -lIt -lDepends -lOn" you can just say "-lFoo" and let the
linker sort it out.

I see hdf5_hl mentioned in contrib/ NetCDF and ExodusII build files;
maybe they're doing something of that sort?

> I guess this only makes it more puzzling to me why for the same
> arguments to `exII::ex_create`, I get an error return code for MOOSE
> and not for the libmesh example.

Yeah, I have no ideas here.
---
Roy


_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to