I have Mac OS X 10.10 (Yosemite) and 10.12 (Sierra) systems with PGI compilers installed. I have configured the 2.0.2rc1 tarball with
--prefix=[...] --enable-debug CC=pgcc CXX=pgc++ FC=pgfortran I see a build failure in the libevent code: PGC-F-0249-#error -- "No way to define ev_uint64_t" (/Users/phhargrove/OMPI/openmpi-2.0.2rc1-macos10.10-x86-pgi/openmpi-2.0.2rc1/opal/mca/event/libevent2022/libevent/include/event2/util.h: 126) PGC/x86-64 OSX 16.10-0: compilation aborted I've tracked this down to libevent's configure script failing to find uint64_t. >From opal/mca/event/libevent2022/libevent/config.log: configure:14682: checking for uint64_t configure:14682: pgcc -c -g -Wno-deprecated-declarations -I/Users/phhargrove/OMPI/openmpi-2.0.2rc1-macos10.10-x86-pgi/openmpi-2.0.2rc1 -I/Users/phhargrove/OMPI/openmpi-2.0.2rc1-macos10.10-x86-pgi/BLD -I/Users/phhargrove/OMPI/openmpi-2.0.2rc1-macos10.10-x86-pgi/openmpi-2.0.2rc1/opal/include -I/Users/phhargrove/OMPI/openmpi-2.0.2rc1-macos10.10-x86-pgi/openmpi-2.0.2rc1/opal/mca/hwloc/hwloc1112/hwloc/include -I/Users/phhargrove/OMPI/openmpi-2.0.2rc1-macos10.10-x86-pgi/BLD/opal/mca/hwloc/hwloc1112/hwloc/include -Drandom=opal_random conftest.c >&5 pgcc-Error-Unknown switch: -Wno-deprecated-declarations configure:14682: $? = 1 In fact, nearly *all* of libevent's configure test fails as a result of that unsupported compiler flag. Use of that flag, in turn, is due to the following in opal/mca/event/libevent2022/libevent/configure.ac: # OS X Lion started deprecating the system openssl. Let's just disable # all deprecation warnings on OS X. case "$host_os" in darwin*) CFLAGS="$CFLAGS -Wno-deprecated-declarations" ;; esac It seems this needs to change to acknowledge that not every compiler for Mac OS X is gcc-compatible. -Paul -- Paul H. Hargrove phhargr...@lbl.gov Computer Languages & Systems Software (CLaSS) Group Computer Science Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
_______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel