gfd-dennou-club / ruby-mpi

A ruby binding of MPI
MIT License
34 stars 5 forks source link

mpi_alltoallv and mpi_alltoallw #8

Open bkmgit opened 3 years ago

bkmgit commented 3 years ago

Consider adding mpi_alltoallv and/or mpi_altoallw

seiya commented 3 years ago

I am going to add some functions including mpi_alltoallv.

To implement mpi_alltoallw, handling multiple types is necessary. In the current implementation, the data type is determined by the buffer type (type of NArray). A NArray object has only one data type. Therefore, it is difficult to handle multiple types with the current way. What kinds of API do you think are possible for mpi_alltoallw?

bkmgit commented 3 years ago

Happy to implement mpi_alltoallv if that is ok, though will likely need some review

Probably before adding many other MPI functions, may want to also look at:

seiya commented 3 years ago

I added some functions and pushed the blanch (feature/mpi_functions). Could you confirm that the alltoallv is working as expected?

bkmgit commented 3 years ago

Thanks will check it out.