Paul, after you run configure, you can try to manually edit the generated 'libtool' script
look for this line # ### BEGIN LIBTOOL TAG CONFIG: FC look for the following line wl= and replace it with wl=-Wl, hopefully, that should do the trick Cheers, Gilles On Wed, Apr 15, 2020 at 7:15 PM フォンスポール J via users <users@lists.open-mpi.org> wrote: > > Dear Gilles, > Thank you for your advice. I have tried a few of the suggestions that I > encountered following the link you forwarded. > > 1. The turning off the Security Integrity Protocol) using using csrutil > didn’t help by itself and the hemlock linking error remains > 2. Using Apple’s ./autogen.pl —force Apple’s leads to the same hdlock linking > error > 3. I tried the lt_cv_ld_force_load=no configure … and it lead to the same > error > > It would seem from the reading through the postings you suggested that the > "-Wl," before "-force_load” might be a workable solution, but I don’t > understand what to change in order to accomplish this. Might you have some > suggestions. > > > > > > On Apr 15, 2020, at 0:06, Gilles Gouaillardet via users > <users@lists.open-mpi.org> wrote: > > Paul, > > this issue is likely the one already been reported at > https://github.com/open-mpi/ompi/issues/7615 > > Several workarounds are documented, feel free to try some of them and > report back > (either on GitHub or this mailing list) > > Cheers, > > Gilles > > On Tue, Apr 14, 2020 at 11:18 PM フォンスポール J via users > <users@lists.open-mpi.org> wrote: > > > I am attempting to build the latest stable version of openmpi (openmpi-4.0.3) > on Mac OS 10.15.4 using the latest intel compilers fort, icc, iclc > (19.1.1.216 20200306). I am using the configuration > > > ./configure --prefix=/opt/openmpi CC=icc CXX=icpc F77=ifort FC=ifort > --with-hwloc=internal --with-libevent=internal > > My initial attempt to make opemmpi failed with the error -lhwloc not found. I > then read the FAQ on the open-mpi homepage which stated that the problem > often arises when compilers are mixed (they are not here). The FAQ also > suggested that the options --with-hwloc=internal --with-libevent=internal > would force the build process to use an internal version of hwloc. There were > no other errors in the make process so presumably the hwloc internal library > was successfully built. The error messages are reprinted below (they match > the hwloc FAQ exactly). I don’t understand how to work around the problem > however and suggestions would be welcome. I do have homebrew installed, but I > would think that the explicit options to use the internal hwlock library > would avoid referencing other libraries. Note the same problem occurs when > configure is specified with gcc-9 and gfortran (from homebrew). Thanks four > your help in advance. > > amke > . > . > . > > make[1]: Nothing to be done for `all'. > Making all in mpi/fortran/use-mpi-f08 > FCLD libmpi_usempif08.la > ifort: command line warning #10006: ignoring unknown option > '-force_load,mod/.libs/libforce_usempif08_internal_modules_to_be_built.a' > ifort: command line warning #10006: ignoring unknown option > '-force_load,bindings/.libs/libforce_usempif08_internal_bindings_to_be_built.a' > ifort: command line warning #10006: ignoring unknown option > '-force_load,../../../../ompi/mpiext/pcollreq/use-mpi-f08/.libs/libmpiext_pcollreq_usempif08.a' > ifort: command line warning #10006: ignoring unknown option > '-force_load,base/.libs/libusempif08_ccode.a' > ld: library not found for -lhwloc > make[1]: *** [libmpi_usempif08.la] Error 1 > make: *** [all-recursive] Error 1 > > > > > > Paul Fons > > > Keio University, Faculty of Science and Technology, Department of Electronics > and Information Engineering > > 〒223-8522 3-14-1 Hiyoshi, Kohoku-ku, Yokohama, Kanagawa 223-8522, Japan > Keio University Faculty of Science and Technology Yagami Campus. > > 〒223-8522 横浜市港北区日吉3-14-1 慶應義塾大学理工学部電子工学科 > > > > >