[QE-users] Quantum espresso installation problem in MAC
Ye Luo
xw111luoye at gmail.com
Wed Nov 27 15:28:32 CET 2019
The error message indicates the gcc8.3 you have installed is not compatible
with your OS.
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.
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.
This is not a QE problem and hopefully you can find answers on Google.
Best,k
Ye
===================
Ye Luo, Ph.D.
Computational Science Division & Leadership Computing Facility
Argonne National Laboratory
Kanka Ghosh <kanka.ghosh at u-bordeaux.fr> 于2019年11月26日周二 上午4:45写道:
> Hello,
>
> 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 :
>
>
>
> make all
>
> test -d bin || mkdir bin
>
> ( cd clib ; /Library/Developer/CommandLineTools/usr/bin/make TLDEPS= all
> || exit 1 )
>
> 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/ -c
> customize_signals.c
>
> 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/ -c stack.c
>
> In file included from *stack.c:9*:
>
>
> */usr/local/lib/gcc/x86_64-apple-darwin18.5.0/8.3.0/include-fixed/stdio.h:78:10:**fatal
> error: *_stdio.h: No such file or directory
>
> #include *<_stdio.h>*
>
> *^~~~~~~~~~*
>
> compilation terminated.
>
> make[1]: *** [stack.o] Error 1
>
> make: *** [libs] Error 1
>
>
> Can anybody help to overcome this issue ? I have installed all gcc
> compilers as well as the libraries using brew in the machine.
>
> Thanks in advanced,
>
> Kanka
> Postdoc, I2M-bordeaux
> University of Bordeaux, CNRS UMR 5295
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)
> users mailing list users at lists.quantum-espresso.org
> https://lists.quantum-espresso.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20191127/137c6e4b/attachment.html>
More information about the users
mailing list