I am not sure if this is a bug in PGI or OpenMPI.
I am trying to compile OPenMPI 1.8.1 with PGI 14.6 and include Mellanox OFED 2.2 on CentOS 6.5.
setenv PGI /share/apps/opt/pgi
setenv CC /share/apps/opt/pgi/linux86-64/2014/bin/pgcc
setenv FC /share/apps/opt/pgi/linux86-64/2014/bin/pgfortran
setenv F90 /share/apps/opt/pgi/linux86-64/2014/bin/pgf90
setenv F77 /share/apps/opt/pgi/linux86-64/2014/bin/pgf77
setenv CXX /share/apps/opt/pgi/linux86-64/2014/bin/pgcpp
export CFLAGS=’-tp=bulldozer-64 -fast’
export CXXFLAGS=${CFLAGS}
export FFLAGS=${CFLAGS}
export FCFLAGS=${FFLAGS}
…/configure
–prefix=${MYINSTALLDIR} --with-mxm=/opt/mellanox/mxm --with-fca=/opt/mellanox/fca
–with-tm=/opt/torque --with-knem=/opt/knem-1.1.1.90mlnx --enable-static
–with-hwloc=internal --without-psm
It configures OK, but when compiling it gives this error:
make[2]: Entering directory `/home/user/openmpi/openmpi-1.8.1/build/oshmem/mca/sshmem/verbs’
CC sshmem_verbs_component.lo
CC sshmem_verbs_module.lo
PGC-S-0073-Too many initializers for in (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_component.c: 165)
PGC-W-0095-Type cast required for this conversion (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_component.c: 182)
PGC-W-0155-Pointer value created from a nonlong integral type (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_component.c: 182)
PGC-W-0095-Type cast required for this conversion (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_component.c: 182)
PGC/x86-64 Linux 14.6-0: compilation completed with severe errors
make[2]: *** [sshmem_verbs_component.lo] Error 1
make[2]: *** Waiting for unfinished jobs…
PGC-S-0073-Too many initializers for in (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_module.c: 262)
PGC-W-0095-Type cast required for this conversion (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_module.c: 284)
PGC-W-0155-Pointer value created from a nonlong integral type (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_module.c: 284)
PGC-W-0095-Type cast required for this conversion (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_module.c: 284)
PGC-W-0095-Type cast required for this conversion (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_module.c: 358)
PGC-W-0095-Type cast required for this conversion (…/…/…/…/…/oshmem/mca/sshmem/verbs/sshmem_verbs_module.c: 358)
PGC/x86-64 Linux 14.6-0: compilation completed with severe errors
make[2]: *** [sshmem_verbs_module.lo] Error 1