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

Modify CMakeLists to allow using MPI instead of OpenMP #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gassmoeller
Copy link
Collaborator

This allows to compile FDPS using MPI when using cmake for the build system. You can run cmake -D FDPS_USE_MPI=ON . to activate it, then recompile, and then run with mpirun -np 2 ./sph.out. Miki and Tyler: I saw a crash with one of the models I have here, but I do not know if it is related to MPI or my model setup, you will have to check if this works for your models.
@NatsukiHosono: I was not sure if hybrid parallelization using OpenMP and MPI works at the moment. That is why I made it an exclusive choice, either OpenMP, or MPI. Do you know more if both work together?

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

Successfully merging this pull request may close these issues.

1 participant