Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Josh England (jjengla_at_[hidden])
Date: 2006-10-16 01:31:46

On Sat, 2006-10-14 at 09:35 -0400, Jeff Squyres wrote:
> Given the messages from the linker and my prior mail, I'm not sure
> that a) is possible -- it will require more poking around to know for
> sure. b) is definitely possible simply by using --enable-static and
> and then using "mpicc" (and friends) as normal.
> OMPI will be built statically (to include torque and libibverbs,
> assuming you have .a's versions of both of those), but as Scott
> mentioned, system libraries such as dl and sysfs will be linked
> dynamically.

OK. I've got a build with --enable-static and --disable-shared, and I'm
still seeing the *exact* same behavior. I cannot build a static library
either with mpicc or specifying a manual link line. Note that this
appears to be a problem only with 1.1.2_rc4. Open MPI version 1.1.1
seems to work.