libstk_mesh_base in 12.6.1 includes references to undefined stk::CommBuffer
Created by: bavier
Building examples in TrilinosCouplings from the Trilinos 12.6.1 release tarball leads to the following build failures for me:
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::communicate()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::~CommSparse()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::all_reduce_impl(int, unsigned long const*, unsigned long*, unsigned int, int)'
../../../stk/stk_util/stk_util/use_cases/libstk_util_use_cases.so.12.6.1: undefined reference to `stk::BroadcastArg::BroadcastArg(int, int, char**)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::CommBroadcast(int, int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::CommSparse(int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBuffer::pack_overflow() const'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::all_reduce(int, void (*)(void*, void*, int*, int*), void*, void*, unsigned int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::communicate()'
../../../stk/stk_unit_tests/stk_mesh_fixtures/libstk_mesh_fixtures.so.12.6.1: undefined reference to `stk::parallel_machine_rank(int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::parallel_machine_barrier(int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::all_write_string(int, std::ostream&, std::string const&)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::send_buffer()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::allocate_buffers(int, unsigned int const*, unsigned int const*)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::~CommBroadcast()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::rank_error(char const*, int) const'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::allocate_buffers(unsigned int, bool, bool)'
../../../stk/stk_util/stk_util/use_cases/libstk_util_use_cases.so.12.6.1: undefined reference to `stk::BroadcastArg::~BroadcastArg()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::rank_error(char const*, int) const'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::communicate()'
../../../stk/stk_unit_tests/stk_mesh_fixtures/libstk_mesh_fixtures.so.12.6.1: undefined reference to `stk::parallel_machine_size(int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::~CommAll()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::recv_buffer()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::CommAll(bool)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBuffer::unpack_overflow() const'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::generate_parallel_unique_ids(unsigned long, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long, int)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommSparse::allocate_buffers()'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommBroadcast::allocate_buffer(bool)'
../../../stk/stk_mesh/stk_mesh/base/libstk_mesh_base.so.12.6.1: undefined reference to `stk::CommAll::CommAll(int, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [packages/trilinoscouplings/examples/fenl/TrilinosCouplings_fenl_pce.exe] Error 1
And similarly for several other examples, though the error seems like it would cause trouble for any use of the stk_mesh_base library.
The issue appears to be that the stk_util_parallel library was disabled in the 12.6.1 release branch: 8fa32589, whose comment appears to suggest the intent was to disable the test, rather than removing the library completely?