-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Error with MPI and C++ Examples Enabled #464
Comments
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. |
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 |
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 |
3.26.5 |
Fix a CMake bug that causes an MPI linking error in some C++ examples. Fixes #464
Fixed in #469 |
Fix a CMake bug that causes an MPI linking error in some C++ examples. Fixes #464
The build command
cmake -DENABLE_MPI=ON -DEXAMPLES_ENABLE_CXX=ON ..
causes the following build error for meI'm using gcc 8.5 and Open MPI 4.1.1. With mpich 4.1.1 it compiles without error.
The text was updated successfully, but these errors were encountered: