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: Barrett, Brian W (bwbarre_at_[hidden])
Date: 2011-08-03 12:59:03

On 8/3/11 10:51 AM, "Shamis, Pavel" <shamisp_at_[hidden]> wrote:

>> Err.. I don't quite understand. How exactly are you configuring? If I
>>do this:
>> ./configure --prefix=/home/jsquyres/bogus --disable-mpi-f77
>>--disable-vt --
>> disable-io-romio --disable-mpi-cxx --disable-shared --enable-static
>> mpirun-prefix-by-default LDFLAGS=-static
>> I fail when linking opal_wrapper because of the ptmalloc shared memory
>> hooks that we're looking for:
>> CCLD opal_wrapper
>> ../../../opal/.libs/libopen-pal.a(memory_linux_munmap.o): In function
>> `opal_memory_linux_free_ptmalloc2_munmap':
>> /users/jsquyres/svn/ompi5/opal/mca/memory/linux/memory_linux_munm
>> ap.c:74: undefined reference to `__munmap'
>> What is the goal here -- to make libmpi.a (and friends) that have no
>> dependencies?
>Not only. We also need orted and all the friends as static binaries.

On linux, you can not use both the memory manager hooks and -static. Add
--disable-memory-manager or remove -static and all will be well.


  Brian W. Barrett
  Dept. 1423: Scalable System Software
  Sandia National Laboratories