<div dir="ltr"><div dir="ltr">I have QE successfully compiled and linked on macOS 10.14 and 10.13 on 2015 MacBook Pros with i7 processors, albeit using version 6.4.1 and the iFort compilers with MPICH. The make.include file had to be heavily edited to the correct paths to the MKL libs <i>etc</i>. whereas older versions of QE (5.4(ish) and macOS would detect the libraries and parallel environment without issues.<div><br></div><div>I would try making one binary instead of using 'make all' if you are troubleshooting. Also, if you have later versions of macOS system integrity protection will mess up being able to call QE from just about everything besides the command line (and sometimes even that). You're kind of leaving us in the dark in terms of your setup and how you are approaching the configuration.<div><br></div><div>What version of gFortran are you using?</div><div>Are you using a parallel environment? If so, are you using openMPI or MPICH?</div><div>Have you edited the make.inc file correctly?</div><div>If you are using ./configure, what are the [options] you are including (if any)? </div><div>Can you give some more information re. your system info? <i>i.e. </i>number of processors <i>etc. </i>macOS version?</div><div><i><br></i></div><div>Will DeBenedetti</div><div>Cornell University</div><div><i><br></i></div><div><br></div><div><br><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2019 at 10:10 AM 林聖智 <<a href="mailto:r03223130@ntu.edu.tw">r03223130@ntu.edu.tw</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Besides, is there a way that I can edit the file of cell_base.f90? I think I could add some options to it and then carry out the calculation of vc_relax using the ‘ibrav’ for the cell_dofree description. But, thus far, I couldn’t find out the Module file when QE was installed using MacPorts.<div><br><div>
<div dir="auto" style="word-wrap:break-word;line-break:after-white-space"><div style="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">Thank you for considering my request.</div><div style="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">Sheng-Chih Lin</div><div style="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"><a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</a></div><div style="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"><br></div><br class="gmail-m_7732817804662574537Apple-interchange-newline"></div><br class="gmail-m_7732817804662574537Apple-interchange-newline">
</div>
<div><br><blockquote type="cite"><div>Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>> 於 2019年9月19日 下午9:03 寫道:</div><br class="gmail-m_7732817804662574537Apple-interchange-newline"><div><div dir="ltr"><div>I see. For some reason the configure of FoX selects a different version of gfortran than the one selected by the configure of QE. Any Macintosh lover out there?<br></div><div><br></div><div>Paolo<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2019 at 2:57 PM 林聖智 <<a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div>Hi Paolo,</div><div><br></div>Following the last mail, after failing to install the version 6.4, I went back to that of 6.3. Yet, this time I didn’t use MacPorts to install it, but used steps of ./configure and make all to carry the installation. And, the installation did not work. After that, I used MacPorts to install the version 6.3 successfully. <div><br></div><div>Hope this piece of information can help identify the problem with the manual installation in my computer.  <br><div><br><div>
<div dir="auto"><div style="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">Thank you for considering my request.</div><div style="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">Sheng-Chih Lin</div><div style="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"><a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</a></div><div style="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"><br></div><br class="gmail-m_7732817804662574537gmail-m_1060356577712844175Apple-interchange-newline"></div><br class="gmail-m_7732817804662574537gmail-m_1060356577712844175Apple-interchange-newline">
</div>
<div><br><blockquote type="cite"><div>林聖智 <<a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</a>> 於 2019年9月19日 下午8:37 寫道:</div><br class="gmail-m_7732817804662574537gmail-m_1060356577712844175Apple-interchange-newline"><div><div>Hi Paolo,<div><br></div><div>Thanks again for your kind help. I originally used MacPorts to install quantum-espresso 6.3, and I thought there might be a conflict between two versions, so I then uninstalled 6.3 first and complied again. However, the message, as follows, just kept showing up. And I also tried the command - make clean, but was no joy, either. </div><div><br></div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><b>fox_init_module.f90:5:4:</b></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> USE m_common_io, ONLY: setup_io, io_err, io_eor, io_eof</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">    </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>1</b></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(195,55,32)"><b>Fatal Error:</b></span><span style="font-variant-ligatures:no-common-ligatures"> Cannot read module file '<b>m_common_io.mod</b>' opened at (1), because it was created by a different version of GNU Fortran</span></div></div><div><br><div><br></div><div>Also, when I make clean, the FoX file would automatically disappear as well, so I am confused with your instruction of removing the directory FoX. </div><div><br></div><div>
<div dir="auto"><div style="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">Thank you for considering my request.</div><div style="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">Sheng-Chih Lin</div><div style="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"><a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</a></div><div style="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"><br></div><br class="gmail-m_7732817804662574537gmail-m_1060356577712844175Apple-interchange-newline"></div><br class="gmail-m_7732817804662574537gmail-m_1060356577712844175Apple-interchange-newline">
</div>
<div><br><blockquote type="cite"><div>Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>> 於 2019年9月19日 下午4:33 寫道:</div><br class="gmail-m_7732817804662574537gmail-m_1060356577712844175Apple-interchange-newline"><div><div dir="ltr">Remove the directory FoX/ and recompile - Paolo<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2019 at 8:37 AM 林聖智 <<a href="mailto:r03223130@ntu.edu.tw" target="_blank">r03223130@ntu.edu.tw</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Dear Paolo Giannozzi,<br>
<br>
Thanks for the reply. I do use the command of make clean, but still cannot compile completely.<br>
<br>
Best, <br>
Sheng-Chih<br>
<br>
> Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com" target="_blank">p.giannozzi@gmail.com</a>> 於 2019年9月19日 下午2:29 寫道:<br>
> <br>
> Fortran<br>
<br>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</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-m_7732817804662574537gmail-m_1060356577712844175gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>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></div></div></div></div></div>
_______________________________________________<br>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" target="_blank">www.max-centre.eu/quantum-espresso</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" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><br></div></div>_______________________________________________<br>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" target="_blank">www.max-centre.eu/quantum-espresso</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" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><br></div></div></div>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</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-m_7732817804662574537gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>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></div></div></div></div></div>
_______________________________________________<br>Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" target="_blank">www.max-centre.eu/quantum-espresso</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" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div><br></div></div>_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</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></div>