Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] [Starpu-bugs] Model debug compile problem

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] [Starpu-bugs] Model debug compile problem


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: Andrey Baranov <abaranov.ua@gmail.com>
  • Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] [Starpu-bugs] Model debug compile problem
  • Date: Wed, 19 Oct 2011 11:36:04 +0200
  • 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 Andrey,

Thanks for reporting the bug. It has been fixed in the Subversion server, and will be available in the next nightly release.

In the meantime, you can just use your modified local version.

Regards,

Nathalie

On 19/10/2011 01:03, Andrey Baranov wrote: Hello,

I was installing  StarPu nightly latest with option  --enable-model-debug and got error message:

core/perfmodel/perfmodel_history.c: In function '_starpu_update_perfmodel_history':
core/perfmodel/perfmodel_history.c:988: warning: initialization from incompatible pointer type
core/perfmodel/perfmodel_history.c:990: error: dereferencing pointer to incomplete type
core/perfmodel/perfmodel_history.c:991: error: dereferencing pointer to incomplete type
core/perfmodel/perfmodel_history.c:992: error: dereferencing pointer to incomplete type

Seems like this line is wrong:
struct starpu_data_handle_t *handle = task->buffers[i].handle;

This fix works fine for me:
starpu_data_handle handle = task->buffers[i].handle;

--
Thank you,
Andrey Baranov


_______________________________________________
Starpu-bugs mailing list
Starpu-bugs@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/starpu-bugs




Archives gérées par MHonArc 2.6.19+.

Haut de le page