<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="">Hi Hsin-Yu,<div class="">First of all, thank you for your answer. Anyway, I finally came up with a “solution” found on the web.</div><div class="">First of all, after the command "./configure” , I edited the file “make.inc” substituting under the heading CPP "gcc -E” instead the standard “cpp". Then, running "make pw” in the terminal it created the bin file and everything seemed ok but trying to run an example contained in the folder PW, it gave me error regarding MPI_Init even if I installed open-mpi with home-brew.</div><div class="">I tried your procedure using those commands but it failed and didn’t create the bin folder; In the following there is the screenshot of the error.</div><div class="">Thanks everyone and best regards!</div><div class=""><img apple-inline="yes" id="1FC34E8B-F314-4478-8D1A-F21C650E6F74" src="cid:FA1A6EF7-A05C-46E0-9B93-A505E5C2433F" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Il giorno 5 mag 2022, alle ore 18:54, Hsin-Yu Ko <<a href="mailto:hsin-yu.ko@cornell.edu" class="">hsin-yu.ko@cornell.edu</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; 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; font-family: "Times New Roman", Times, serif; font-size: 12pt;" class="">Hi Salvatore,</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; 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; font-family: "Times New Roman", Times, serif; font-size: 12pt;" class=""><br class=""></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; 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; font-family: "Times New Roman", Times, serif; font-size: 12pt;" class="">I recall a similar situation when working with a colleague (Ju-an Zhang) on QE compilation for a Mac m1. He had success with combined use of cmake and ninja by running the following in the root directory of QE:</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; 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; font-family: "Times New Roman", Times, serif; font-size: 12pt;" class=""><br class=""></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; 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; font-family: "Times New Roman", Times, serif; font-size: 12pt;" class="">$ cmake -GNinja -Bbuild<br class=""></div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; 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; font-family: "Times New Roman", Times, serif; font-size: 12pt;" class="">$ cd build</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; 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; font-family: "Times New Roman", Times, serif; font-size: 12pt;" class="">$ ninja pw<br class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; 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;" class=""><div style="font-family: "Times New Roman", Times, serif; font-size: 12pt;" class=""><br class=""></div><div style="font-family: "Times New Roman", Times, serif; font-size: 12pt;" class="">Not sure if it will work out of the box on your machine, but it may be an alternative route.<br class=""></div><div style="font-family: "Times New Roman", Times, serif; font-size: 12pt;" class=""><br class=""></div><div style="font-family: "Times New Roman", Times, serif; font-size: 12pt;" class="">Best,</div><div style="font-family: "Times New Roman", Times, serif; font-size: 12pt;" class="">Hsin-Yu<br class=""></div><div style="font-family: "Times New Roman", Times, serif; font-size: 12pt;" class=""><br class=""></div><div id="Signature" class=""><div class=""><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=""><font color="#888888" class="">--<div dir="ltr" class=""><div dir="ltr" class=""><div class=""><span style="font-family: georgia, serif;" class=""><span style="color: rgb(102, 102, 102);" class="">Hsin-Yu Ko</span></span></div><div class=""><span style="font-family: georgia, serif;" class=""><span style="color: rgb(102, 102, 102);" class="">Postdoctoral Research Fellow<br class=""></span></span></div><span style="font-family: georgia, serif;" class=""><span style="color: rgb(102, 102, 102);" class="">Department of Chemistry and Chemical Biology<br class=""></span></span><span class=""><span style="font-family: georgia, serif;" class=""><span style="color: rgb(102, 102, 102);" class="">Cornell University</span></span></span></div></div></font><br class=""></div></div></div></div><div id="appendonsend" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; 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;" class=""></div><hr tabindex="-1" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; 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; display: inline-block; width: 887.875px;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; 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; float: none; display: inline !important;" class=""></span><div id="divRplyFwdMsg" dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; 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;" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>users <<a href="mailto:users-bounces@lists.quantum-espresso.org" class="">users-bounces@lists.quantum-espresso.org</a>> on behalf of Paolo Giannozzi <<a href="mailto:paolo.giannozzi@uniud.it" class="">paolo.giannozzi@uniud.it</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday, May 4, 2022 10:36 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Salvatore Candita <<a href="mailto:s296230@studenti.polito.it" class="">s296230@studenti.polito.it</a>><br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:users@lists.quantum-espresso.org" class="">users@lists.quantum-espresso.org</a> <<a href="mailto:users@lists.quantum-espresso.org" class="">users@lists.quantum-espresso.org</a>><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [QE-users] Make problem on qe</font><div class=""> </div></div><div class="BodyFragment" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; 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;"><font size="2" class=""><span style="font-size: 11pt;" class=""><div class="PlainText">The "success" message is issued by the autoconf file<span class="Apple-converted-space"> </span><br class="">"../install/configure", which is run at the end of the "./configure"<span class="Apple-converted-space"> </span><br class="">script. You should verify what happens before.<br class=""><br class="">On 04/05/2022 16:22, Salvatore Candita wrote:<br class="">> Oh I see, but if I followed the steps on the user guide and runner the<span class="Apple-converted-space"> </span><br class="">> command ./configure on the console in the directory I obtained a success<span class="Apple-converted-space"> </span><br class="">> message but the make.depend file is not created.<br class="">> If I run the exe file configure contained in the folder it seems nothing<span class="Apple-converted-space"> </span><br class="">> happens.<br class="">><span class="Apple-converted-space"> </span><br class="">><span class="Apple-converted-space"> </span><br class="">>> Il giorno 4 mag 2022, alle ore 16:08, Paolo Giannozzi<span class="Apple-converted-space"> </span><br class="">>> <<a href="mailto:paolo.giannozzi@uniud.it" class="">paolo.giannozzi@uniud.it</a> <<a href="mailto:paolo.giannozzi@uniud.it" class="">mailto:paolo.giannozzi@uniud.it</a>>> ha scritto:<br class="">>><br class="">>> On 04/05/2022 15:05, Salvatore Candita wrote:<br class="">>><br class="">>>> I’m trying to compile quantum espresso packages on Mac m1<br class="">>><br class="">>> good luck<br class="">>><br class="">>>> and after having successfully configured<br class="">>><br class="">>> had you successfully configured, the build would not fail with the<span class="Apple-converted-space"> </span><br class="">>> message "make.depend not found". Those files are generated when you<span class="Apple-converted-space"> </span><br class="">>> run the "configure" script (the one in the directory where QE is, not<span class="Apple-converted-space"> </span><br class="">>> the one in install/). The error message means that there is no<span class="Apple-converted-space"> </span><br class="">>> UtilXlib/make.depend file<br class="">>><br class="">>> Paolo<br class="">>><br class="">>> --<span class="Apple-converted-space"> </span><br class="">>> Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br class="">>> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br class="">>> Phone +39-0432-558216, fax +39-0432-558222<br class="">><span class="Apple-converted-space"> </span><br class=""><br class="">--<span class="Apple-converted-space"> </span><br class="">Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br class="">Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br class="">Phone +39-0432-558216, fax +39-0432-558222<br class="">_______________________________________________<br class="">The Quantum ESPRESSO community stands by the Ukrainian<br class="">people and expresses its concerns about the devastating<br class="">effects that the Russian military offensive has on their<br class="">country and on the free and peaceful scientific, cultural,<br class="">and economic cooperation amongst peoples<br class="">_______________________________________________<br class="">Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/" class="">www.max-centre.eu</a>)<br class="">users mailing list<span class="Apple-converted-space"> </span><a href="mailto:users@lists.quantum-espresso.org" class="">users@lists.quantum-espresso.org</a><br class=""><a href="https://lists.quantum-espresso.org/mailman/listinfo/users" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></span></font></div></div></blockquote></div><br class=""></div></body></html>