Subject: [Libmesh-users] Compile error in running Libmesh
example in other directory




Hi,

Recently, I installed LibMesh v.1.1 and had no problem in running examples.

But, compile error occurs when example is moved to other directory.

The error message is

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Linking introduction_ex1-opt...
/usr/bin/ld: warning: libpetsc.so.3.7, needed by /usr/local/lib/libmesh_opt.so,
not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libmpifort.so.12, needed by
/usr/local/lib/libmesh_opt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libmpicxx.so.12, needed by /usr/local/lib/libmesh_opt.so,
not found (try using -rpath or -rpath-link)
introduction_ex1.x86_64-unknown-linux-gnu.opt.o: In function `main':
introduction_ex1.C:(.text+0xc0): undefined reference to
`libMesh::LibMeshInit::LibMeshInit(int, char const* const*,
ompi_communicator_t*)'
introduction_ex1.C:(.text+0x214): undefined reference to
`libMesh::ReplicatedMesh::ReplicatedMesh(libMesh::Parallel::Communicator
const&, unsigned char)'
introduction_ex1.C:(.text+0x2c2): undefined reference to
`libMesh::ReplicatedMesh::~ReplicatedMesh()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o: In function
`libMesh::ReplicatedMesh::clone() const':
introduction_ex1.C:(.text._ZNK7libMesh14ReplicatedMesh5cloneEv[libMesh::ReplicatedMesh::clone()
const]+0x2d): undefined reference to
`libMesh::ReplicatedMesh::ReplicatedMesh(libMesh::ReplicatedMesh const&)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o: In function
`libMesh::Mesh::~Mesh()':
introduction_ex1.C:(.text._ZN7libMesh4MeshD2Ev[_ZN7libMesh4MeshD5Ev]+0x8):
undefined reference to `libMesh::ReplicatedMesh::~ReplicatedMesh()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o: In function
`libMesh::Mesh::~Mesh()':
introduction_ex1.C:(.text._ZN7libMesh4MeshD0Ev[_ZN7libMesh4MeshD5Ev]+0xc):
undefined reference to `libMesh::ReplicatedMesh::~ReplicatedMesh()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x30): undefined reference to
`libMesh::ReplicatedMesh::clear()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x90): undefined reference to
`libMesh::ReplicatedMesh::update_parallel_id_counts()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x98): undefined reference to
`libMesh::ReplicatedMesh::n_active_elem() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0xa0): undefined reference to
`libMesh::ReplicatedMesh::point(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0xc8): undefined reference to
`libMesh::ReplicatedMesh::node_ptr(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0xd0): undefined reference to
`libMesh::ReplicatedMesh::node_ptr(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0xd8): undefined reference to
`libMesh::ReplicatedMesh::query_node_ptr(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0xe0): undefined reference to
`libMesh::ReplicatedMesh::query_node_ptr(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0xf8): undefined reference to
`libMesh::ReplicatedMesh::elem_ptr(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x100): undefined reference to
`libMesh::ReplicatedMesh::elem_ptr(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x118): undefined reference to
`libMesh::ReplicatedMesh::query_elem_ptr(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x120): undefined reference to
`libMesh::ReplicatedMesh::query_elem_ptr(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x138): undefined reference to
`libMesh::ReplicatedMesh::add_point(libMesh::Point const&, unsigned int,
unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x140): undefined reference to
`libMesh::ReplicatedMesh::add_node(libMesh::Node*)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x148): undefined reference to
`libMesh::ReplicatedMesh::insert_node(libMesh::Node*)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x150): undefined reference to
`libMesh::ReplicatedMesh::delete_node(libMesh::Node*)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x158): undefined reference to
`libMesh::ReplicatedMesh::renumber_node(unsigned int, unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x160): undefined reference to
`libMesh::ReplicatedMesh::add_elem(libMesh::Elem*)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x168): undefined reference to
`libMesh::ReplicatedMesh::insert_elem(libMesh::Elem*)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x170): undefined reference to
`libMesh::ReplicatedMesh::delete_elem(libMesh::Elem*)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x178): undefined reference to
`libMesh::ReplicatedMesh::renumber_elem(unsigned int, unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x188): undefined reference to
`libMesh::ReplicatedMesh::renumber_nodes_and_elements()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x190): undefined reference to
`libMesh::ReplicatedMesh::fix_broken_node_and_element_numbering()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x1e0): undefined reference to
`libMesh::ReplicatedMesh::elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x1e8): undefined reference to
`libMesh::ReplicatedMesh::elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x1f0): undefined reference to
`libMesh::ReplicatedMesh::elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x1f8): undefined reference to
`libMesh::ReplicatedMesh::elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x200): undefined reference to
`libMesh::ReplicatedMesh::ancestor_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x208): undefined reference to
`libMesh::ReplicatedMesh::ancestor_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x210): undefined reference to
`libMesh::ReplicatedMesh::ancestor_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x218): undefined reference to
`libMesh::ReplicatedMesh::ancestor_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x220): undefined reference to
`libMesh::ReplicatedMesh::subactive_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x228): undefined reference to
`libMesh::ReplicatedMesh::subactive_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x230): undefined reference to
`libMesh::ReplicatedMesh::subactive_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x238): undefined reference to
`libMesh::ReplicatedMesh::subactive_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x240): undefined reference to
`libMesh::ReplicatedMesh::semilocal_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x248): undefined reference to
`libMesh::ReplicatedMesh::semilocal_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x250): undefined reference to
`libMesh::ReplicatedMesh::semilocal_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x258): undefined reference to
`libMesh::ReplicatedMesh::semilocal_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x260): undefined reference to
`libMesh::ReplicatedMesh::facelocal_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x268): undefined reference to
`libMesh::ReplicatedMesh::facelocal_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x270): undefined reference to
`libMesh::ReplicatedMesh::facelocal_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x278): undefined reference to
`libMesh::ReplicatedMesh::facelocal_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x280): undefined reference to
`libMesh::ReplicatedMesh::level_elements_begin(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x288): undefined reference to
`libMesh::ReplicatedMesh::level_elements_end(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x290): undefined reference to
`libMesh::ReplicatedMesh::level_elements_begin(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x298): undefined reference to
`libMesh::ReplicatedMesh::level_elements_end(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2a0): undefined reference to
`libMesh::ReplicatedMesh::pid_elements_begin(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2a8): undefined reference to
`libMesh::ReplicatedMesh::pid_elements_end(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2b0): undefined reference to
`libMesh::ReplicatedMesh::pid_elements_begin(unsigned short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2b8): undefined reference to
`libMesh::ReplicatedMesh::pid_elements_end(unsigned short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2c0): undefined reference to
`libMesh::ReplicatedMesh::type_elements_begin(libMesh::ElemType)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2c8): undefined reference to
`libMesh::ReplicatedMesh::type_elements_end(libMesh::ElemType)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2d0): undefined reference to
`libMesh::ReplicatedMesh::type_elements_begin(libMesh::ElemType) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2d8): undefined reference to
`libMesh::ReplicatedMesh::type_elements_end(libMesh::ElemType) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2e0): undefined reference to
`libMesh::ReplicatedMesh::unpartitioned_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2e8): undefined reference to
`libMesh::ReplicatedMesh::unpartitioned_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2f0): undefined reference to
`libMesh::ReplicatedMesh::unpartitioned_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x2f8): undefined reference to
`libMesh::ReplicatedMesh::unpartitioned_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x300): undefined reference to
`libMesh::ReplicatedMesh::active_unpartitioned_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x308): undefined reference to
`libMesh::ReplicatedMesh::active_unpartitioned_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x310): undefined reference to
`libMesh::ReplicatedMesh::active_unpartitioned_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x318): undefined reference to
`libMesh::ReplicatedMesh::active_unpartitioned_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x320): undefined reference to
`libMesh::ReplicatedMesh::ghost_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x328): undefined reference to
`libMesh::ReplicatedMesh::ghost_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x330): undefined reference to
`libMesh::ReplicatedMesh::ghost_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x338): undefined reference to
`libMesh::ReplicatedMesh::ghost_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x340): undefined reference to
`libMesh::ReplicatedMesh::evaluable_elements_begin(libMesh::DofMap const&,
unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x348): undefined reference to
`libMesh::ReplicatedMesh::evaluable_elements_end(libMesh::DofMap const&,
unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x350): undefined reference to
`libMesh::ReplicatedMesh::evaluable_elements_begin(libMesh::DofMap const&,
unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x358): undefined reference to
`libMesh::ReplicatedMesh::evaluable_elements_end(libMesh::DofMap const&,
unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x360): undefined reference to
`libMesh::ReplicatedMesh::flagged_elements_begin(unsigned char)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x368): undefined reference to
`libMesh::ReplicatedMesh::flagged_elements_end(unsigned char)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x370): undefined reference to
`libMesh::ReplicatedMesh::flagged_elements_begin(unsigned char) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x378): undefined reference to
`libMesh::ReplicatedMesh::flagged_elements_end(unsigned char) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x380): undefined reference to
`libMesh::ReplicatedMesh::flagged_pid_elements_begin(unsigned char, unsigned
short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x388): undefined reference to
`libMesh::ReplicatedMesh::flagged_pid_elements_end(unsigned char, unsigned
short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x390): undefined reference to
`libMesh::ReplicatedMesh::flagged_pid_elements_begin(unsigned char, unsigned
short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x398): undefined reference to
`libMesh::ReplicatedMesh::flagged_pid_elements_end(unsigned char, unsigned
short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3a0): undefined reference to
`libMesh::ReplicatedMesh::active_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3a8): undefined reference to
`libMesh::ReplicatedMesh::active_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3b0): undefined reference to
`libMesh::ReplicatedMesh::active_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3b8): undefined reference to
`libMesh::ReplicatedMesh::active_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3c0): undefined reference to
`libMesh::ReplicatedMesh::local_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3c8): undefined reference to
`libMesh::ReplicatedMesh::local_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3d0): undefined reference to
`libMesh::ReplicatedMesh::local_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3d8): undefined reference to
`libMesh::ReplicatedMesh::local_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3e0): undefined reference to
`libMesh::ReplicatedMesh::active_semilocal_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3e8): undefined reference to
`libMesh::ReplicatedMesh::active_semilocal_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3f0): undefined reference to
`libMesh::ReplicatedMesh::active_semilocal_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x3f8): undefined reference to
`libMesh::ReplicatedMesh::active_semilocal_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x400): undefined reference to
`libMesh::ReplicatedMesh::active_type_elements_begin(libMesh::ElemType)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x408): undefined reference to
`libMesh::ReplicatedMesh::active_type_elements_end(libMesh::ElemType)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x410): undefined reference to
`libMesh::ReplicatedMesh::active_type_elements_begin(libMesh::ElemType) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x418): undefined reference to
`libMesh::ReplicatedMesh::active_type_elements_end(libMesh::ElemType) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x420): undefined reference to
`libMesh::ReplicatedMesh::active_pid_elements_begin(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x428): undefined reference to
`libMesh::ReplicatedMesh::active_pid_elements_end(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x430): undefined reference to
`libMesh::ReplicatedMesh::active_pid_elements_begin(unsigned short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x438): undefined reference to
`libMesh::ReplicatedMesh::active_pid_elements_end(unsigned short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x440): undefined reference to
`libMesh::ReplicatedMesh::active_subdomain_elements_begin(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x448): undefined reference to
`libMesh::ReplicatedMesh::active_subdomain_elements_end(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x450): undefined reference to
`libMesh::ReplicatedMesh::active_subdomain_elements_begin(unsigned short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x458): undefined reference to
`libMesh::ReplicatedMesh::active_subdomain_elements_end(unsigned short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x460): undefined reference to
`libMesh::ReplicatedMesh::active_local_subdomain_elements_begin(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x468): undefined reference to
`libMesh::ReplicatedMesh::active_local_subdomain_elements_end(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x470): undefined reference to
`libMesh::ReplicatedMesh::active_local_subdomain_elements_begin(unsigned short)
const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x478): undefined reference to
`libMesh::ReplicatedMesh::active_local_subdomain_elements_end(unsigned short)
const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x480): undefined reference to
`libMesh::ReplicatedMesh::local_level_elements_begin(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x488): undefined reference to
`libMesh::ReplicatedMesh::local_level_elements_end(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x490): undefined reference to
`libMesh::ReplicatedMesh::local_level_elements_begin(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x498): undefined reference to
`libMesh::ReplicatedMesh::local_level_elements_end(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4a0): undefined reference to
`libMesh::ReplicatedMesh::local_not_level_elements_begin(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4a8): undefined reference to
`libMesh::ReplicatedMesh::local_not_level_elements_end(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4b0): undefined reference to
`libMesh::ReplicatedMesh::local_not_level_elements_begin(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4b8): undefined reference to
`libMesh::ReplicatedMesh::local_not_level_elements_end(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4c0): undefined reference to
`libMesh::ReplicatedMesh::not_level_elements_begin(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4c8): undefined reference to
`libMesh::ReplicatedMesh::not_level_elements_end(unsigned int)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4d0): undefined reference to
`libMesh::ReplicatedMesh::not_level_elements_begin(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4d8): undefined reference to
`libMesh::ReplicatedMesh::not_level_elements_end(unsigned int) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4e0): undefined reference to
`libMesh::ReplicatedMesh::active_local_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4e8): undefined reference to
`libMesh::ReplicatedMesh::active_local_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4f0): undefined reference to
`libMesh::ReplicatedMesh::active_local_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x4f8): undefined reference to
`libMesh::ReplicatedMesh::active_local_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x500): undefined reference to
`libMesh::ReplicatedMesh::active_not_local_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x508): undefined reference to
`libMesh::ReplicatedMesh::active_not_local_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x510): undefined reference to
`libMesh::ReplicatedMesh::active_not_local_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x518): undefined reference to
`libMesh::ReplicatedMesh::active_not_local_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x520): undefined reference to
`libMesh::ReplicatedMesh::not_local_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x528): undefined reference to
`libMesh::ReplicatedMesh::not_local_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x530): undefined reference to
`libMesh::ReplicatedMesh::not_local_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x538): undefined reference to
`libMesh::ReplicatedMesh::not_local_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x540): undefined reference to
`libMesh::ReplicatedMesh::not_subactive_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x548): undefined reference to
`libMesh::ReplicatedMesh::not_subactive_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x550): undefined reference to
`libMesh::ReplicatedMesh::not_subactive_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x558): undefined reference to
`libMesh::ReplicatedMesh::not_subactive_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x560): undefined reference to
`libMesh::ReplicatedMesh::not_active_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x568): undefined reference to
`libMesh::ReplicatedMesh::not_active_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x570): undefined reference to
`libMesh::ReplicatedMesh::not_active_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x578): undefined reference to
`libMesh::ReplicatedMesh::not_active_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x580): undefined reference to
`libMesh::ReplicatedMesh::not_ancestor_elements_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x588): undefined reference to
`libMesh::ReplicatedMesh::not_ancestor_elements_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x590): undefined reference to
`libMesh::ReplicatedMesh::not_ancestor_elements_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x598): undefined reference to
`libMesh::ReplicatedMesh::not_ancestor_elements_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5a0): undefined reference to
`libMesh::ReplicatedMesh::nodes_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5a8): undefined reference to
`libMesh::ReplicatedMesh::nodes_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5b0): undefined reference to
`libMesh::ReplicatedMesh::nodes_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5b8): undefined reference to
`libMesh::ReplicatedMesh::nodes_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5c0): undefined reference to
`libMesh::ReplicatedMesh::active_nodes_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5c8): undefined reference to
`libMesh::ReplicatedMesh::active_nodes_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5d0): undefined reference to
`libMesh::ReplicatedMesh::active_nodes_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5d8): undefined reference to
`libMesh::ReplicatedMesh::active_nodes_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5e0): undefined reference to
`libMesh::ReplicatedMesh::local_nodes_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5e8): undefined reference to
`libMesh::ReplicatedMesh::local_nodes_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5f0): undefined reference to
`libMesh::ReplicatedMesh::local_nodes_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x5f8): undefined reference to
`libMesh::ReplicatedMesh::local_nodes_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x600): undefined reference to
`libMesh::ReplicatedMesh::pid_nodes_begin(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x608): undefined reference to
`libMesh::ReplicatedMesh::pid_nodes_end(unsigned short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x610): undefined reference to
`libMesh::ReplicatedMesh::pid_nodes_begin(unsigned short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x618): undefined reference to
`libMesh::ReplicatedMesh::pid_nodes_end(unsigned short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x620): undefined reference to
`libMesh::ReplicatedMesh::bid_nodes_begin(short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x628): undefined reference to
`libMesh::ReplicatedMesh::bid_nodes_end(short)'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x630): undefined reference to
`libMesh::ReplicatedMesh::bid_nodes_begin(short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x638): undefined reference to
`libMesh::ReplicatedMesh::bid_nodes_end(short) const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x640): undefined reference to
`libMesh::ReplicatedMesh::bnd_nodes_begin()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x648): undefined reference to
`libMesh::ReplicatedMesh::bnd_nodes_end()'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x650): undefined reference to
`libMesh::ReplicatedMesh::bnd_nodes_begin() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTVN7libMesh4MeshE[vtable
for libMesh::Mesh]+0x658): undefined reference to
`libMesh::ReplicatedMesh::bnd_nodes_end() const'
introduction_ex1.x86_64-unknown-linux-gnu.opt.o:(.rodata._ZTIN7libMesh4MeshE[typeinfo
for libMesh::Mesh]+0x10): undefined reference to `typeinfo for
libMesh::ReplicatedMesh'
collect2: ld returned 1 exit status
make: *** [introduction_ex1-opt] Error 1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
And next is my makefile.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
Libmesh-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/libmesh-users



Programming list archiving by: Enterprise Git Hosting