[QE-users] Compilation Error for QE 6.8 on MacOS 11.5

Robert Fleming rofleming at astate.edu
Sun Sep 5 01:35:55 CEST 2021


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
rofleming at AState.edu<mailto:rofleming at AState.edu>






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20210904/9640d809/attachment.html>


More information about the users mailing list