[OMPI devel] [2.0.2rc1] Build failure w/ PGI compilers on Mac OS X

2016-12-15 Thread Paul Hargrove
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

[OMPI devel] [2.0.2rc1] Fortran link failure with PGI fortran on MacOSX

2016-12-15 Thread Paul Hargrove
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=cc CXX=c++
Where cc and c++ are Clang from Apple Xcode 7.1 (Build 7B91b) and 8.2
(Build 8C38).
Meanwhile Open MPI's configure finds pgfortran-16.10-0 (note: PGI, not GNU)
in my $PATH.

I can build Open MPI fine, but when building the examples, ring_mpifh fails
to link.
This is particularly odd to me since hello_mpifh linked OK.

$ make -k
mpicc -ghello_c.c   -o hello_c
mpicc -gring_c.c   -o ring_c
mpicc -gconnectivity_c.c   -o connectivity_c
mpifort -g hello_mpifh.f -o hello_mpifh
mpifort -g ring_mpifh.f -o ring_mpifh
ld: illegal text-relocation to '_mpi_fortran_status_ignore_' in
/Users/phhargrove/OMPI/openmpi-2.0.2rc1-macos10.10-
x86-clang/INST/lib/libmpi.dylib from '_MAIN_' in ring_mpifh.o for inferred
architecture x86_64

I have no problems with gfortran (GNU).

The (bzip2-compressed) output of configure on the Sierra system is attached.
Let me know which additional files to send to whom.

Note that PGI 16.10 is available with a free "Community Edition" license.

-Paul

-- 
Paul H. Hargrove  phhargr...@lbl.gov
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department   Tel: +1-510-495-2352
<(510)%20495-2352>
Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
<(510)%20486-6900>


configure.log.bz2
Description: BZip2 compressed data
___
devel mailing list
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

Re: [OMPI devel] #warning "Including liblustreapi.h is deprecated. Include lustreapi.h directly."

2016-12-15 Thread Edgar Gabriel
I'll put it on my to do list to write the configure logic for that, shouldn't be too difficult. Thanks for the report.Edgar___
devel mailing list
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

[OMPI devel] #warning "Including liblustreapi.h is deprecated. Include lustreapi.h directly."

2016-12-15 Thread Paul Kapinos

Dear Open MPI developer,
trying to compile Open MPI 2.0.1 using PGI compilers (19.9 and 16.7) we ran into 
an error the root of one is not known yet, but we see also this warning:


#warning "Including liblustreapi.h is deprecated. Include lustreapi.h directly."

in the /usr/include/lustre/liblustreapi.h file, included from
'openmpi-2.0.1/ompi/mca/fs/lustre/fs_lustre.c' file (line 46, doh).

well, it is about you on change or keep the way the Lustre headers being 
included in Open MPI. Just my $2%.


Have a nice day,

Paul Kapinos



pk224850@lnm001:/w0/tmp/pk224850/OpenMPI/2.0.1/pgi_16.9./openmpi-2.0.1/ompi/mca/fs/lustre[527]$ 
make

  CC   fs_lustre.lo
pgcc -DHAVE_CONFIG_H -I. -I../../../../opal/include -I../../../../ompi/include 
-I../../../../oshmem/include 
-I../../../../opal/mca/hwloc/hwloc1112/hwloc/include/private/autogen 
-I../../../../opal/mca/hwloc/hwloc1112/hwloc/include/hwloc/autogen 
-I../../../../ompi/mpiext/cuda/c -I../../../.. -I../../../../orte/include 
-I/w0/tmp/pk224850/OpenMPI/2.0.1/pgi_16.9./openmpi-2.0.1/opal/mca/hwloc/hwloc1112/hwloc/include 
-I/w0/tmp/pk224850/OpenMPI/2.0.1/pgi_16.9./openmpi-2.0.1/opal/mca/event/libevent2022/libevent 
-I/w0/tmp/pk224850/OpenMPI/2.0.1/pgi_16.9./openmpi-2.0.1/opal/mca/event/libevent2022/libevent/include 
-DNDEBUG -O0 -c fs_lustre.c -MD -fpic -DPIC -o .libs/fs_lustre.o
PGC-W-0267-#warning --  "Including liblustreapi.h is deprecated. Include 
lustreapi.h directly." (/usr/include/lustre/liblustreapi.h: 41)
PGC-W-0114-More than one type specified 
(/usr/include/libcfs/posix/posix-types.h: 58)
PGC-W-0143-Useless typedef declaration (no declarators present) 
(/usr/include/libcfs/posix/posix-types.h: 58)
PGC-W-0114-More than one type specified 
(/usr/include/libcfs/posix/posix-types.h: 61)
PGC-W-0143-Useless typedef declaration (no declarators present) 
(/usr/include/libcfs/posix/posix-types.h: 61)
PGC-W-0114-More than one type specified 
(/usr/include/libcfs/posix/posix-types.h: 65)
PGC-W-0143-Useless typedef declaration (no declarators present) 
(/usr/include/libcfs/posix/posix-types.h: 65)
PGC-W-0114-More than one type specified 
(/usr/include/libcfs/posix/posix-types.h: 68)
PGC-W-0143-Useless typedef declaration (no declarators present) 
(/usr/include/libcfs/posix/posix-types.h: 68)
PGC-W-0114-More than one type specified 
(/usr/include/libcfs/posix/posix-types.h: 72)
PGC-W-0143-Useless typedef declaration (no declarators present) 
(/usr/include/libcfs/posix/posix-types.h: 72)
PGC-W-0114-More than one type specified 
(/usr/include/libcfs/posix/posix-types.h: 75)
PGC-W-0143-Useless typedef declaration (no declarators present) 
(/usr/include/libcfs/posix/posix-types.h: 75)
PGC-W-0114-More than one type specified 
(/usr/include/libcfs/posix/posix-types.h: 91)
PGC-W-0143-Useless typedef declaration (no declarators present) 
(/usr/include/libcfs/posix/posix-types.h: 91)
PGC-W-0114-More than one type specified 
(/usr/include/libcfs/posix/posix-types.h: 94)
PGC-W-0143-Useless typedef declaration (no declarators present) 
(/usr/include/libcfs/posix/posix-types.h: 94)

PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 157)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 157)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 158)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 158)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 159)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 159)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 160)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 160)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 161)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 161)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 162)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 162)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 163)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 163)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 164)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 164)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 211)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 211)
PGC-S-0040-Illegal use of symbol, u_int64_t (/usr/include/sys/quota.h: 212)
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/sys/quota.h: 212)
PGC-W-0095-Type cast required for this conversion (fs_lustre.c: 93)
PGC/x86-64 Linux 16.9-0: compilation completed with severe errors
make: *** [fs_lustre.lo] Error 1




--
Dipl.-Inform. Paul Kapinos   -   High Performance Computing,
RWTH Aachen University, IT Center
Seffenter Weg 23,  D 52074  Aachen (Germany)
Tel: +49 241/80-24915



smime.p7s
Description: S/MIME Cryptographic Signature