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
>> ./configure --prefix=/home/jsquyres/bogus --disable-mpi-f77
>> 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
>> ap.c:74: undefined reference to `__munmap'
>> What is the goal here -- to make libmpi.a (and friends) that have no
>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