>
> 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.
Regards,
Pasha
|