[mvapich-discuss] mvapich2 1.9 and pgi 13.10: compilation problem

Carmelo Ponti (CSCS) cponti at cscs.ch
Wed Jan 22 11:10:57 EST 2014


Hello

I'm trying to compile mvapich2 1.9 with pgi 13.10 but I'm getting the
following error:

  CC       src/mpi_t/pvar_write.lo
  CC       src/binding/f77/setbot.lo
  F77      src/binding/f77/setbotf.lo
  CC       src/mpi/debugger/src_mpi_debugger_libdbginitdummy_la-dbginit.lo
  CCLD     src/mpi/debugger/libdbginitdummy.la
  CC       src/mpid/ch3/channels/common/src/affinity/hwloc_bind.lo
  CCLD     libch3affinity.la
  GEN      lib/libmpich.la
pgf77-Error-Unknown switch: -pthread
make[2]: *** [lib/libmpich.la] Error 1
make[2]: Leaving directory `/apps/pilatus/system/src/MVAPICH2/mvapich2-1.9/mvapich2-1.9-pgi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/apps/pilatus/system/src/MVAPICH2/mvapich2-1.9/mvapich2-1.9-pgi'
make: *** [all] Error 2

I find out that the problem is caused by the following configuration
options:

--with-pmi=slurm --with-pm=mpirun

I don't get any compilation problem doing the same with gcc 4.8.2 or
with intel 14.0.1.

Following some more detail about my environment:

OS: SUSE SLES 11 SP3
OFED: 3.5.2

Configuration:

./configure --prefix=/apps/mvapich2/1.9/pgi-13.10 \
--enable-threads=default --enable-shared --enable-sharedlibs=gcc \
--enable-fc --with-mpe --enable-rsh --enable-rdma-cm --enable-fast \
--enable-smpcoll --with-hwloc --with-device=ch3:mrail --with-rdma=gen2 \
--enable-g=dbg --enable-debuginfo --with-limic2 CC=pgcc CXX=pgCC \
FC=pgf90 F77=pgf77 --with-slurm=/apps/slurm/default \ --with-pmi=slurm
--with-pm=mpirun \ CPPFLAGS=-I/apps/slurm/default/include \
LDFLAGS=-L/apps/slurm/default/lib

Please let me know if you need more information.

Thank you in advance for your help
Carmelo Ponti
-- 
----------------------------------------------------------------------
Carmelo Ponti           System Engineer                             
CSCS                    Swiss Center for Scientific Computing 
Via Trevano 131         Email: cponti at cscs.ch                  
CH-6900 Lugano          http://www.cscs.ch              
                        Phone: +41 91 610 82 15/Fax: +41 91 610 82 82
----------------------------------------------------------------------




More information about the mvapich-discuss mailing list