Mesquite cannot be linked MESQUITE_NS=Mesquite2
Created by: FilLTP89
#Error when compiling with linking: Mesquite: undefined reference to vtable for Mesquite2
Expectations
Link correctly Mesquite headers to my code
Current Behavior
The code cannot link Mesquite libraries, with a strange error: undefined reference to vtable for Mesquite2
Motivation and Context
I need Mesquite routines to run a code for mesh generation
Definition of Done
The Mesquite routines helps in
- [1 ] shifting the nodes coordinates to mesh complex interfaces.
Possible Solution
Change the namespace Mesquite2 to Mesquite
Your Environment
MSQ_INCLUDE = -I/gpfs/home/gattif/LOCAL/mesquite/include MSQ_LIBRARY = -L/gpfs/home/gattif/LOCAL/mesquite/lib intel compilers 2017 (mpiicc,icc,icpc)
Mesquite installed as:
cmake
-DTrilinos_ENABLE_Mesquite=ON
-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION=ON
-DTPL_ENABLE_BLAS=OFF
-DBUILD_SHARED_LIBS=ON
-DTrilinos_ENABLE_FLOAT=ON
-DTrilinos_ENABLE_COMPLEX=ON
-DTrilinos_ENABLE_TESTS=ON
-DCMAKE_INSTALL_PREFIX=/home/gattif/LOCAL/mesquite
../trilinos-12.12.1-Source
make -j 8