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

Undefined reference to makeLB in collection_extended #2319

Closed
nlslatt opened this issue Jul 9, 2024 · 2 comments · Fixed by #2326
Closed

Undefined reference to makeLB in collection_extended #2319

nlslatt opened this issue Jul 9, 2024 · 2 comments · Fixed by #2326
Assignees

Comments

@nlslatt
Copy link
Collaborator

nlslatt commented Jul 9, 2024

Describe the bug
In tests/collection_extended on Gitlab CI with Intel 2023.2.0:

test_lb.extended.cc:(.text+0xe9b): undefined reference to `vt::objgroup::proxy::Proxy<vt::vrt::collection::lb::BaseLB> vt::vrt::collection::balance::LBManager::makeLB<vt::vrt::collection::lb::TemperedWMin>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
@cz4rs cz4rs self-assigned this Jul 15, 2024
@cz4rs
Copy link
Contributor

cz4rs commented Jul 15, 2024

Reproduced locally with Intel 2024.2.0:

/opt/intel/oneapi/compiler/2024.2/bin/icpx  -rdynamic -Wl,-rpath -Wl,/usr/lib64/mpich/lib -Wl,--enable-new-dtags tests/CMakeFiles/collection_extended.dir/unit/main.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_broadcast.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_checkpoint.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_collection_group.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_construct_no_idx.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_index_types.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_insert.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_lb.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_lb_lite.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_model_per_collection.extended.cc.o tests/CMakeFiles/collection_extended.dir/unit/collection/test_send.extended.cc.o -o tests/collection_extended  -Wl,-rpath,/usr/lib64/mpich/lib  lib/brotli/libbrotlicommon-static.a  lib/brotli/libbrotlidec-static.a  lib/brotli/libbrotlienc-static.a  lib/libfort/lib/libfort.a  lib/libgtest.a  -lunwind  src/libvt-debug.a  -ldl  /usr/lib64/libz.so  lib/fmt/libfmt-vtd.a  lib/EngFormat-Cpp/libEngFormat-Cpp.a  lib/checkpoint/src/libmagistrate.a  lib/brotli/libbrotlidec-static.a  lib/brotli/libbrotlienc-static.a  lib/brotli/libbrotlicommon-static.a  lib/libfort/lib/libfort.a  -lunwind  -ldl  /usr/lib64/mpich/lib/libmpicxx.so  /usr/lib64/mpich/lib/libmpi.so  /usr/lib64/libz.so && :
/usr/bin/ld: tests/CMakeFiles/collection_extended.dir/unit/collection/test_lb.extended.cc.o: in function `vt::tests::unit::lb::TestLoadBalancerOther_test_make_graph_symmetric_Test::TestBody()':
test_lb.extended.cc:(.text+0xc8a): undefined reference to `vt::objgroup::proxy::Proxy<vt::vrt::collection::lb::BaseLB> vt::vrt::collection::balance::LBManager::makeLB<vt::vrt::collection::lb::TemperedWMin>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'

@cz4rs
Copy link
Contributor

cz4rs commented Jul 15, 2024

Note: this is not specific to TemperedWMin. The same error shows up if I use RotateLB or TemperedLB in test_make_graph_symmetric test.
Commenting out the test is enough for the build to pass.

cz4rs added a commit that referenced this issue Jul 15, 2024
Fixes Intel 2023.2.0 undefined reference error.
cz4rs added a commit that referenced this issue Jul 17, 2024
Fixes Intel 2023.2.0 undefined reference error.
cz4rs added a commit that referenced this issue Jul 17, 2024
Fixes Intel 2023.2.0 undefined reference error.
cz4rs added a commit that referenced this issue Jul 17, 2024
Fixes Intel 2023.2.0 undefined reference error.
lifflander added a commit that referenced this issue Jul 17, 2024
…-reference

#2319: fix undefined reference to `makeLB` in collection_extended
cwschilly pushed a commit that referenced this issue Sep 20, 2024
Fixes Intel 2023.2.0 undefined reference error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants