OpenMPI version 3.1.2
Building with -O1 in CFLAGS succeeds. Building with -O2 through -O4 fails with:
pgcc-Fatal-/opt/pgi/linux86-64/18.7/bin/pgc TERMINATED by signal 11
File that causes the failure is gds_dstore.c
Am able to build OpenMPI 3.1.2 successfully with up to -O4 optimization with PGI 2014 through 2017. It’s only 18.7 that’s failing.