[QE-users] Quantum Espresso Compilation error
Offermans Willem
willem.offermans at vito.be
Wed Mar 24 13:23:53 CET 2021
Dear Quantum Espresso,
I tried to compile Quantum Espresso, but got following error:
<snip>
...
mpif90 -O3 -g -cpp -D__FFTW3 -D__MPI -I/home/loffermw/tmp/q-e//include -I/home/loffermw/tmp/q-e//FoX/finclude -I/home/loffermw/tmp/q-e//upflib -I/home/loffermw/tmp/q-e//Modules -I/home/loffermw/tmp/q-e//FFTXlib -I/home/loffermw/tmp/q-e//LAXlib -I/home/loffermw/tmp/q-e//UtilXlib -I/home/loffermw/tmp/q-e//FoX/finclude -I../../PW/src -I../../dft-d3 -I../../LR_Modules -c phonon.f90
mpif90 -g -o ph.x phonon.o libph.a \
../../LR_Modules/liblrmod.a ../../PW/src/libpw.a ../../Modules/libqemod.a ../../KS_Solvers/libks_solvers.a ../../upflib/libupf.a ../../FFTXlib/libqefft.a ../../LAXlib/libqela.a ../../UtilXlib/libutil.a ../../dft-d3/libdftd3qe.a /home/loffermw/tmp/q-e//clib/clib.a /home/loffermw/tmp/q-e//LIBBEEF/libbeef.a -L/apps/OpenMPI/4.1.0/lib -llapack -lblas -L/home/loffermw/tmp/q-e//FoX/lib -lFoX_dom -lFoX_sax -lFoX_wxml -lFoX_common -lFoX_utils -lFoX_fsys -lfftw3 -lblas
/usr/bin/ld: ../../Modules/libqemod.a(embedding_electrostatic.o): in function `__embedding_electrostatic_MOD_calc_felectrostatic':
/home/loffermw/tmp/q-e/Modules/embedding_electrostatic.f90:454: undefined reference to `external_force_lc_'
/usr/bin/ld: /home/loffermw/tmp/q-e/Modules/embedding_electrostatic.f90:471: undefined reference to `external_wg_corr_force_'
/usr/bin/ld: /home/loffermw/tmp/q-e/Modules/embedding_electrostatic.f90:454: undefined reference to `external_force_lc_'
/usr/bin/ld: /home/loffermw/tmp/q-e/Modules/embedding_electrostatic.f90:471: undefined reference to `external_wg_corr_force_'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:213: ph.x] Error 1
make[2]: Leaving directory '/home/loffermw/tmp/q-e/PHonon/PH'
make[1]: *** [Makefile:9: phonon] Error 1
make[1]: Leaving directory '/home/loffermw/tmp/q-e/PHonon'
make: *** [Makefile:75: ph] Error 1
…
</snip>
What does "undefined reference to `external_force_lc_’” mean?
What do I need to do to finalise the compilation of quantum espresso?
Met vriendelijke groeten,
Mit freundlichen Grüßen,
With kind regards,
Willem Offermans
Researcher Electrocatalysis SCT
VITO NV | Boeretang 200 | 2400 Mol
Phone:+32(0)14335263 Mobile:+32(0)492182073
Willem.Offermans at Vito.be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20210324/abee218d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vito.jpg
Type: image/jpeg
Size: 15232 bytes
Desc: not available
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20210324/abee218d/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3953 bytes
Desc: not available
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20210324/abee218d/attachment.p7s>
More information about the users
mailing list