Good Day,
I am having problems compiling OpenMPI 1.8.4 with PGI 15.4.
I have successfully compiled the same 1.8.4 code with same configure with PGI 14.6 but it fails when using 15.4.
I have experienced this on two separate CentOS 6.6 servers, one haswell and the other sandybridge.
export MYINSTALLDIR=/share/apps/mpi/openmpi/1.8.4-pgi-15.4
export CC=pgcc
export CXX=pgcpp
export FC=pgfortran
export CFLAGS='-fast'
export CXXFLAGS=${CFLAGS}
export FCFLAGS=${CFLAGS}
../configure --prefix=${MYINSTALLDIR} --with-verbs=no --disable-ipv6 --enable-static --with-gnu-ld --disable-io-romio 2>&1 | tee configure-`date +%y%m%d-%H%M`.log
When making fails with following error:
Making all in profile
make[3]: Entering directory `/home/src/install/openmpi/openmpi-1.8.4/buid154/ompi/mpi/fortran/mpif-h/profile'
FC psizeof_f.lo
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 17)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex128_scalar
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 27)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex128_r1
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 37)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex128_r2
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 47)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex128_r3
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 57)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex128_r4
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 67)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex128_r5
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 77)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex128_r6
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 87)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_complex128_r7
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 577)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_real128_scalar
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 587)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_real128_r1
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 597)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_real128_r2
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 607)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_real128_r3
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 617)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_real128_r4
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 627)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_real128_r5
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 637)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_real128_r6
PGF90-S-0081-Illegal selector - KIND value must be non-negative (psizeof_f.f90: 647)
0 inform, 0 warnings, 1 severes, 0 fatal for pmpi_sizeof_real128_r7
make[3]: *** [psizeof_f.lo] Error 1
make[3]: Leaving directory `/home/src/install/openmpi/openmpi-1.8.4/buid154/ompi/mpi/fortran/mpif-h/profile'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/src/install/openmpi/openmpi-1.8.4/buid154/ompi/mpi/fortran/mpif-h'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/install/openmpi/openmpi-1.8.4/buid154/ompi'
make: *** [all-recursive] Error 1