Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libstk_mesh_base in 12.6.1 includes references to undefined stk::CommBuffer #169

Closed
bavier opened this issue Mar 2, 2016 · 1 comment
Closed
Labels
impacting: configure or build The issue is primarily related to configuring or building MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. pkg: STK

Comments

@bavier
Copy link
Contributor

bavier commented Mar 2, 2016

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: 8fa3258, whose comment appears to suggest the intent was to disable the test, rather than removing the library completely?

@jhux2 jhux2 added impacting: configure or build The issue is primarily related to configuring or building pkg: STK labels Mar 3, 2016
@github-actions
Copy link

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity.
If you would like to keep this issue open please add a comment and remove the MARKED_FOR_CLOSURE label.
If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impacting: configure or build The issue is primarily related to configuring or building MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. pkg: STK
Projects
None yet
Development

No branches or pull requests

3 participants