<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Hi Kanka,<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
_stdio.h is a header file that comes with Xcode. You should try to update the headers with a command similar to
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
cd /Library/Developer/CommandLineTools/Packages/ <br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
open macOS_SDK_headers_for_macOS_10.14.pkg<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
(This will open an installation wizard). And then compile QE.<br>
<br>
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Daniel Mejia Rodriguez<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Postdoctoral Associate<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
University of Florida <br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<span id="OutlookSignature">
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Get <a href="https://aka.ms/ghei36">Outlook for Android</a></div>
</span><br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> users <users-bounces@lists.quantum-espresso.org> on behalf of Ye Luo <xw111luoye@gmail.com><br>
<b>Sent:</b> Wednesday, November 27, 2019 9:28:32 AM<br>
<b>To:</b> Quantum ESPRESSO users Forum <users@lists.quantum-espresso.org><br>
<b>Subject:</b> Re: [QE-users] Quantum espresso installation problem in MAC</font>
<div> </div>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0" align="left" width="100%">
<div><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#FA4616"><b>[External Email]</b></span>
</div>
</table>
<div>
<div dir="ltr">
<div>The error message indicates the gcc8.3 you have installed is not compatible with your OS.</div>
<div>QE includes <stdio.h> which is standard C. The stdio.h shipped by the compiler tries to access _stdio.h which doesn't exist in the system.</div>
<div>So probably you can write a dummy C program with just include stdio.h and a main function and then use it to debug your compiler installation first.</div>
<div>This is not a QE problem and hopefully you can find answers on Google.</div>
<div>Best,k<br>
</div>
<div>Ye<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">===================<br>
Ye Luo, Ph.D.<br>
Computational Science Division & Leadership Computing Facility<br>
Argonne National Laboratory</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Kanka Ghosh <<a href="mailto:kanka.ghosh@u-bordeaux.fr">kanka.ghosh@u-bordeaux.fr</a>> $BP2(B2019$BG/(B11$B7n(B26$BF|<~Fs(B $B>e8a(B4:45$B<LF;!'(B<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>
<div style="font-family:arial,helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div>Hello,</div>
<div><br>
</div>
<div>I am trying to install quantum espresso in iMac (macOS Mojave, version 10.14.6). While it configured properly, I am facing some issues while compiling with make all or make pw or any make command. It is showing the following error after executing make
 all command : </div>
<div>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">make all</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">test -d bin || mkdir bin</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">( cd clib ; /Library/Developer/CommandLineTools/usr/bin/make TLDEPS= all || exit 1 )</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">gcc -O3 -D__FFTW3 -D__MPI -I/Users/kghosh/Downloads/qe-6.4.1//include -I/Users/kghosh/Downloads/qe-6.4.1//FoX/finclude -I/Users/kghosh/Downloads/qe-6.4.1//S3DE/iotk/include/<span> 
</span>-c customize_signals.c</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">gcc -O3 -D__FFTW3 -D__MPI -I/Users/kghosh/Downloads/qe-6.4.1//include -I/Users/kghosh/Downloads/qe-6.4.1//FoX/finclude -I/Users/kghosh/Downloads/qe-6.4.1//S3DE/iotk/include/<span> 
</span>-c stack.c</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">In file included from <b>
stack.c:9</b>:</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><b>/usr/local/lib/gcc/x86_64-apple-darwin18.5.0/8.3.0/include-fixed/stdio.h:78:10:</b></span><span style="font-variant-ligatures:no-common-ligatures; color:rgb(180,36,25)"><b>fatal error:
</b></span><span style="font-variant-ligatures:no-common-ligatures">_stdio.h: No such file or directory</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><span> </span>#include </span>
<span style="font-variant-ligatures:no-common-ligatures; color:rgb(180,36,25)"><b><_stdio.h></b></span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><span>          </span></span><span style="font-variant-ligatures:no-common-ligatures; color:rgb(180,36,25)"><b>^~~~~~~~~~</b></span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">compilation terminated.</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">make[1]: *** [stack.o] Error 1</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">make: *** [libs] Error 1</span></p>
<p style="margin:0px; font-style:normal; font-variant-caps:normal; font-weight:normal; font-stretch:normal; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(0,0,0)">
<br>
</p>
</div>
<div>
<div style="color:rgb(0,0,0); font-family:arial,helvetica,sans-serif; font-size:16px; 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; background-color:rgb(255,255,255); text-decoration:none">
Can anybody help to overcome this issue ? I have installed all gcc compilers as well as the libraries using brew in the machine.</div>
<div style="color:rgb(0,0,0); font-family:arial,helvetica,sans-serif; font-size:16px; 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; background-color:rgb(255,255,255); text-decoration:none">
<br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,helvetica,sans-serif; font-size:16px; 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; background-color:rgb(255,255,255); text-decoration:none">
Thanks in advanced,</div>
<div style="color:rgb(0,0,0); font-family:arial,helvetica,sans-serif; font-size:16px; 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; background-color:rgb(255,255,255); text-decoration:none">
<br>
</div>
<div style="color:rgb(0,0,0); font-family:arial,helvetica,sans-serif; font-size:16px; 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; background-color:rgb(255,255,255); text-decoration:none">
Kanka</div>
<div style="color:rgb(0,0,0); font-family:arial,helvetica,sans-serif; font-size:16px; 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; background-color:rgb(255,255,255); text-decoration:none">
Postdoc, I2M-bordeaux</div>
<div style="color:rgb(0,0,0); font-family:arial,helvetica,sans-serif; font-size:16px; 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; background-color:rgb(255,255,255); text-decoration:none">
University of Bordeaux, CNRS UMR 5295</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=DwMFaQ&c=sJ6xIWYx-zLMB3EPkvcnVg&r=TwOmC0aFDFSc-mNMKX7hqf_mpx9TR50wSNa9tLtYbcE&m=hwQz0bSKSND5bCtT7E7qZAtMDVaErDIRhfrKLD77eyo&s=PEgugKLOxPvJuVDRFuLqFMNm9UI9piAeyjgWU_9Bhy4&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=sJ6xIWYx-zLMB3EPkvcnVg&r=TwOmC0aFDFSc-mNMKX7hqf_mpx9TR50wSNa9tLtYbcE&m=hwQz0bSKSND5bCtT7E7qZAtMDVaErDIRhfrKLD77eyo&s=kVAYGeAAB396FyEbXgYXSF2DIqa9jNstuQDyT60IQxQ&e=" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote>
</div>
</div>
</div>
</body>
</html>