Hi Ben, Just -g and O0 The linking problem is on Blue Waters. I will try opt/devel. There was another group member who had tried with opt in the past and he ran into problems (I'm not sure what those were).
Thanks, Jim On Thu, Jun 20, 2013 at 11:57 AM, Kirk, Benjamin (JSC-EG311) < [email protected]> wrote: > Can you report the debug compiler flags that are being used? We attach > libstdc++ internal debugging flags where supported, and this could be > causing problems in your case if you are linking to an application that > doesn't use our flags. Note this is only for gcc compilers. > > Do opt/devel methods work ok? > > Also, it wasn't clear to me - is the linking issue on Blue Waters or > locally? > > Thanks, > > -Ben > > On Jun 20, d2013, at 5:50 PM, "Jim Fonseca" <[email protected]> wrote: > > > Hi, > > > > When I build libMesh on one machine (Blue Waters, config.log attached) > > I can see the following symbols. > > nm libmesh_dbg.so.0.0.0 | grep PetscVector | grep insert | grep DenseSub > > 00000000011828ca W > > > _ZN7libMesh11PetscVectorIdE6insertERKNS_14DenseSubVectorIdEERKNSt7__debug6vectorIjSaIjEEE > > > > > > When I build libMesh on a local cluster, there are more symbols defined. > > (config.log also attached) > > nm libmesh_dbg.so.0.0.0 | grep PetscVector | grep insert | grep DenseSub > > 0000000001092af0 T > > > .text._ZN7libMesh11PetscVectorIdE6insertERKNS_14DenseSubVectorIdEERKSt6vectorIjSaIjEE > > 0000000001092af0 W > > > _ZN7libMesh11PetscVectorIdE6insertERKNS_14DenseSubVectorIdEERKSt6vectorIjSaIjEE > > > > I have tried this with libMEsh master from both May 15th( as suggested by > > PETSc developers for compatibility with PETSc 3.4.0) and libMesh master > > from yesterday. > > > > Linking errors I get look like > > > /u/sciteam/jfonseca/NEMO5_PETSc_34_dynamic_MAGMA/prototype/lib/libnemo.so: > > undefined reference to > > `libMesh::PetscVector<double>::insert(libMesh::DenseSubVector<double> > > const&, std::vector<unsigned int, std::allocator<unsigned int> > const&)' > > > > Thanks, > > Jim > > > > > > -- > > Jim Fonseca, PhD > > Research Scientist > > Network for Computational Nanotechnology > > Purdue University > > 765-496-6495 > > www.jimfonseca.com > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Windows: > > > > Build for Windows Store. > > > > http://p.sf.net/sfu/windows-dev2dev > > _______________________________________________ > > Libmesh-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/libmesh-users > -- Jim Fonseca, PhD Research Scientist Network for Computational Nanotechnology Purdue University 765-496-6495 www.jimfonseca.com ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
