On Sun, 2006-10-15 at 23:31 -0600, Josh England wrote: > 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.
Sorry. I wrote too fast. Version 1.1.1 actually *does not* work for static builds either. It exhibits the same problem described in the original post. -JE