I was wondering if I could get some information about how an installed build of libMesh expects to interact with the bundled libraries --- and specifically with NetCDF. Is -lmesh_METHOD meant also to provide all of the archives for the contrib libraries, or are there some special cases?
The reason that I ask is that I regularly use ExodusII for I/O, and on most systems that I use, it seems like I do not need to include an explicit link to libnetcdf. Specifically, -lmesh_METHOD does the trick. (This is also what is suggested by 'libmesh-config --libs'.) However, when NetCDF is enabled, libnetcdf always appears to be installed along with the libMesh library archive, and on at least one system, I recently determined that I need to include -lnetcdf as a linker flag to avoid undefined symbols. In case it is relevant, I use installed builds of libMesh, and I generally use static libraries (because shared gave me some trouble at some point in the last year or so). Thanks! -- Boyce ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel