GithubHelp home page GithubHelp logo

Comments (8)

zhanzy178 avatar zhanzy178 commented on May 14, 2024 4

and it seems some cmake files lack -lmpi_cxx, so there are some compile errors

Thanks for your advise! I met this error and fixed it by adding -lmpi_cxx -lmpi to target_link_libraries in CMakeLists.txt and sample/cpp/CMakeLists.txt

from fastertransformer.

jinluyang avatar jinluyang commented on May 14, 2024 1

and it seems some cmake files lack -lmpi_cxx, so there are some compile errors

from fastertransformer.

byshiue avatar byshiue commented on May 14, 2024

We will solve the issue 2 and 3 first.
And for issue 1, we will take some time to check.
Do you encounter any problem due to lacking -lmpi_cxx?

from fastertransformer.

jinluyang avatar jinluyang commented on May 14, 2024

We will solve the issue 2 and 3 first.
And for issue 1, we will take some time to check.
Do you encounter any problem due to lacking -lmpi_cxx?

yes, I encountered a "undefined reference to ompi_mpi_cxx_op_intercept "etc. , just like: https://stackoverflow.com/questions/17548436/openmpi-error-during-compilation.
with -DBUILD_GPT=ON -DBUILD_TF=ON,and set the LD_LIBRARY_PATH, sample/cpp/gpt_sample.cc throws that error

from fastertransformer.

byshiue avatar byshiue commented on May 14, 2024

We will solve the issue 2 and 3 first.
And for issue 1, we will take some time to check.
Do you encounter any problem due to lacking -lmpi_cxx?

yes, I encountered a "undefined reference to ompi_mpi_cxx_op_intercept "etc. , just like: https://stackoverflow.com/questions/17548436/openmpi-error-during-compilation.
with -DBUILD_GPT=ON -DBUILD_TF=ON,and set the LD_LIBRARY_PATH, sample/cpp/gpt_sample.cc throws that error

Do you run on different environment? You can propose a pull request to fix the bug since we can reproduce it in the docker we recommend.

from fastertransformer.

jinluyang avatar jinluyang commented on May 14, 2024

We will solve the issue 2 and 3 first.
And for issue 1, we will take some time to check.
Do you encounter any problem due to lacking -lmpi_cxx?

yes, I encountered a "undefined reference to ompi_mpi_cxx_op_intercept "etc. , just like: https://stackoverflow.com/questions/17548436/openmpi-error-during-compilation.
with -DBUILD_GPT=ON -DBUILD_TF=ON,and set the LD_LIBRARY_PATH, sample/cpp/gpt_sample.cc throws that error

Do you run on different environment? You can propose a pull request to fix the bug since we can reproduce it in the docker we recommend.

Yes, I run on a different environment, my mpi is openmpi 1.8.5. Alright, I get it~

from fastertransformer.

byshiue avatar byshiue commented on May 14, 2024

Close this bug because it is inactivated. Feel free to re-open this issue if you still have any problem.

from fastertransformer.

karthikiitm87 avatar karthikiitm87 commented on May 14, 2024

I made the changes suggested by @zhanzy178 at multiple places and I was able to build without any erros. Thanks @zhanzy178 for the inputs.

from fastertransformer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.