-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Move functionality to submodules #338
Comments
I am okay with making submodules match MPI function groupings. The main thing I would like to see is that the interface is consistent. So if we do it in one place we do it everywhere, if possible. |
I agree. I chose |
At first glance |
It really should be |
Since we're talking about changing the MPI naming convention, and Julia has dispatch: I mean, MPI is a package by itself. I believe submodules should be used in this context to: |
If we do name the module |
People will expect the type name to be one of Changing the function name is more easily possible. I think that object-oriented MPI bindings are not a good pattern to follow because Julia has multiple dispatch. In C++, one would write |
I would be ok with not doing submodules. |
I am okay without submodules as well and like |
I can live with that. |
Should we make submodules match MPI function groupings? I've done this for certain additions (
MPI.Types
forMPI_Type_XXX
functions,MPI.File
forMPI_File_XXX
functions). Should we do this for others? e.g.MPI_Comm_XXX
,MPI_Cart_XXX
,MPI_Win_XXX
.This is slightly complicated by the fact that
Comm
andWin
are already used by type names. So in that case we would either need to rename the types (e.g. toCommunicator
andWindow
), or use different names for the modules (one convention in Julia is to use the plural name for the module, e.g.Comms
, so that the function would beMPI.Comms.rank
).Thoughts?
The text was updated successfully, but these errors were encountered: