Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] Hwloc and Electric Fence (libefence).
From: cessenat_at_[hidden]
Date: 2013-01-29 13:11:36


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