Giter Site home page Giter Site logo

Comments (9)

rasolca avatar rasolca commented on July 29, 2024 1

It is not a cmake problem. It is a problem with newer versions of Cray mpich.
MPI_CXX_FLOAT_COMPLEX, MPI_CXX_DOUBLE_COMPLEX and MPI_CXX_BOOL are not set (the MPI standard requires them even if the C++ bindings are not provided).
We opened a ticket about it some time ago but still no solution from HPE side.

from cosma.

kabicm avatar kabicm commented on July 29, 2024

Thanks Yi for a detailed error report.

Can you try putting MPI_C_FLOAT_COMPLEX instead of MPI_CXX_FLOAT_COMPLEX, and similarly for the double type at these lines:

return MPI_CXX_FLOAT_COMPLEX;

return MPI_CXX_DOUBLE_COMPLEX;

from cosma.

yaoyi92 avatar yaoyi92 commented on July 29, 2024

Yes, I can confirm the modification solves the problem. Thank you very much for the quick reply.

from cosma.

kabicm avatar kabicm commented on July 29, 2024

Great to hear that! Although I am still confused why this is a problem. @rasolca do you know why MPI_C works and MPI_CXX doesn't?

@yaoyi92 keep in mind that you can also use COSMA with gpu-aware MPI or with NCCL backends, as described in the README, that should be much more performant! This should be the biggest change in this version.

from cosma.

yaoyi92 avatar yaoyi92 commented on July 29, 2024

Thanks! I will check them out.

from cosma.

kabicm avatar kabicm commented on July 29, 2024

@yaoyi92 if it's not a problem for you, can you also try leaving the MPI_CXX prefixes there, but modifying the cmake:

find_package(MPI REQUIRED)

to find_package(MPI COMPONENTS C CXX REQUIRED).

Maybe this was the problem?

from cosma.

kabicm avatar kabicm commented on July 29, 2024

@rasolca do you propose then to put MPI_C_ in the code as a temporary solution?

from cosma.

rasolca avatar rasolca commented on July 29, 2024

In general not, but it is needed for Cray-EX systems.

from cosma.

kabicm avatar kabicm commented on July 29, 2024

Alright! As a temporary solution we modified this in commit 5e71fac until cray-mpich fixes it.

from cosma.

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.