<div dir="ltr"><div>Unless you need the "virtual_v2.x" executable, just "touch upflib/virtual_v2.x". Explanations in commit e7f62601, Sep. 24</div><div><br></div><div>Paolo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 18, 2021 at 12:20 PM 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 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><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>