STK Mesh: Linker error combining Trilinos in RELEASE mode with user code in DEBUG builds
Created by: sayerhs
STK Mesh: I am seeing linker errors when I attempt to link Trilinos built with -DCMAKE_BUILD_TYPE=RELEASE
with user code that I am attempting to compile with -DCMAKE_BUILD_TYPE=DEBUG
Undefined symbols for architecture x86_64:
"stk::mesh::Bucket::check_for_invalid_connectivity_request(stk::mesh::ConnectivityType const*) const", referenced from:
stk::mesh::Bucket::begin_nodes(unsigned long) const in BdyIOPlanes.cpp.o
stk::mesh::Bucket::begin_nodes(unsigned long) const in NestedRefinement.cpp.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
Expectations
User should be able to link a RELEASE build of Trilinos with user code that is being compiled in DEBUG mode.
Current Behavior
STK mesh library built in release mode provides no implementation of the method Bucket::check_for_invalid_connectivity_request
and causes errors during linking with missing symbols.