Comments (1)
I believe that MPI_CXX is the correct dependency. According to the documentation of FindMPI (https://cmake.org/cmake/help/v3.29/module/FindMPI.html),
The module exposes the components C, CXX, MPICXX and Fortran. Each of these controls the various MPI languages to search for. The difference between CXX and MPICXX is that CXX refers to the MPI C API being usable from C++, whereas MPICXX refers to the MPI-2 C++ API that was removed again in MPI-3.
Since Boost.MPI is a C++ library and has no C source files, MPI_CXX should be the right target, according to the documentation above.
That said, the CMakeLists.txt file for MPI has been changed to link to MPI_C instead (boostorg/mpi@f2f586e). I don't think this change is correct, for the reason given above.
from boost_install.
Related Issues (20)
- Versioned symlinks are now installed, but used to not be
- PDB files should be installed along with DLLs HOT 1
- staging-prefix not respected by cmake files HOT 3
- Non-boost dependencies included in INTERFACE_LINK_LIBRARIES for shared libraries HOT 9
- Some CMake options are not marked as advanced HOT 1
- cmake configs don't allow static vs shared library paths
- Building without a library seems to install its headers HOT 2
- Boost_USE_STATIC_RUNTIME when not set should be autodetected from CMAKE_MSVC_RUNTIME_LIBRARY
- Why is "BOOST_ALL_NO_LIB" set automatically? HOT 12
- Boost.Stacktrace libraries are not being installed by `b2 install` HOT 2
- BoostDetectToolset.cmake needs to be updated to support detection of vc143 toolset with MSVC 2022 HOT 3
- IntelLLVM is not supported HOT 8
- boost_mpi tries to find the C++ MPI API HOT 1
- boost's cmake config files are not compatible with clang-cl HOT 4
- Boost_COMPILER should accept a list HOT 1
- Exported CMake config should use thirdparty lib targets and preferably find them on its own HOT 1
- boost_install license HOT 1
- Boost_USE_STATIC_LIBS deviates from FindBoost.cmake behaviour HOT 5
- [boost1.68]Specifying more parameters will not generate cmake files HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost_install.