<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Greetings,
<div class=""><br class="">
</div>
<div class="">I’m attempting to compile QE 6.8 on MacOS 11.5 (Big Sur) using Homebrew open-MPI and gcc compilers, and I’ve run into compilation errors that I haven’t seen addressed in mail list archives for guidance. Hardware is an 8-core Intel Core i9 @ 2.4
GHz.</div>
<div class=""><br class="">
</div>
<div class="">The configure script completes successfully, but when I try make pw, I eventually get the following undefined symbol errors:</div>
<div class=""><br class="">
</div>
<div class="">/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_const.o) has no symbols<br class="">
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_kinds.o) has no symbols<br class="">
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_params.o) has no symbols<br class="">
ranlib -c libupf.a <br class="">
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_const.o) has no symbols<br class="">
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_kinds.o) has no symbols<br class="">
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_params.o) has no symbols<br class="">
mpif90 -O3 -g -fallow-argument-mismatch -cpp -D__FFTW3 -D__MPI -I/Users/dxf04/Scientific_Computation/QE/qe-6.8/external/devxlib/src -I/Users/dxf04/Scientific_Computation/QE/qe-6.8/include -I/Users/dxf04/Scientific_Computation/QE/qe-6.8/FoX/finclude -I/usr/local/Cellar/fftw/3.3.9_1/include
-I../UtilXlib -I../external/devxlib/src -c virtual_v2.f90<br class="">
mpif90 -g -o virtual_v2.x virtual_v2.o libupf.a -L/usr/local/lib -llapack -lblas -lblas <br class="">
Undefined symbols for architecture x86_64:<br class="">
"___mp_MOD_mp_sum_rm", referenced from:<br class="">
_init_us_0_ in libupf.a(init_us_0.o)<br class="">
"___mp_MOD_mp_sum_rt", referenced from:<br class="">
_init_us_0_ in libupf.a(init_us_0.o)<br class="">
"___mp_MOD_mp_sum_rv", referenced from:<br class="">
_init_us_0_ in libupf.a(init_us_0.o)<br class="">
"_divide_", referenced from:<br class="">
_init_us_0_ in libupf.a(init_us_0.o)<br class="">
"_start_clock_", referenced from:<br class="">
_init_us_0_ in libupf.a(init_us_0.o)<br class="">
"_stop_clock_", referenced from:<br class="">
_init_us_0_ in libupf.a(init_us_0.o)<br class="">
ld: symbol(s) not found for architecture x86_64<br class="">
collect2: error: ld returned 1 exit status<br class="">
make[1]: *** [virtual_v2.x] Error 1<br class="">
make: *** [libupf] Error 1<br class="">
<br class="">
</div>
<div class="">Is there any guidance on what might be causing this error, i.e., makefile issues vs. compiler issues?</div>
<div class=""><br class="">
</div>
<div class="">Thanks for your time,<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>________________________________</div>
<div>Robert “Drew” Fleming, Ph.D.</div>
<div>Assistant Professor of Mechanical Engineering</div>
<div>Arkansas State University</div>
<div>(870) 972-3743</div>
<div><a href="mailto:rofleming@AState.edu" class="">rofleming@AState.edu</a></div>
<div><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</body>
</html>