Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] Open MPI + HWLOC + Static build issue
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-08-03 12:31:15


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