Giter Site home page Giter Site logo

Comments (5)

balos1 avatar balos1 commented on September 13, 2024

Can you try other versions of OpenMPI, such as 4.1.2? Seems like it could be an OpenMPI problem. I am using OpenMPI 5.x with gcc 8.5 and have not had an issue.

from sundials.

Steven-Roberts avatar Steven-Roberts commented on September 13, 2024

I tried OpenMPI 4.1.2 and GCC 13.2 (via spack instead of system packages) and still get the same issue. Interestingly when building on quartz with OpenMPI 4.1.2 it compiles fine. I'm not sure what to make of that.

The CXX_serial/ark_analytic_sys example is compiled with g++ (and not mpicxx), which I think is fine, but somehow when linking, the MPI functions are needed...

from sundials.

balos1 avatar balos1 commented on September 13, 2024

What CMake version are you using? As of SUNDIALS 7, when you build SUNDIALS with MPI enabled all of SUNDIALS requires MPI because of the new SUNComm (so that is why the MPI symbols are required). However, CMake should be adding the MPI::MPI_CXX target in and thus the MPI libraries should be getting linked to (even though youre compiling with g++). In older CMake versions it did a bad job of propagating things related to MPI correctly.

from sundials.

Steven-Roberts avatar Steven-Roberts commented on September 13, 2024

What CMake version are you using?

3.26.5

from sundials.

Steven-Roberts avatar Steven-Roberts commented on September 13, 2024

Fixed in #469

from sundials.

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.