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.thibault_at_[hidden]>
Ã: "Hardware locality user list" <hwloc-users_at_[hidden]>
Envoyé: Mardi 29 Janvier 2013 17:52:53
Objet: Re: [hwloc-users] Hwloc and Electric Fence (libefence).
cessenat_at_[hidden], 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-users_at_[hidden]
http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users
|