Re: [OMPI users] OpenMPI 4.0.2 with PGI 19.10, will not build with hcoll

2020-01-28 Thread Ray Muno via users
I opened a case with pgroup support regarding this. We are also using Slurm along with HCOLL. -Ray Muno On 1/26/20 5:52 AM, Åke Sandgren via users wrote: Note that when built against SLURM it will pick up pthread from libslurm.la too. On 1/26/20 4:37 AM, Gilles Gouaillardet via users wrote:

Re: [OMPI users] OpenMPI 4.0.2 with PGI 19.10, will not build with hcoll

2020-01-26 Thread Åke Sandgren via users
Note that when built against SLURM it will pick up pthread from libslurm.la too. On 1/26/20 4:37 AM, Gilles Gouaillardet via users wrote: > Thanks Jeff for the information and sharing the pointer. > > FWIW, this issue typically occurs when libtool pulls the -pthread flag > from libhcoll.la that w

Re: [OMPI users] OpenMPI 4.0.2 with PGI 19.10, will not build with hcoll

2020-01-25 Thread Gilles Gouaillardet via users
Thanks Jeff for the information and sharing the pointer. FWIW, this issue typically occurs when libtool pulls the -pthread flag from libhcoll.la that was compiled with a GNU compiler. The simplest workaround is to remove libhcoll.la (so libtool simply links with libhcoll.so and does not pull any c

Re: [OMPI users] OpenMPI 4.0.2 with PGI 19.10, will not build with hcoll

2020-01-25 Thread Jeff Hammond via users
To be more strictly equivalent, you will want to add -D_REENTRANT to add to the substitution, but this may not affect hcoll. https://stackoverflow.com/questions/2127797/significance-of-pthread-flag-when-compiling/2127819#2127819 The proper fix here is a change in OMPI build system, of course, to

Re: [OMPI users] OpenMPI 4.0.2 with PGI 19.10, will not build with hcoll

2020-01-24 Thread Åke Sandgren via users
PGI needs this in its, for instance, siterc or localrc: # replace unknown switch -pthread with -lpthread switch -pthread is replace(-lpthread) positional(linker); On 1/24/20 8:12 PM, Raymond Muno via users wrote: > I am having issues building OpenMPI 4.0.2 using the PGI 19.10 > compilers.  OS is

[OMPI users] OpenMPI 4.0.2 with PGI 19.10, will not build with hcoll

2020-01-24 Thread Raymond Muno via users
I am having issues building OpenMPI 4.0.2 using the PGI 19.10 compilers.  OS is CentOS 7.7, MLNX_OFED 4.7.3 It dies at: PGC/x86-64 Linux 19.10-0: compilation completed with warnings   CCLD mca_coll_hcoll.la pgcc-Error-Unknown switch: -pthread make[2]: *** [mca_coll_hcoll.la] Error 1 make[2]