According to the OpenMPI FAQ, specifying the config option
--enable-static without specifying --disable-shared should build both
shared and static versions of the libraries. When I tried these
options on MacOSX 10.4.10 with OpenMPI 1.2.3, however, the following
lines in the config output seem to imply otherwise:

============================================================================
== Modular Component Architecture (MCA) setup
============================================================================
checking for subdir args...  '--enable-static'
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking dependency style of gcc... gcc3
checking which components should be disabled... 
checking which components should be direct-linked into the library... 
checking which components should be run-time loadable... none
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? 

                                                        L.G.

Reply via email to