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 -g    hello_c.c   -o hello_c
mpicc -g    ring_c.c   -o ring_c
mpicc -g    connectivity_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>

Attachment: configure.log.bz2
Description: BZip2 compressed data

_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/devel

Reply via email to