Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Compiling Open MPI 1.7.4 using PGI 14.2 and Mellanox HCOLL enabled
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-03-11 11:48:25

On Mar 11, 2014, at 11:22 AM, Åke Sandgren <ake.sandgren_at_[hidden]> wrote:

>>> ../configure CC=pgcc CXX=pgCC FC=pgf90 F90=pgf90 --prefix=/usr/local/Cluster-Users/fs395/openmpi-1.7.4/pgi-14.2_cuda-6.0RC --enable-mpirun-prefix-by-default --with-hcoll=$HCOLL_DIR --with-fca=$FCA_DIR --with-mxm=$MXM_DIR --with-knem=$KNEM_DIR --with-slurm=/usr/local/Cluster-Apps/slurm --with-cuda=$CUDA_INSTALL_PATH
>>> At some point the compile process fails with this error:
>>> make[2]: Leaving directory `/home/fs395/archive/openmpi-1.7.4/build/ompi/mca/coll/hierarch'
>>> Making all in mca/coll/hcoll
>>> make[2]: Entering directory `/home/fs395/archive/openmpi-1.7.4/build/ompi/mca/coll/hcoll'
>>> CC coll_hcoll_module.lo
>>> CC coll_hcoll_component.lo
>>> CC coll_hcoll_rte.lo
>>> CC coll_hcoll_ops.lo
>>> CCLD
>>> pgcc-Error-Unknown switch: -pthread
> You have to remove the -pthread from inherited_linker_flags=
> in from your slurm build.

With the configure line given above, I don't think he should be linking against libslurm.

But I wonder if the underlying issue is actually correct: perhaps the inherited_linker_flags from has -pthreads in it.

> pgi doesn't under stand it and the default slurm build (with gcc at least) adds that causing the problem.

Jeff Squyres
For corporate legal information go to: