Coder Social home page Coder Social logo

Comments (2)

cwsmith avatar cwsmith commented on August 13, 2024

Thank you for reporting this. Apparently, the Cray compiler wrappers and CMake made a blood pact to set MPI_FOUND=true and not set any of the variables folks rely on to compile and link against MPI.

Specifically, for packages not using the Cray compiler wrappers (this is what omega_h does), this NERSC page suggests adding a bunch of logic after find_package(MPI) to define an foo-mpi target which contains the needed flags.

from omega_h.

zhangchonglin avatar zhangchonglin commented on August 13, 2024

@cwsmith: actually, just saw this on Summit too with gcc 7.5.0 and spectrum-mpi/10.4.0.3-20210112:

-- Kokkos_VERSION: 3.1.1
-- Omega_h_USE_libMeshb: OFF
-- Omega_h_USE_Gmsh: OFF
-- Omega_h_USE_Gmodel: OFF
-- Omega_h_USE_SEACASExodus: OFF
-- Omega_h_USE_pybind11: OFF
-- Omega_h_USE_CUDA: on
-- Omega_h_USE_MPI: on
-- Omega_h_USE_MPI: on
-- MPI_PREFIX: 
CMake Warning at CMakeLists.txt:102 (message):
  MPI Libraries not found, there may be linking errors! Try enabling shared
  libraries '-DBUILD_SHARED_LIBS=ON'.

from omega_h.

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.