[mpich-discuss] Unable to build on OSX

Zhou, Hui zhouh at anl.gov
Thu Aug 6 22:14:22 CDT 2020


The particular link error should have been fixed since this Monday. Try make sure it is the correct source tree and clean build tree? That said, there will be additional run time issues building ch4 on mac. I’ll spend some time tomorrow and follow up if I can make progress.

--
Hui Zhou
Principal Software Development Specialist
Mathematics and Computer Science
Argonne National Laboratory

From: "Gropp, William D via discuss" <discuss at mpich.org>
Reply-To: "discuss at mpich.org" <discuss at mpich.org>
Date: Thursday, August 6, 2020 at 5:01 PM
To: "discuss at mpich.org" <discuss at mpich.org>
Cc: "Gropp, William D" <wgropp at illinois.edu>
Subject: [mpich-discuss] Unable to build on OSX

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/20200807/79bab22e/attachment.html>


More information about the discuss mailing list