Received from Brian Barrett on Wed, Aug 22, 2007 at 12:05:32AM EDT: > On Aug 21, 2007, at 3:32 PM, Lev Givon wrote: > > > configure: WARNING: *** Shared libraries have been disabled (-- > > disable-shared) > > configure: WARNING: *** Building MCA components as DSOs > > automatically disabled > > checking which components should be static... none > > checking for projects containing MCA frameworks... opal, orte, ompi > > > > Specifying --enable-shared --enable-static results in the same > > behavior, incidentally. Is the above to be expected? > > Yes, this is expected. This is just a warning that we build > components into the library rather than as run-time loadable > components when static libraries are enabled. This is probably not > technically necessary on Linux and OS X, but in general is the > easiest thing for us to do. So you should have a perfectly working > build with this setup. > > > Brian
When compiled with --enable-static, the resulting build does indeed work, but some of the components appear to be disabled because they apparently cannot be built statically. Of particular interest to me are pls:xgrid and ras:xgrid: --- MCA component pls:xgrid (m4 configuration macro) checking for MCA component pls:xgrid compile mode... static checking if C and Objective C are link compatible... yes checking for XGridFoundation Framework... yes configure: WARNING: XGrid components must be built as DSOs. Disabling checking if MCA component pls:xgrid can compile... no ... --- MCA component ras:xgrid (m4 configuration macro) checking for MCA component ras:xgrid compile mode... static checking if C and Objective C are link compatible... (cached) yes checking for XGridFoundation Framework... (cached) yes configure: WARNING: XGrid components must be built as DSOs. Disabling checking if MCA component ras:xgrid can compile... no (Running ompi_info after installing the build confirms the absence of said components). My concern, unsurprisingly, is motivated by a desire to use OpenMPI on an xgrid cluster (i.e., not with rsh/ssh); unless I am misconstruing the above observations, building OpenMPI with --enable-static seems to preclude this. Should xgrid functionality still be present when OpenMPI is built with --enable-static? L.G.