Re: [OMPI users] Hwlock library problem

2020-04-16 Thread フォンスポール J via users
Hi Gilles, Yes I can confirm that I ran make after manually editing the libtool file. I then ran “make -j 8” (on my Mac Pro) and the compilation terminated normally. I then ran install (to /opt/openmpi). I used the mpif90 from openmpi to compile a first-principles code without problem and

Re: [OMPI users] Hwlock library problem

2020-04-15 Thread Gilles Gouaillardet via users
Good to know the issue is fixed! Just to make sure, can you confirm you ran configure, manually hacked the generated libtool and then make && make install? By the way, the offending library is hwloc (that stands for HardWare LOCality), and spellcheckers are not familiar with it (iPad

Re: [OMPI users] Hwlock library problem

2020-04-15 Thread フォンスポール J via users
Dear Gilles, I owe you thanks for your help. I found the problem and it is entirely my fault. While I was accurate in describing my attempts and the results to you, the ultimate cause was that I had the homebrew installed openmpi installed. I had removed it, when I first encountered the

Re: [OMPI users] Hwlock library problem

2020-04-15 Thread Gilles Gouaillardet via users
Paul, My ifort eval license on OSX has expired so I cannot test myself, sorry about that. It has been reported that -Wl,-force_load fixed the issue. Could you please double check that by cd ompi/mpi/fortran/use-mpi-f08 make rm libmpi_usempif08.la make V=1 libmpi_usempif08.la assuming libtool

Re: [OMPI users] Hwlock library problem

2020-04-15 Thread Jeff Squyres (jsquyres) via users
Can you send all the information listed here: https://www.open-mpi.org/community/help/ On Apr 15, 2020, at 6:13 AM, フォンスポール J via users mailto: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

Re: [OMPI users] Hwlock library problem

2020-04-15 Thread フォンスポール J via users
Hi Gilles, Thank you for your suggestion. I changed the line -wl=“” as you suggested in the file “libtool” and it lead to the same linking error with hdlock. I modified libtool in the main directory as follows: # ### BEGIN LIBTOOL TAG CONFIG: FC # The linker used to build libraries.

Re: [OMPI users] Hwlock library problem

2020-04-15 Thread Gilles Gouaillardet via users
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

Re: [OMPI users] Hwlock library problem

2020-04-15 Thread フォンスポール J via users
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

Re: [OMPI users] Hwlock library problem

2020-04-14 Thread Gilles Gouaillardet via users
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

[OMPI users] Hwlock library problem

2020-04-14 Thread フォンスポール J via users
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