Open seunggihong opened 1 month ago
When i run to following command :
$ cmake ../ -DBUILD_BENCHMARK=1 -DUSE_CUDA=1 -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda -DUSE_NCCL=1 -DUSE_MPI=1 $ make
I have this issue.
[ 93%] Linking CXX executable benchmark /usr/bin/ld: ../libgloo.a(file_store.cc.o): in function `gloo::rendezvous::FileStore::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': file_store.cc:(.text+0x1c22): undefined reference to `gloo::rendezvous::Store::kDefaultTimeout' /usr/bin/ld: ../libgloo.a(file_store.cc.o): in function `gloo::rendezvous::FileStore::wait(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)': file_store.cc:(.text._ZN4gloo10rendezvous9FileStore4waitERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE[_ZN4gloo10rendezvous9FileStore4waitERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE]+0xa): undefined reference to `gloo::rendezvous::Store::kDefaultTimeout' /usr/bin/ld: ../libgloo.a(prefix_store.cc.o): in function `gloo::rendezvous::PrefixStore::wait(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)': prefix_store.cc:(.text._ZN4gloo10rendezvous11PrefixStore4waitERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE[_ZN4gloo10rendezvous11PrefixStore4waitERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EE]+0xa): undefined reference to `gloo::rendezvous::Store::kDefaultTimeout' collect2: error: ld returned 1 exit status make[2]: *** [gloo/benchmark/CMakeFiles/benchmark.dir/build.make:131: gloo/benchmark/benchmark] Error 1 make[1]: *** [CMakeFiles/Makefile2:258: gloo/benchmark/CMakeFiles/benchmark.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
How can i solve it?
Thanks.
Seems like the benchmark code is broken. We probably need to fix it up.
benchmark
When i run to following command :
$ cmake ../ -DBUILD_BENCHMARK=1 -DUSE_CUDA=1 -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda -DUSE_NCCL=1 -DUSE_MPI=1 $ make
I have this issue.
How can i solve it?
Thanks.