Hello,

I'm having an error when trying to build OMPI 4.0.3 (also tried 4.1) with PGI 
20.1


./configure CPP=cpp CC=pgcc CXX=pgc++ F77=pgf77 FC=pgf90 --prefix=$PREFIX 
--with-ucx=$UCX_HOME --with-slurm --with-pmi=/opt/slurm/cluster/ibex/install 
--with-cuda=$CUDATOOLKIT_HOME


in the make install step:

make[4]: Leaving directory `/tmp/openmpi-4.0.3/opal/mca/pmix/pmix3x'
make[3]: Leaving directory `/tmp/openmpi-4.0.3/opal/mca/pmix/pmix3x'
make[2]: Leaving directory `/tmp/openmpi-4.0.3/opal/mca/pmix/pmix3x'
Making install in mca/pmix/s1
make[2]: Entering directory `/tmp/openmpi-4.0.3/opal/mca/pmix/s1'
  CCLD     mca_pmix_s1.la
pgcc-Error-Unknown switch: -pthread
make[2]: *** [mca_pmix_s1.la] Error 1
make[2]: Leaving directory `/tmp/openmpi-4.0.3/opal/mca/pmix/s1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/openmpi-4.0.3/opal'
make: *** [install-recursive] Error 1

Please advise.
?



All the best,
Passant

Reply via email to