On 8/3/11 10:51 AM, "Shamis, Pavel" <sham...@ornl.gov> 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 >>--enable- >> 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 >>external >> 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 -- Brian W. Barrett Dept. 1423: Scalable System Software Sandia National Laboratories