[mpich-discuss] Unable to build on OSX

Gropp, William D wgropp at illinois.edu
Thu Aug 6 16:59:27 CDT 2020


Using the current as of this morning from git, hash 1d340282 , and with CC=gcc-10 (needed to work with the corresponding version of gfortran, because gcc on OSX is really clang)

../../sources/mpich/configure --with-device=ch4:ofi --prefix=/Users/gropp/installs/mpich2-dbg

works but make ends with

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/.libs/libmpifort.a(mpi_c_interface_nobuf.o) has no symbols
  CXX      src/binding/cxx/initcxx.lo
  CXXLD    lib/libmpicxx.la<http://libmpicxx.la>
  CC       src/env/mpichversion.o
  CCLD     src/env/mpichversion
Undefined symbols for architecture x86_64:
  "_ofi_process_vm_writev", referenced from:
      import-atom in libpmpi.dylib
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [src/env/mpichversion] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
gropp at wdg-macbook hydra %

Configure and make logs attached.

(Some of the instructions on the MPICH web page for submitting bug reports sent me to unreachable github web pages)



William Gropp
Director and Chief Scientist, NCSA
Thomas M. Siebel Chair in Computer Science
University of Illinois Urbana-Champaign






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20200806/f17c534e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m-ch4.log
Type: application/octet-stream
Size: 257319 bytes
Desc: m-ch4.log
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20200806/f17c534e/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 1079403 bytes
Desc: config.log
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20200806/f17c534e/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c-ch4.log
Type: application/octet-stream
Size: 140979 bytes
Desc: c-ch4.log
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20200806/f17c534e/attachment-0005.obj>


More information about the discuss mailing list