Re: [Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread Dec, John A. (LARC-D206)
mber 13, 2010 12:42 PM To: Dec, John A. (LARC-D206) Cc: libmesh-users@lists.sourceforge.net Subject: Re: [Libmesh-users] Problem linking my code in debug mode On Mon, 13 Sep 2010, Roy Stogner wrote: > You're building main.*.o without GLIBCXX_DEBUG or > GLIBCXX_DEBUG_PEDANTIC defined

Re: [Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread Roy Stogner
On Mon, 13 Sep 2010, Roy Stogner wrote: > You're building main.*.o without GLIBCXX_DEBUG or > GLIBCXX_DEBUG_PEDANTIC defined, so it's using standard STL vectors. Make that _GLIBCXX etc; I forgot the leading underscores. Just cut and paste (or better yet, auto-import) the -D arguments from our b

Re: [Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread Roy Stogner
I think I've found your problem: On Mon, 13 Sep 2010, Dec, John A. (LARC-D206) wrote: > g++ -DDEBUG -DPETSC_USE_DYNAMIC_LIBRARIES -g -fPIC > -I/root/libmesh/include/base > -I/root/libmesh/include/enums > -I/root/libmesh/include/error_estimation > -I/root/libmesh/include/fe > -I/root/libmesh/incl

Re: [Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread Dec, John A. (LARC-D206)
ph: (757) 864-7023 cell: (757) 848-7629 -Original Message- From: Kirk, Benjamin (JSC-EG311) Sent: Monday, September 13, 2010 11:20 AM To: Dec, John A. (LARC-D206); libmesh-users@lists.sourceforge.net Subject: Re: [Libmesh-users] Problem linking my code in debug mode On 9/13/10 10:03 AM, &qu

Re: [Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread Kirk, Benjamin (JSC-EG311)
On 9/13/10 10:03 AM, "Dec, John A. (LARC-D206)" wrote: > Ben, > > Here are the compile and link lines as well as the link errors. I modified > makefile from one of the examples and it references the Make.Common file that > gets generated from ./configure when setting up the library. I recently

Re: [Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread John Peterson
On Mon, Sep 13, 2010 at 10:03 AM, Dec, John A. (LARC-D206) wrote: > Ben, > > Here are the compile and link lines as well as the link errors.  I modified > makefile from one of the examples and it references the Make.Common file that > gets generated from ./configure when setting up the library.

Re: [Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread Dec, John A. (LARC-D206)
`assemble_thermal(libMesh::EquationSystems&, std::basic_string, std::allocator > const&)': /root/FEAR/main.cpp:5064: undefined reference to `libMesh::DofMap::dof_indices(libMesh::Elem const*, std::vector >&, unsigned int) const' collect2: ld returned 1 exit status make:

Re: [Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread Kirk, Benjamin (JSC-EG311)
On 9/13/10 9:01 AM, "Dec, John A. (LARC-D206)" wrote: > While in debug mode, my code compiles without any problems, however in the > linking phase I get a bunch of undefined references to a couple of libMesh > functions. The functions in question are libMesh::System::add_variable, > libMesh::Equ

[Libmesh-users] Problem linking my code in debug mode

2010-09-13 Thread Dec, John A. (LARC-D206)
While in debug mode, my code compiles without any problems, however in the linking phase I get a bunch of undefined references to a couple of libMesh functions. The functions in question are libMesh::System::add_variable, libMesh::EquationSystems::build_solution_vector, and libMesh::DofMap::do