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]: Leaving directory 
`/project/muno/OpenMPI/PGI/openmpi-4.0.2/ompi/mca/coll/hcoll'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/project/muno/OpenMPI/PGI/openmpi-4.0.2/ompi'
make: *** [all-recursive] Error 1

I tried with PGI 19.9 and had the same issue.

If I do not include hcoll, it builds.  I have successfully built OpenMPI 4.0.2 with GCC, Intel and AOCC compilers, all using the same options.

hcoll is provided by MLNX_OFED 4.7.3 and configure is run with

--with-hcoll=/opt/mellanox/hcoll


--

Ray Muno
 IT Manager
 e-mail:m...@aem.umn.edu
  University of Minnesota
 Aerospace Engineering and Mechanics         Mechanical Engineering

Reply via email to