[mpich-discuss] Unable to build on OSX
Raffenetti, Kenneth J.
raffenet at mcs.anl.gov
Fri Aug 7 10:24:47 CDT 2020
Just updating from git is not enough to fix it, though. Since it is a submodule update, you'll need to run
git submodule update --init
to pull in the latest fix.
Ken
On 8/6/20, 10:14 PM, "Zhou, Hui via discuss" <discuss at mpich.org> wrote:
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
More information about the discuss
mailing list