<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Greetings, <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I had the same problem with the <span style="font-family:monospace">configure</span>. I was able to resolve the issue by changing the <span style="font-family:monospace">PATH</span> variable. <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I guess, there are two paths for <span style="font-family:monospace">gcc</span> and <span style="font-family:monospace">cpp</span> on your mac machine: <span style="font-family:monospace">usr/local/bin/</span> and <span style="font-family:monospace">usr/bin/</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif">If you put the <span style="font-family:monospace">usr/bin/</span> upfront in the <span style="font-family:monospace">PATH</span> variable the error will hopefully go away.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">You can do this by adding the following at the end of your <span style="font-family:monospace">.bash_profile</span>: <br></div><div class="gmail_default"><span style="font-family:monospace">export PATH=/usr/bin:$PATH</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Best, <br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">SMF<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 29, 2019 at 2:54 AM Paolo Giannozzi <<a href="mailto:p.giannozzi@gmail.com">p.giannozzi@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>It looks like a problem of your Mac software, not of QE itself</div><div><br></div><div>Paolo<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 28, 2019 at 11:22 PM Schneeloch, John August (jas9db) <<a href="mailto:jas9db@virginia.edu" target="_blank">jas9db@virginia.edu</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="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I'm trying to install Quantum Espresso 6.4.1 on macOS 10.14.5. I extracted the .tar.gz file, entered the directory, and did "./configure". The output is here:
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__pastebin.com_7qda5UNV&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=zntZ02qV1lU7lWqWBWqDyQ&m=BQtTv6zn9efaEcfjh_u98a3-Ag6gJzMiJFEbnIoau74&s=6o_aRsTxtVOWjgqdq11R-FUYX7SI7xxYdg-Yj5sZzb4&e=" id="gmail-m_-8880080878547141075gmail-m_-8988765096058142163LPNoLP729331" target="_blank">https://pastebin.com/7qda5UNV</a>. Config.log is here:
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__pastebin.com_n6buGMkB&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=zntZ02qV1lU7lWqWBWqDyQ&m=BQtTv6zn9efaEcfjh_u98a3-Ag6gJzMiJFEbnIoau74&s=nMgzdFQFuOZB72f4C9QN9cwTV33OaDrVOlvsKohfWXQ&e=" id="gmail-m_-8880080878547141075gmail-m_-8988765096058142163LPNoLP815006" target="_blank">https://pastebin.com/n6buGMkB</a>. The output ends with a line saying</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
"configure: error: C preprocessor "/lib/cpp" fails sanity check"</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
However, I have cpp installed at /usr/local/bin/cpp. How do I fix this issue?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
John Schneeloch</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
University of Virginia<br>
</div>
<br>
</div>

_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.max-2Dcentre.eu_quantum-2Despresso&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=zntZ02qV1lU7lWqWBWqDyQ&m=BQtTv6zn9efaEcfjh_u98a3-Ag6gJzMiJFEbnIoau74&s=o3LwaP0JZQ9s6_L6CU4GDYaC2n5TG2bOX8nuFXSMBus&e=" 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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.quantum-2Despresso.org_mailman_listinfo_users&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=zntZ02qV1lU7lWqWBWqDyQ&m=BQtTv6zn9efaEcfjh_u98a3-Ag6gJzMiJFEbnIoau74&s=Bu2cArIt3YvU6QzWmO0VciRWoF17Xp2bKV4P8BS7dow&e=" 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_-8880080878547141075gmail_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="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.max-2Dcentre.eu_quantum-2Despresso&d=DwICAg&c=slrrB7dE8n7gBJbeO0g-IQ&r=zntZ02qV1lU7lWqWBWqDyQ&m=BQtTv6zn9efaEcfjh_u98a3-Ag6gJzMiJFEbnIoau74&s=o3LwaP0JZQ9s6_L6CU4GDYaC2n5TG2bOX8nuFXSMBus&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.max-2Dcentre.eu_quantum-2Despresso&d=DwICAg&c=slrrB7dE8n7gBJbeO0g-IQ&r=zntZ02qV1lU7lWqWBWqDyQ&m=BQtTv6zn9efaEcfjh_u98a3-Ag6gJzMiJFEbnIoau74&s=o3LwaP0JZQ9s6_L6CU4GDYaC2n5TG2bOX8nuFXSMBus&e=</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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.quantum-2Despresso.org_mailman_listinfo_users&d=DwICAg&c=slrrB7dE8n7gBJbeO0g-IQ&r=zntZ02qV1lU7lWqWBWqDyQ&m=BQtTv6zn9efaEcfjh_u98a3-Ag6gJzMiJFEbnIoau74&s=Bu2cArIt3YvU6QzWmO0VciRWoF17Xp2bKV4P8BS7dow&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.quantum-2Despresso.org_mailman_listinfo_users&d=DwICAg&c=slrrB7dE8n7gBJbeO0g-IQ&r=zntZ02qV1lU7lWqWBWqDyQ&m=BQtTv6zn9efaEcfjh_u98a3-Ag6gJzMiJFEbnIoau74&s=Bu2cArIt3YvU6QzWmO0VciRWoF17Xp2bKV4P8BS7dow&e=</a> </blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div><div><font size="4"><span style="font-family:garamond,serif"><i>S. M. Farzaneh</i></span></font><br></div><font size="1"><span style="font-family:georgia,serif">Graduate Student<br></span></font></div><div><font size="1"><span style="font-family:georgia,serif">ECE Department<br></span></font></div><div><font size="1" face="georgia, serif">New York University</font></div><font size="1"><span style="font-family:georgia,serif"><br></span></font></div><div><font size="1"></font></div><span style="font-family:georgia,serif"></span><br></div></div></div></div></div></div></div></div>