Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: Maxim Abalenkov <maxim.abalenkov@gmail.com>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] [daxpy with StarPU-MPI]
- Date: Wed, 17 Oct 2018 18:33:50 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=nathalie.furmento@labri.fr; spf=None smtp.mailfrom=nathalie.furmento@labri.fr; spf=None smtp.helo=postmaster@v-zimmta02.u-bordeaux.fr
- Ironport-phdr: 9a23:QgTtvBHlKV1b6TpvbKaejJ1GYnF86YWxBRYc798ds5kLTJ7ypc+wAkXT6L1XgUPTWs2DsrQY07WQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDiwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95fWSJBHI2ycogBD+QOMulEsobzqFkBohWlCAmwB+7i0CNEimPs0KA41ekqDAHI3BYnH9ILqHnatM/6NLsSUe+vyKnIzCvMZO5W1zfg8ojIdw4uofeQXbJ3bMHczk8vGBnZjlWQs4PlOzKV2foXv2iV8upgT+evhHAhqwFtpTii3cMshZPSiYIPy1DI7yt5wJwsKNC+VUV1b9mkEJ5KuCGbMYt7WswiQ2B0uCY+0LIJooS3fCkNyJg/wx7QceeIc5KJ4h75WuaROzF1j29mdrKnnxu+7Eetx+/mWsWqzVpGsjBJnsfRun0NzRDf9NSLRuN+80qjwzqDyQ7e5vxeLUwqmqfWK4QtzqAumpYOt0nIAzX4l1/sjKCMc0Up4uio5PrjYrXhvpKcKZZ4iwD/MqQrn8y/Hf43PhQQU2SB5OSwzabs/UrjQLpXkPI5iLTZsZ/AKcQVvK61Gw5V0oA95BajFzqqzdsVkHsdIF5bZR6Lk5LlN0/TLP34F/uznUignC9ux//cP73hBpvNLmLEkLfkZbt97VRTyBYzzd9F45JUC68OLOj9Wk/srtzYCwE2Mwqow+bgE9h90pkRVnmVAq+YKq/Sv0WI6vo1I+aQfI8VpCr9K/896v71kX82g0UdfbG03ZcOdX+3AOpmLFudYXf3htcBEHwKvhYlTODwh12CXzlTZ2y9X60i/D07CYSmDZ3CRo+3mrCB0j27TdVqYTVjA0CNFD/BfYyAVvEPbzzadspogj0BE7GrQoss0xKpqif1zrNmKqzf/ShO5rz5090gweTPlRg29DE8IdmH1myLU2Y8ymUBWz8/2KFy50Jg0FKO17R/q/hRH8ZSof1TBFRpfaXAxvB3XoihEjnKec2EHRP/Go3/UGMBC+kpytpLWH5TXtCrjxTNxS2vWudHk7WBHp1y/LiOhyGtdfY48G7P0ewat3djWtFGbDX0gqd17QmVCZSbyxzExZbvTrwV2Wv2zEnGzWeKuxsGAhA1Q6TAWGwWPhGQsJHz4VnOQrazGfIpKFkZxA==
- 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>
That would be helpful, i intended to do it to have another example testing
the collective operations.
Thanks,
Nathalie
On oct. 17, 15:56, Maxim Abalenkov wrote:
> Hello Nathalie,
>
> False alarm. I have got it working on a Mac too. There was an error related
> to saving the vector segments into files.
>
> Maybe, I can contribute this example to the StarPU-MPI examples collection
> in the Git repository?
>
> —
> Best wishes,
> Maxim
>
> Maxim Abalenkov \\ maxim.abalenkov@gmail.com
> +44 7 486 486 505 \\ http://mabalenk.gitlab.io
>
> > On 17 Oct 2018, at 15:51, Maxim Abalenkov <maxim.abalenkov@gmail.com>
> > wrote:
> >
> > Dear Nathalie,
> >
> > Thank you very much for your help. I have corrected the mistakes you
> > noticed. The code runs and computes the result correctly on Linux.
> > However, it still crashes with the SIGABRT error on Mac. Please find the
> > debug log attached. Unfortunately, I can’t get a more meaningful output
> > from it.
> >
> > —
> > Best wishes,
> > Maxim
> >
> > <daxpy_mpi.c>
> > <daxpy_mpi.h>
> > <gdb.log>
> > <Makefile>
> > <tst_daxpy_mpi.c>
> >
> > Maxim Abalenkov \\ maxim.abalenkov@gmail.com
> > <mailto:maxim.abalenkov@gmail.com>
> > +44 7 486 486 505 \\ http://mabalenk.gitlab.io
> > <http://mabalenk.gitlab.io/>
> >
> >> On 17 Oct 2018, at 14:09, Nathalie Furmento <nathalie.furmento@labri.fr
> >> <mailto:nathalie.furmento@labri.fr>> wrote:
> >>
> >> Here some mistakes i found in your code.
> >>
> >> * when allocating hx and hy, you should specify
> >> sizeof(starpu_data_handle_t) and not sizeof(starpu_data_handle_t*)
> >>
> >> // allocate data handles
> >> starpu_data_handle_t *hx = (starpu_data_handle_t *)
> >> malloc((size_t)NT*sizeof(starpu_data_handle_t));
> >> starpu_data_handle_t *hy = (starpu_data_handle_t *)
> >> malloc((size_t)NT*sizeof(starpu_data_handle_t));
> >>
> >> * you need to check if hx[i] and hy[i] are valid before calling
> >> starpu_data_unregister()
> >>
> >> // unregister vector handles
> >> for (int i = 0; i < NT; i++)
> >> {
> >> if (hx[i]) starpu_data_unregister(hx[i]);
> >> if (hy[i]) starpu_data_unregister(hy[i]);
> >> }
> >>
> >> Everything else seems ok, let us know if it keeps failing, and more
> >> important, a backtrace of your segfault would be really useful. We
> >> cannot guess otherwise how it fails.
> >>
> >> Cheers,
> >>
> >> Nathalie
> >>
> >> On oct. 17, 12:54, Maxim Abalenkov wrote:
> >>> Dear Samuel et al.,
> >>>
> >>> I hope all is well with you. Would you please be so kind to check the
> >>> logic of my StarPU-MPI “daxpy” code? I’m following the Handbook code
> >>> snippet on StarPU-MPI. I use two vectors x, y of length N=10 split into
> >>> NT=5 segments nb=2 elements each. Running on a single processor with
> >>> mpiexec -np 1 ./tst_daxpy_mpi the first three segments are calculated
> >>> correctly, while the last two are unchanged. It seems there is a
> >>> synchronisation issue. In case I launch the code on two CPUs it crashes
> >>> with a segmentation fault. Thank you and have a good day ahead!
> >>>
> >>> —
> >
>
--
----------------------------------------------------------------------------
Dr Nathalie Furmento Ingénieure de recherche CNRS
Centre de Recherche INRIA Bordeaux Sud-Ouest http://www.labri.fr/~furmento/
200 avenue de la vieille Tour Tel: +33 (0)5 24 57 41 20
33405 Talence cedex, FRANCE Fax: +33 (0)5 24 57 40 41
----------------------------------------------------------------------------
- [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+.