Skip to content
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

Updates for conduit to get MPI working #3

Open
vsoch opened this issue Nov 22, 2022 · 0 comments
Open

Updates for conduit to get MPI working #3

vsoch opened this issue Nov 22, 2022 · 0 comments

Comments

@vsoch
Copy link
Contributor

vsoch commented Nov 22, 2022

Currently, our MPI build will fail because we cannot find MPI and the reason is because we don't have flags set correctly.
From Cyrus:

For MPI, the best path is to set cmake opts:

-DMPI_C_COMPILER=zzz
-DMPI_CXX_COMPILER=zzz
-DMPI_Fortran_COMPILER=zzz

to point to the MPI compiler wrappers (from mpich, etc)

The other case (usually on cray systems) is when you use compiler wrappers as the main compiler.
You pass the cray or mpi compiler wrapper to cmake as CMAKE_C_COMPILER (etc) instead of MPI_C_COMPILER (etc).

In this case you want ENABLE_FIND_MPI to be off. That tells cmake to "trust me, mpi exists but don't look for it!"

See LLNL/conduit#1041 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant