[QE-users] Error with libmbd QE-7.3.1

Paolo Giannozzi paolo.giannozzi at uniud.it
Tue Aug 27 22:16:28 CEST 2024


CMake or autoconf? in the latter case: first of all verify that 
Modules/mbdlib.o has been correctly compiled. If it has, try the command 
that fails and do something (reshuffle the order of libraries, add the 
library again, ...) until it works: some linkers are pickier than 
others. If nothing works and you do not need many-body dispersions, add 
-D__NOMBD to MANUAL_DFLAGS, delete Modules/mbdlib.o, recompile

Paolo

On 27/08/2024 21:31, Kevin Allen wrote:
> 
> Hello,
> 
> I downloaded and compiled Quantum Expresso 7.3.1 on a macOs-arm64 
> architecture.
> When running 'make all' I get the following error:
> 
> Undefined symbols for architecture arm64:
>    "___mbd_MOD___vtab_mbd_Mbd_calc_t", referenced from:
>        ___libmbd_interface_MOD_clean_mbd in libqemod.a(mbdlib.o)
>        ___libmbd_interface_MOD_mbd_interface in libqemod.a(mbdlib.o)
>        ___libmbd_interface_MOD_init_mbd in libqemod.a(mbdlib.o)
> ...
> ld: symbol(s) not found for architecture arm64
> collect2: error: ld returned 1 exit status
> make[2]: *** [pw.x] Error 1
> make[1]: *** [pw] Error 1
> make: *** [pw] Error 1
> The above error makes it seem like it is a QE library error. Are there 
> additional entries I need to fix in my Makefile so that QE can find this 
> library?
> 
> Thank you,
> Kevin Allen
> 
> ---
> Kevin Allen
> PhD candidate
> Department of Physics and Astronomy
> Rice University
> 
> _______________________________________________
> The Quantum ESPRESSO community stands by the Ukrainian
> people and expresses its concerns about the devastating
> effects that the Russian military offensive has on their
> country and on the free and peaceful scientific, cultural,
> and economic cooperation amongst peoples
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
> users mailing list users at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/users

-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 206, 33100 Udine Italy, +39-0432-558216
X SCUOLA ENERGIE RINNOVABILI 16-21/9/2024 - PRE-ISCRIZIONE 
https://agenda.infn.it/event/39573/


More information about the users mailing list