Objet : Developers list for StarPU
Archives de la liste
- From: Maxim Abalenkov <maxim.abalenkov@gmail.com>
- To: Samuel Thibault <samuel.thibault@inria.fr>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] [daxpy with StarPU-MPI]
- Date: Tue, 16 Oct 2018 17:22:56 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=maxim.abalenkov@gmail.com; spf=Pass smtp.mailfrom=maxim.abalenkov@gmail.com; spf=None smtp.helo=postmaster@mail-wr1-f47.google.com
- Ironport-phdr: 9a23:rRI2ABUDEudqKNzxGhzjTG+ffVDV8LGtZVwlr6E/grcLSJyIuqrYbB2Ot8tkgFKBZ4jH8fUM07OQ7/i/HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9wIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZAo2ybJcAAOUcM+hWrYbzuVUOoxylCAa2GO/vzyVFhn/q0aA41ekqDAHI3BYnH9ILqHnaq8/6NagTUeCw0aLF0S7MYOlS2Tjj7ojIcRchoe+RVr93dMre00YuFwLAjlmKs4PqJCma1uATvGid7OpgUvyvhnUoqwF0uDevx8MshpPViYISz1DJ7CN0y5s7K92/TU50e9+kEJ1IuiGbMYt2WMIiTHtytCY00L0KoZG7fCkWyJQj3RHQcOaLc4mP4h/lSe2fIi94iWp7dL6jgxu+60utx+3mWsWqzlpGszBJn9bOu3wVyhDe5NSLRuF+80qiwzqDyQ/e5v1eLU03lqfWLYMqzKQqmZoJq0vDGzf7mEXog6+ScUUp4u2o5P7mYrXiv5OdOZV0hhznPqQglcGyA/40MgcJX2ic9uS80KPs8VflT7VNi/06iqjZsJbEKsQHvqO1HRNZ34I55xu8DzqqysoUkWcaIF5fdx+KjZDlO1TUL/D5Cfe/jU6skDBux/3eO73uGJrMLnnGkLv7Z7ly8FRTyA4twtBZ5JJUDa8BLen8Wk/0rtPYDxs5PxaozObgDdVxzpkeVn6XAq+FLKPStkeF5vkzI+aWfo8VoCv9J+E46PHwk382h1sdcLKt3ZsWc3C4Au9mL1+WYXrihdcBC2gKsRQkQOzrjl2CSz9TaGyoU6Iy/DFoQL6hWLzKQ52ghPS93CaxF4BSeigSEVmJDHrsMZmEWv0FdSaOCs5niD0NE7a7HdwPzxar4Srz27tiZsPe8ykVs5HkypAh4uTDlBR0/DZ9C8mb0GaTZ25xl2IMATQx2fYs8gRG1l6f3P0g0LRjHttJ6qYMC19ibM+O/6lBE9n3Hzn5UJKMQVeiTM+hBGhoHN00yt4KJU16Hof710yR72+RG7YQ0oezKtks6KuFhir+Is98zzDN06xz1wB7EPsKDnWvg+tEzyaWB4PNlB/ExaOjdKBZwzSUsWnfkiyBu0ZXVAM2WqLADygS
- 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>
Dear Samuel et al.,
Thank you very much for your reply. There is another small question. The “scatter—gather” snippet in the Handbook insists on using “starpu_task_insert” instead of the “starpu_mpi_task_insert” (http://starpu.gforge.inria.fr/doc/html/MPISupport.html#MPICollective). What is the correct routine to use? I would expect it should be the “starpu_mpi_task_insert”. So far, my code crashes with the normal “starpu_task_insert”.
—
Best wishes,
Maxim
On 16 Oct 2018, at 16:32, Samuel Thibault <samuel.thibault@inria.fr> wrote:Hello,
Maxim Abalenkov, le mar. 16 oct. 2018 16:25:18 +0100, a ecrit:I came up with an alternative:
starpu_mpi_scatter_detached(hx, NT, ROOT, MPI_COMM_WORLD, 0, 0, 0, 0);
But I am not sure it is correct.
The 4 nul parameters were missing in the documentation indeed.b) Is it possible to use vector filters to automatically partition the data in
StarPU-MPI, similarly to the normal StarPU?
It seems we haven't tested that case, but it should work, yes.Below is a code snippet I use in
the normal StarPU, but I’m not certain it can be adapted to StarPU-MPI, due to
the need of explicit registration of vector segments with MPI.
I guess you just need, after calling starpu_data_partition, to register
each subdata to MPI with starpu_mpi_data_register, which a different tag
for each piece.c) Finally, what is the recommended way of initialising the vector data in the
"scatter—gather" example? So far, I am initialising each vector segment on the
root processor. Is there a better way, e.g. initialising the entire vectors
before splitting them into segments and registering with StarPU and MPI?
You can initialize the whole vector in just one task, yes, it will be
more efficient, but it will be less parallel. You can also just let MPI
nodes initialize their own piece, which will allow for yet more parallelism.
Samuel
- [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 16/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Samuel Thibault, 16/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 16/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Nathalie Furmento, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Nathalie Furmento, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Nathalie Furmento, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 17/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Maxim Abalenkov, 16/10/2018
- Re: [Starpu-devel] [daxpy with StarPU-MPI], Samuel Thibault, 16/10/2018
Archives gérées par MHonArc 2.6.19+.