<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=""><div class=""><div class="">Dear Quantum Espresso,</div><div class=""><br class=""></div><div class="">I tried to compile Quantum Espresso, but got following error:</div><div class=""><br class=""></div><div class=""><snip></div><div class="">...</div><div class="">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</div><div class="">mpif90 -g -o ph.x phonon.o libph.a \</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span> ../../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 </div><div class="">/usr/bin/ld: ../../Modules/libqemod.a(embedding_electrostatic.o): in function `__embedding_electrostatic_MOD_calc_felectrostatic':</div><div class="">/home/loffermw/tmp/q-e/Modules/embedding_electrostatic.f90:454: undefined reference to `external_force_lc_'</div><div class="">/usr/bin/ld: /home/loffermw/tmp/q-e/Modules/embedding_electrostatic.f90:471: undefined reference to `external_wg_corr_force_'</div><div class="">/usr/bin/ld: /home/loffermw/tmp/q-e/Modules/embedding_electrostatic.f90:454: undefined reference to `external_force_lc_'</div><div class="">/usr/bin/ld: /home/loffermw/tmp/q-e/Modules/embedding_electrostatic.f90:471: undefined reference to `external_wg_corr_force_'</div><div class="">collect2: error: ld returned 1 exit status</div><div class="">make[2]: *** [Makefile:213: ph.x] Error 1</div><div class="">make[2]: Leaving directory '/home/loffermw/tmp/q-e/PHonon/PH'</div><div class="">make[1]: *** [Makefile:9: phonon] Error 1</div><div class="">make[1]: Leaving directory '/home/loffermw/tmp/q-e/PHonon'</div><div class="">make: *** [Makefile:75: ph] Error 1</div></div><div class="">…</div><div class=""></snip></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">What does "undefined reference to `external_force_lc_’” mean?</div><div class=""><br class=""></div><div class="">What do I need to do to finalise the compilation of quantum espresso?</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); 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; 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 dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); 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;">Met vriendelijke groeten,</div><div style="caret-color: rgb(0, 0, 0); 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;">Mit freundlichen Grüßen,</div><div style="caret-color: rgb(0, 0, 0); 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;">With kind regards,</div><div style="caret-color: rgb(0, 0, 0); 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;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); 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;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); 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;">Willem Offermans</div><div style="caret-color: rgb(0, 0, 0); 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;">Researcher Electrocatalysis SCT</div><div style="caret-color: rgb(0, 0, 0); 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;">VITO NV | Boeretang 200 | 2400 Mol</div><div style="caret-color: rgb(0, 0, 0); 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;">Phone:+32(0)14335263 Mobile:+32(0)492182073 </div><div style="caret-color: rgb(0, 0, 0); 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;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); 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;"><a href="mailto:Willem.Offermans@Vito.be" class="">Willem.Offermans@Vito.be</a></div></div></div></div><span style="caret-color: rgb(0, 0, 0); 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;"><br class="Apple-interchange-newline" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); 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; text-decoration: none;"><span><img apple-inline="yes" id="55C3BA1F-76CF-4846-823B-A81B5BA402D5" src="cid:982BA063-B96A-4A1B-89AB-5A01CA9FC70D@vito.local" class=""></span>
</span></span></div>
<br class=""></body></html>