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-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 PM

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. LD="

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 t

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 wa

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 heml

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 auto-correct

Re: [OMPI users] Hwlock library problem

2020-04-15 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 i