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

Daniel #89

Merged
merged 21 commits into from
Jul 30, 2024
Merged

Daniel #89

merged 21 commits into from
Jul 30, 2024

Conversation

djdunning
Copy link
Collaborator

Updated the Pull Request. This is the pull request with MPI types, but it also has some CMake changes to handle different linking libraries for each example.

Everything built on Darwin with No Kokkos, Serial Kokkos, Cuda Kokkos, and Cuda/MPI Kokkos. Hopefully it works for anyone else trying it out.

mpi_datatype_ = MPI_DOUBLE;
}
else {
printf("Your entered MPIArrayKokkos type is not a supported type for MPI communications and is being set to int\n");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should say that it is not supported by Matar, and just refer to where it can be added to avoid emails.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would typeid support custom MPI data types?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it could if it was added in as an option that people wanted. I figured right now there's so few data types we actually need.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they are grouped as they are in the declarations. I'll make sure

update_host();
MPI_Isend(host_pointer(), count, mpi_datatype_, dest, tag, comm, &mpi_request_);
#endif
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets move isend and irecv so its after send and recv for consistent grouping like the halo prototypes

@djdunning djdunning merged commit 176216f into main Jul 30, 2024
2 checks passed
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.

2 participants