<div dir="ltr"><div>It's the usual "gfortran and complex functions problem". See 2.8.2.1 here: <a href="https://www.quantum-espresso.org/Doc/user_guide/node15.html#SECTION00038210000000000000">https://www.quantum-espresso.org/Doc/user_guide/node15.html#SECTION00038210000000000000</a></div><div><br></div><div>Paolo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 19, 2021 at 6:22 AM Viejay Ordillo <<a href="mailto:vjordillo@gmail.com">vjordillo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear Ye,</div><div><br></div>Thank you for the advice. I followed the instructions from the link you provided for CMake installation and while running CTests, it returned me this error:<div><br></div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">Program received signal SIGBUS: Access to an undefined portion of a memory object.</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">Backtrace for this error:</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">#0<span>  </span>0x100e189b7</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">#1<span>  </span>0x100e17a4b</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">#2<span>  </span>0x19a7b2c43</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">#3<span>  </span>0x100a43c7b</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">--------------------------------------------------------------------------</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">Primary job<span>  </span>terminated normally, but 1 process returned</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">a non-zero exit code. Per user-direction, the job has been aborted.</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">--------------------------------------------------------------------------</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">--------------------------------------------------------------------------</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">mpiexec noticed that process rank 0 with PID 0 on node Mr-Holmes exited on signal 10 (Bus error: 10).</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">--------------------------------------------------------------------------</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">95% tests passed, </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(180,36,25)">1 tests failed</span><span style="font-variant-ligatures:no-common-ligatures"> out of 21</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">Label Time Summary:</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">unit<span>    </span>=<span>  </span>17.16 sec*proc (21 tests)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">Total Test time (real) = <span>  </span>2.65 sec</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68);min-height:14px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">The following tests FAILED:</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(180,36,25);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(47,255,18)"><span style="white-space:pre-wrap">     </span></span><span style="font-variant-ligatures:no-common-ligatures"> 19 - test_qe_lapack_zdotc (Failed)</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.68)"><span style="font-variant-ligatures:no-common-ligatures">Errors while running CTest</span></p></div><div><br></div><div>Is this something to worry about? Or I can ignore this and proceed with the installation?</div><div><br></div><div>Viejay</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 19, 2021 at 1:15 AM Ye Luo <<a href="mailto:xw111luoye@gmail.com" target="_blank">xw111luoye@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Also make sure you have a clean source directory before you start. Module files built previously may cause troubles.</div><div>Ye<br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr">===================<br>
Ye Luo, Ph.D.<br>Computational Science Division & Leadership Computing Facility<br>
Argonne National Laboratory</div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 18, 2021 at 11:10 AM Ye Luo <<a href="mailto:xw111luoye@gmail.com" target="_blank">xw111luoye@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Could you try CMake? <a href="https://gitlab.com/QEF/q-e/-/wikis/Developers/CMake-build-system" target="_blank">https://gitlab.com/QEF/q-e/-/wikis/Developers/CMake-build-system</a></div><div>Ye<br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr">===================<br>
Ye Luo, Ph.D.<br>Computational Science Division & Leadership Computing Facility<br>
Argonne National Laboratory</div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 18, 2021 at 5:20 AM Viejay Ordillo <<a href="mailto:vjordillo@gmail.com" target="_blank">vjordillo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3">Dear QE users,<br></div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3">I've been trying to install quantum espresso v.6.8 on my mac computer (M1 chip), but I keep getting errors along the process. Configuring with <i>./configure CPP="gcc -E" </i>was successful. However, when I tried to use <i>make all </i>command, it threw me this error:<br></div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3"></div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3">checking build system type... Invalid configuration `aarch64-apple-darwin20.6.0': machine `aarch64-apple' not recognized<br>configure: error: /bin/sh ./config/config.sub aarch64-apple-darwin20.6.0 failed<br>if test -d src/ ; then \<br>( cd src/ ; make ) ; fi<br>make[3]: *** No rule to make target `device_auxfunc_mod.o', needed by `deviceXlib_mod.o'. Stop.<br>make[2]: *** [libsrc] Error 2<br>make[1]: *** [libcuda_devxlib] Error 2<br>make: *** [libcuda] Error 2<br></div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3"></div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3">I found a similar case from QE mailing list threads (<a href="https://www.researchgate.net/deref/https%3A%2F%2Fwww.mail-archive.com%2Fusers%40lists.quantum-espresso.org%2Fmsg41460.html" rel="noopener" style="color:inherit;outline:currentcolor none medium;padding:0px;margin:0px;font-size:inherit;font-family:inherit;font-weight:inherit;border:0px none;background:rgba(0,0,0,0) none repeat scroll 0% 0%;text-align:inherit;display:inline" target="_blank">https://www.mail-archive.com/users@lists.quantum-espresso.org/msg41460.html</a>). I followed the instructions from there but in the end, I was still met with an error like this:</div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3"></div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3">mpif90 -O3 -g -fallow-argument-mismatch -cpp -D__FFTW -D__MPI -I/Users/houtarou/qe-6.8//external/devxlib/src -I/Users/houtarou/qe-6.8//include -I/Users/houtarou/qe-6.8//FoX/finclude -I../UtilXlib -I../external/devxlib/src -c virtual_v2.f90<br>mpif90 -g -o virtual_v2.x virtual_v2.o libupf.a -L/usr/local/lib -llapack -lblas -lblas<br>Undefined symbols for architecture arm64:<br>"___mp_MOD_mp_sum_rm", referenced from:<br>_init_us_0_ in libupf.a(init_us_0.o)<br>"___mp_MOD_mp_sum_rt", referenced from:<br>_init_us_0_ in libupf.a(init_us_0.o)<br>"___mp_MOD_mp_sum_rv", referenced from:<br>_init_us_0_ in libupf.a(init_us_0.o)<br>"_divide_", referenced from:<br>_init_us_0_ in libupf.a(init_us_0.o)<br>"_start_clock_", referenced from:<br>_init_us_0_ in libupf.a(init_us_0.o)<br>"_stop_clock_", referenced from:<br>_init_us_0_ in libupf.a(init_us_0.o)<br>ld: symbol(s) not found for architecture arm64<br>collect2: error: ld returned 1 exit status<br>make[1]: *** [virtual_v2.x] Error 1<br>make: *** [libupf] Error 1<br></div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3"></div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3">There's no update from the thread until now. I don't know how to move forward. I hope you could help with this. Thank you.</div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3">Regards,</div><div style="border:0px none;margin:0px 0px 15px;padding:0px;color:rgb(17,17,17);font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.3">Viejay Ordillo<br>Graduate Student<br>University of the Philippines Diliman <br></div></div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>
</blockquote></div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 206, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>