Open
Conversation
Contributor
Author
|
@byshiue for review. Is this an issue you have seen? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multi-gpu build with the following command fails on Ubuntu 20.04.5. Fix it by linking mpi_cxx library.
cmake -DSM=80 -DCMAKE_BUILD_TYPE=Release -DBUILD_PYT=ON -DBUILD_MULTI_GPU=ON ..; make -j/usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o: in functionMPI::Op::Init(void ()(void const, void*, int, MPI::Datatype const&), bool)':bert_triton_example.cc:(.text._ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb[_ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb]+0x1d): undefined reference to
ompi_mpi_cxx_op_intercept' /usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o: in functionMPI::Intracomm::Clone() const':bert_triton_example.cc:(.text._ZNK3MPI9Intracomm5CloneEv[_ZNK3MPI9Intracomm5CloneEv]+0x40): undefined reference to
MPI::Comm::Comm()' /usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o: in functionMPI::Graphcomm::Clone() const':bert_triton_example.cc:(.text._ZNK3MPI9Graphcomm5CloneEv[_ZNK3MPI9Graphcomm5CloneEv]+0x3b): undefined reference to
MPI::Comm::Comm()' /usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o: in functionMPI::Cartcomm::Sub(bool const*) const':bert_triton_example.cc:(.text._ZNK3MPI8Cartcomm3SubEPKb[_ZNK3MPI8Cartcomm3SubEPKb]+0xa1): undefined reference to
MPI::Comm::Comm()' /usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o: in functionMPI::Intracomm::Create_graph(int, int const*, int const*, bool) const':bert_triton_example.cc:(.text._ZNK3MPI9Intracomm12Create_graphEiPKiS2_b[_ZNK3MPI9Intracomm12Create_graphEiPKiS2_b]+0x42): undefined reference to
MPI::Comm::Comm()' /usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o: in functionMPI::Cartcomm::Clone() const':bert_triton_example.cc:(.text._ZNK3MPI8Cartcomm5CloneEv[_ZNK3MPI8Cartcomm5CloneEv]+0x3b): undefined reference to
MPI::Comm::Comm()' /usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o:bert_triton_example.cc:(.text._ZNK3MPI9Intracomm11Create_cartEiPKiPKbb[_ZNK3MPI9Intracomm11Create_cartEiPKiPKbb]+0xaa): more undefined references toMPI::Comm::Comm()' follow/usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o:(.data.rel.ro._ZTVN3MPI8DatatypeE[_ZTVN3MPI8DatatypeE]+0x78): undefined reference to
MPI::Datatype::Free()' /usr/bin/ld: CMakeFiles/bert_triton_example.dir/bert_triton_example.cc.o:(.data.rel.ro._ZTVN3MPI3WinE[_ZTVN3MPI3WinE]+0x48): undefined reference toMPI::Win::Free()'`