<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Salvatore,</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
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-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
$ cmake -GNinja -Bbuild<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
$ cd build</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
$ ninja pw<br>
</div>
<div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Not sure if it will work out of the box on your machine, but it may be an alternative route.<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best,</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hsin-Yu<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<font color="#888888">--
<div dir="ltr">
<div dir="ltr">
<div><span style="font-family:georgia,serif"><span style="color:rgb(102,102,102)">Hsin-Yu Ko</span></span></div>
<div><span style="font-family:georgia,serif"><span style="color:rgb(102,102,102)">Postdoctoral Research Fellow<br>
</span></span></div>
<span style="font-family:georgia,serif"><span style="color:rgb(102,102,102)">Department of Chemistry and Chemical Biology<br>
</span></span><span><span style="font-family:georgia,serif"><span style="color:rgb(102,102,102)">Cornell University</span></span></span></div>
</div>
</font><br>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> users <users-bounces@lists.quantum-espresso.org> on behalf of Paolo Giannozzi <paolo.giannozzi@uniud.it><br>
<b>Sent:</b> Wednesday, May 4, 2022 10:36 AM<br>
<b>To:</b> Salvatore Candita <s296230@studenti.polito.it><br>
<b>Cc:</b> users@lists.quantum-espresso.org <users@lists.quantum-espresso.org><br>
<b>Subject:</b> Re: [QE-users] Make problem on qe</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">The "success" message is issued by the autoconf file <br>
"../install/configure", which is run at the end of the "./configure" <br>
script. You should verify what happens before.<br>
<br>
On 04/05/2022 16:22, Salvatore Candita wrote:<br>
> Oh I see, but if I followed the steps on the user guide and runner the <br>
> command ./configure on the console in the directory I obtained a success <br>
> message but the make.depend file is not created.<br>
> If I run the exe file configure contained in the folder it seems nothing <br>
> happens.<br>
> <br>
> <br>
>> Il giorno 4 mag 2022, alle ore 16:08, Paolo Giannozzi <br>
>> <paolo.giannozzi@uniud.it <<a href="mailto:paolo.giannozzi@uniud.it">mailto:paolo.giannozzi@uniud.it</a>>> ha scritto:<br>
>><br>
>> On 04/05/2022 15:05, Salvatore Candita wrote:<br>
>><br>
>>> I’m trying to compile quantum espresso packages on Mac m1<br>
>><br>
>> good luck<br>
>><br>
>>> and after having successfully configured<br>
>><br>
>> had you successfully configured, the build would not fail with the <br>
>> message "make.depend not found". Those files are generated when you <br>
>> run the "configure" script (the one in the directory where QE is, not <br>
>> the one in install/). The error message means that there is no <br>
>> UtilXlib/make.depend file<br>
>><br>
>> Paolo<br>
>><br>
>> -- <br>
>> Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>
>> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
>> Phone +39-0432-558216, fax +39-0432-558222<br>
> <br>
<br>
-- <br>
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
Phone +39-0432-558216, fax +39-0432-558222<br>
_______________________________________________<br>
The Quantum ESPRESSO community stands by the Ukrainian<br>
people and expresses its concerns about the devastating<br>
effects that the Russian military offensive has on their<br>
country and on the free and peaceful scientific, cultural,<br>
and economic cooperation amongst peoples<br>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu">www.max-centre.eu</a>)<br>
users mailing list users@lists.quantum-espresso.org<br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div>
</span></font></div>
</body>
</html>