Objet : Developers list for StarPU
Archives de la liste
Re: [Starpu-devel] StarPU feature suggestion on a collective MPI operation
Chronologique Discussions
- From: Samuel Thibault <samuel.thibault@inria.fr>
- To: Henrik Henriksson <henhe459@student.liu.se>
- Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
- Subject: Re: [Starpu-devel] StarPU feature suggestion on a collective MPI operation
- Date: Tue, 2 Apr 2019 15:25:27 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=samuel.thibault@inria.fr; spf=Neutral smtp.mailfrom=samuel.thibault@ens-lyon.org; spf=Pass smtp.helo=postmaster@hera.aquilenet.fr
- Ironport-phdr: 9a23:YdLkeBU5Nosm5a+clLOLtZXJQGPV8LGtZVwlr6E/grcLSJyIuqrYbByBt8tkgFKBZ4jH8fUM07OQ7/m5HzRYqsrY+DBaKdoQDkdD0Z1X1yUbQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2agMu4zf299IPOaAtUmjW9falyLBKrpgnNq8Uam4RvJrssxhfTvndEZ+tayGx1KVmOmxrw+tq88IRs/ihNp/4t7dJMXbn/c68lUbFWETMqPnwv6sb2rxfDVwyP5nUdUmUSjBVFBhXO4Q/5UJnsrCb0r/Jx1yaGM8L4S7A0Qimi4LxwSBD0kicHNiU2/3/Rh8dtka9UuhOhpxh4w47JfIGYMed1c63Bcd8GQ2dKQ91cXDJdDIyic4QPDvIBPedGoIn7u1sOtga1CQ21CO/y1jNEmnr60Ksn2OojDA7GxhQtEdwOvnrKsdv7N6kSXu+pw6bVzzrDaP1Z1Czh6ITUaB0tve2AUKhufcfX1EIhFxnFjlKVqYH9Ij2azOENs3WF4OpkSOmhlW4nqwBqrTe128csjpXJjZ8Sx1Df7yp5xZs1KsO8SEJhfd6kEJpQuDqAOItrRsMiX3pluCc8yr0cuJ60ZjIGyJo9xxPGbfGMbouG4gr7WeqMIjp1hGhpdKyxihu860Ss1/HwWtWu3FpXtiZJj8fAu3MX2xHX5MWLUPhw80m71TqS2Q3e6udJKl0um6XBMZ4u2Lswm4ITsUvdGi/2n137jK+IeUU+4Oek8f7oYqz7pp+dM497lAf+PboymsClD+Q4KBACX2md+euiyL3u5VD1TbZKg/EsjKXUvp7XKd4GqqKlHwNZyJsv5w66Dzi80dQYmXcHLEhCeBKCl4XpIEvBIPXlDfihh1Sgiitrx/DHPrL6GJrNM3zDkKv6cLlj7U5c0xM/zdRf5pJTDLENOvXzWlX+tNDAFB82LxS0w/r7CNV6zo4eQn6PDbWDMKPKrF+E//8gLPeSZIALvDbwMPwl5//1jX8lgl8RZ6ap3ZUQaHCiEfRpPV+VYXvqgtcbEGcFpBAyTOLwiA7KbTkGR3u0RaM/rhE2DpinDpzYQYbl1LyM2ie2QsAHTntaF1yBF2uuc4SZHewBPnG8OMhkxwcNUKWsT8cd1RCkvRL+1/IzNePR5yAc847j1dJ8+unPvRA07z19ScqHhTLeB1pol38FEmdllJt0plZwnxLaifAh0q5oUOdL7vYMaT8UcJvVzuh0Edf3A16Tc9GSDVK3RdPgBis+HIhon40+Jn1lEtDntSjtmjKwCuZNxb2NHp09tKzGjSCoepRNjk3e3axktGEIB8tCMWr/1/x/+hLaQYfQjkSdmqCnaeISxnyU+Q==
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
- Organization: I am not organized
Hello,
Henrik Henriksson, le mar. 02 avril 2019 13:15:03 +0000, a ecrit:
> To formulate it differently, I want to copy the contents of multiple
> StarPU data handles into a single new continuous vector on all ranks. I
> understand that this is very similar to the idea of the data
> partitioning feature, but I haven't seen any mention of MPI together
> with data partitioning in the manual, so I assume that this isn't
> supported. If that assumption is wrong, I'd be very happy.
It is not integrated in the MPI interface, because I don't think it
needs to be :)
> void starpu_mpi_allgather_copy(starpu_data_handle_t *source_data_handles,
> int handle_count, starpu_data_handle_t destination_handle, MPI_Comm comm);
> void starpu_mpi_gather_copy(starpu_data_handle_t *source_data_handles, int
> handle_count, starpu_data_handle_t destination_handle, int root, MPI_Comm
> comm);
But then the question is how the data should be combined, which is
exactly what data partitioning is about :)
What you can do is on the receiving node to register the big vector,
partition it into pieces, run starpu_mpi_recv_submit() for each
piece (and the send on the sending nodes), and unpartition the big
vector. Then you have your whole vector. This can even be done
completely asynchronously with the partitioning planning.
Probably it'd be useful if you could contribute an example that we would
include in StarPU :)
Samuel
- [Starpu-devel] StarPU feature suggestion on a collective MPI operation, Henrik Henriksson, 02/04/2019
- Re: [Starpu-devel] StarPU feature suggestion on a collective MPI operation, Samuel Thibault, 02/04/2019
- Re: [Starpu-devel] StarPU feature suggestion on a collective MPI operation, Samuel Thibault, 02/04/2019
- Re: [Starpu-devel] StarPU feature suggestion on a collective MPI operation, Henrik Henriksson, 08/04/2019
- Re: [Starpu-devel] StarPU feature suggestion on a collective MPI operation, Samuel Thibault, 02/04/2019
- Re: [Starpu-devel] StarPU feature suggestion on a collective MPI operation, Samuel Thibault, 02/04/2019
Archives gérées par MHonArc 2.6.19+.