Le 03/08/2011 18:24, Shamis, Pavel a écrit :
> 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.

I get static binaries on SLES11 with
    ./configure --enable-static --disable-shared LDFLAGS=-static
and
    make LDFLAGS=-all-static LIBS=-lpthread

$ ldd utils/lstopo
    not a dynamic executable
$ utils/lstopo
Machine (24GB)
[...]

No problem with libnuma here, it was disabled during configure
(libpthread is needed for another reason).

Brice


Reply via email to