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

Allreduce custom operations #54

Open
Tehforsch opened this issue Sep 25, 2022 · 0 comments
Open

Allreduce custom operations #54

Tehforsch opened this issue Sep 25, 2022 · 0 comments
Labels
communication Related to communication, mpi

Comments

@Tehforsch
Copy link
Owner

There are two paths to go here:

  1. Implement all the basic operations explicitly, using the SystemOperations of rsmpi and again for the local communication. This will allow disabling the user_operations feature in rsmpi which should remove the dependency on libffi.
  2. Allow user operations. rsmpi makes this easy, but implementing them for the local communication will be tricky, since the closures for rsmpi depend on DynBuffer types, which will probably be hard to construct without access to MPI. The way to go here might be to write a wrapper that can be called conveniently with a closure which will then be translated into the appropriate closure in MPI runs and just simply executed in local runs.
@Tehforsch Tehforsch added the communication Related to communication, mpi label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
communication Related to communication, mpi
Projects
None yet
Development

No branches or pull requests

1 participant