Please see my comments below.

> -----Original Message-----
> From: Brice Goglin [mailto:brice.gog...@inria.fr]
> Sent: Wednesday, August 03, 2011 10:29 AM
> To: Shamis, Pavel
> Cc: Open MPI Developers
> Subject: Re: [OMPI devel] Open MPI + HWLOC + Static build issue
> 
> I finally reproduced here. Based on the ornl platform script, you're
> configuring with LDFLAGS=-static and then building with make
> LDFLAGS=-all-static. Surprisingly, this works fine when building vanilla
> hwloc, but it breaks inside OMPI. The reason is that OMPI doesn't pass
> LDFLAGS=-static to hwloc's checks. Inside the vanilla hwloc, the libnuma
> related checks properly use the static libnuma:
>

Hw-loc vanilla works, because static mode does not build the binaries in static 
mode. If you would try to build build hwloc utilities in static mode it fails , 
just like ompi.

Regards,
Pasha

Reply via email to