Paolo, This cleared up my compilation error. I appreciate the answer. ________________________________ Robert “Drew” Fleming, Ph.D. Assistant Professor of Mechanical Engineering Arkansas State University (870) 972-3743 roflem...@astate.edu<mailto:roflem...@astate.edu>
On Sep 5, 2021, at 12:49 AM, Paolo Giannozzi <p.gianno...@gmail.com<mailto:p.gianno...@gmail.com>> wrote: This Message Is From an External Sender This message came from outside your organization. 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 all : libupf.a virtual_v2.x upfconv.x casino2upf.x with all : libupf.a Paolo On Sun, Sep 5, 2021 at 1:36 AM Robert Fleming <roflem...@astate.edu<mailto:roflem...@astate.edu>> wrote: Greetings, 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. The configure script completes successfully, but when I try make pw, I eventually get the following undefined symbol errors: /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_const.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_kinds.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_params.o) has no symbols ranlib -c libupf.a /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_const.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_kinds.o) has no symbols /Library/Developer/CommandLineTools/usr/bin/ranlib: file: libupf.a(upf_params.o) has no symbols 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 mpif90 -g -o virtual_v2.x virtual_v2.o libupf.a -L/usr/local/lib -llapack -lblas -lblas Undefined symbols for architecture x86_64: "___mp_MOD_mp_sum_rm", referenced from: _init_us_0_ in libupf.a(init_us_0.o) "___mp_MOD_mp_sum_rt", referenced from: _init_us_0_ in libupf.a(init_us_0.o) "___mp_MOD_mp_sum_rv", referenced from: _init_us_0_ in libupf.a(init_us_0.o) "_divide_", referenced from: _init_us_0_ in libupf.a(init_us_0.o) "_start_clock_", referenced from: _init_us_0_ in libupf.a(init_us_0.o) "_stop_clock_", referenced from: _init_us_0_ in libupf.a(init_us_0.o) ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make[1]: *** [virtual_v2.x] Error 1 make: *** [libupf] Error 1 Is there any guidance on what might be causing this error, i.e., makefile issues vs. compiler issues? Thanks for your time, ________________________________ Robert “Drew” Fleming, Ph.D. Assistant Professor of Mechanical Engineering Arkansas State University (870) 972-3743 roflem...@astate.edu<mailto:roflem...@astate.edu> _______________________________________________ Quantum ESPRESSO is supported by MaX (www.max-centre.eu<https://urldefense.com/v3/__http://www.max-centre.eu__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgAALHinQ$>) users mailing list users@lists.quantum-espresso.org<mailto:users@lists.quantum-espresso.org> https://lists.quantum-espresso.org/mailman/listinfo/users<https://urldefense.com/v3/__https://lists.quantum-espresso.org/mailman/listinfo/users__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgHTe7eHA$> -- Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche, Univ. Udine, via delle Scienze 206, 33100 Udine, Italy Phone +39-0432-558216, fax +39-0432-558222 _______________________________________________ Quantum ESPRESSO is supported by MaX (https://urldefense.com/v3/__http://www.max-centre.eu__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgAALHinQ$ ) users mailing list users@lists.quantum-espresso.org<mailto:users@lists.quantum-espresso.org> https://urldefense.com/v3/__https://lists.quantum-espresso.org/mailman/listinfo/users__;!!Og5diRyjJbFE2AE!PPWi3fKab-_1Qoj9REMfht4jwvdQCihv20wRzrtJ9RxH3DXvd0fXQaYGcWgHTe7eHA$
_______________________________________________ Quantum ESPRESSO is supported by MaX (www.max-centre.eu) users mailing list users@lists.quantum-espresso.org https://lists.quantum-espresso.org/mailman/listinfo/users