It was a very stupid question indeed !
Thanks for the answer, it is very useful (efence could indicate it).
Olivier Cessenat.

----- Mail original -----
De: "Samuel Thibault" <samuel.thiba...@inria.fr>
À: "Hardware locality user list" <hwloc-us...@open-mpi.org>
Envoyé: Mardi 29 Janvier 2013 17:52:53
Objet: Re: [hwloc-users] Hwloc and Electric Fence (libefence).

cesse...@free.fr, le Tue 29 Jan 2013 17:47:23 +0100, a écrit :
> ElectricFence Aborting: Allocating 0 bytes, probably a bug.

This is an old debate :)

It is not a bug, and is allowed by posix :)

You can set the environment variable

export EF_ALLOW_MALLOC_0=1

To allow malloc(0).

Samuel
_______________________________________________
hwloc-users mailing list
hwloc-us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users

Reply via email to