<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="">
Paolo,
<div class=""><br class="">
</div>
<div class="">This cleared up my compilation error. I appreciate the answer.<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>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 5, 2021, at 12:49 AM, Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" class="">p.giannozzi@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="pfptBanner" style="margin: 16px 0px; padding: 8px 16px; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; min-width: 200px; background-color: rgb(208, 216, 220); border-top-width: 4px; border-top-style: solid; border-top-color: rgb(144, 164, 174); caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;">
<div class="pfptMessageContainer" style="display: inline-block; margin: 0px 0px 1px; max-width: 600px;">
<div class="pfptBannerTitle" style="line-height: 18px; display: block; font-family: Arial, sans-serif !important; font-size: 14px !important; font-weight: bold !important;">
This Message Is From an External Sender</div>
<div class="pfptBannerSubtitle" style="line-height: 18px; margin-top: 2px; display: block; font-weight: normal !important; font-family: Arial, sans-serif !important; font-size: 12px !important;">
This message came from outside your organization.</div>
</div>
</div>
<div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">
<div class="">Some linkers try to resolve ALL symbols, even if they are not linked anywhere. Unless you need those utilities, edit upflib/Makefile, replace the line</div>
<div class=""> all : libupf.a virtual_v2.x upfconv.x casino2upf.x</div>
<div class="">with</div>
<div class=""> all : libupf.a</div>
<div class="">Paolo<br class="">
</div>
</div>
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">
<div class="gmail_quote" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;">
<div dir="ltr" class="gmail_attr">On Sun, Sep 5, 2021 at 1:36 AM Robert Fleming <<a href="mailto:rofleming@astate.edu" class="">rofleming@astate.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
<div style="overflow-wrap: break-word;" 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="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;" class="">
<div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;" class="">
<div class="">________________________________</div>
<div class="">Robert “Drew” Fleming, Ph.D.</div>
<div class="">Assistant Professor of Mechanical Engineering</div>
<div class="">Arkansas State University</div>
<div class="">(870) 972-3743</div>
<div class=""><a href="mailto:rofleming@AState.edu" target="_blank" class="">rofleming@AState.edu</a></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</div>
<br class="">
</div>
<br class="">
<br class="">
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
Quantum ESPRESSO is supported by MaX (<a href="https://urldefense.com/v3/__http://www.max-centre.eu__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgAALHinQ$" rel="noreferrer" target="_blank" class="">www.max-centre.eu</a>)<br class="">
users mailing list<span class="Apple-converted-space"> </span><a href="mailto:users@lists.quantum-espresso.org" target="_blank" class="">users@lists.quantum-espresso.org</a><br class="">
<a href="https://urldefense.com/v3/__https://lists.quantum-espresso.org/mailman/listinfo/users__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgHTe7eHA$" rel="noreferrer" target="_blank" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
<br clear="all" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">
<div dir="ltr" class="gmail_signature" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br class="">
Univ. Udine, via delle Scienze 206, 33100 Udine, Italy<br class="">
Phone +39-0432-558216, fax +39-0432-558222<br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; float: none; display: inline !important;" class="">Quantum
ESPRESSO is supported by MaX (</span><a href="https://urldefense.com/v3/__http://www.max-centre.eu__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgAALHinQ$" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://urldefense.com/v3/__http://www.max-centre.eu__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgAALHinQ$</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; float: none; display: inline !important;" class=""><span class="Apple-converted-space"> </span>)</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; float: none; display: inline !important;" class="">users
mailing list<span class="Apple-converted-space"> </span></span><a href="mailto:users@lists.quantum-espresso.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">users@lists.quantum-espresso.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">
<a href="https://urldefense.com/v3/__https://lists.quantum-espresso.org/mailman/listinfo/users__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgHTe7eHA$" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://urldefense.com/v3/__https://lists.quantum-espresso.org/mailman/listinfo/users__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgHTe7eHA$</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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; float: none; display: inline !important;" class=""></span></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>