[QE-users] Quantum espresso installation problem in MAC

Paolo Giannozzi p.giannozzi at gmail.com
Tue Nov 26 17:37:21 CET 2019


Just modify clib/stack.c in such a way that it does nothing, e.g.,

void remove_stack_limit_(void) {;}

It's used only by the Intel compiler actually

Paolo

On Tue, Nov 26, 2019 at 11:45 AM Kanka Ghosh <kanka.ghosh at u-bordeaux.fr>
wrote:

> 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



-- 
Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,
Univ. Udine, via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20191126/c818fea8/attachment.html>


More information about the users mailing list