[QE-users] Failed install of executables on Mac

Dario Massa dario.massa at studenti.unipd.it
Thu Apr 1 11:00:00 CEST 2021


Kind Sarkar,
thank you very much for your answer
I have just substituted the line CPP = cpp with CPP =  gcc -E
I think it really helped somehow to proceed, but another issue has shown up
after the correction:


mpif90 -O3 -g -fallow-argument-mismatch -cpp -D__FFTW3 -D__MPI
-I/Users/dariomassa/Documents/qe-6.7//include
-I/Users/dariomassa/Documents/qe-6.7//FoX/finclude   -c fft_scalar.FFTW.f90
mpif90 -O3 -g -fallow-argument-mismatch -cpp -D__FFTW3 -D__MPI
-I/Users/dariomassa/Documents/qe-6.7//include
-I/Users/dariomassa/Documents/qe-6.7//FoX/finclude   -c fft_scalar.FFTW3.f90
fft_scalar.FFTW3.f90:43:2:

   43 | #endif
      |  1~~~~
Fatal Error: fftw3.f: No such file or directory
compilation terminated.
make[1]: *** [fft_scalar.FFTW3.o] Error 1
make: *** [libfft] Error 1

Il giorno gio 1 apr 2021 alle ore 10:42 Arka Prava Sarkar <
sarkar.arkaprava200 at gmail.com> ha scritto:

> Hi Dario,
> In the make.inc file, please write the following
> CPP = gcc -E
> Hope this will fix the problem
>
> On Thu, 1 Apr 2021 at 14:08, Dario Massa <dario.massa at studenti.unipd.it>
> wrote:
>
>> Goodmorning,
>>
>> I report here an issue arising when trying to install QE v.6.7 on MacOs
>> Big Sur 11.1.
>> Configuration via ./configure is successful, but executables are not
>> installed.
>>
>> May I ask what am I supposed to do or what am I possibly doing wrong?
>>
>> I report here below the error
>>
>> I thank you in advance for your time and support
>> Kind regards,
>> Dario
>>
>> dariomassa at MacBook-Air-di-Dario qe-6.7 % make pw
>> test -d bin || mkdir bin
>> ( cd clib ; /Applications/Xcode.app/Contents/Developer/usr/bin/make
>> TLDEPS= all || exit 1 )
>> make[1]: Nothing to be done for `all'.
>> cd install ; /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
>> extlibs_makefile libfox
>> if test ! -d ../FoX; then \
>>         mkdir ../FoX; \
>> (gzip -dc ../archive/fox.tgz | (cd ../FoX; tar -xvf -)); \
>> cd ../FoX/fox/; export FC=gfortran; export FCFLAGS=""; \
>> ./configure --prefix=/Users/dariomassa/Documents/qe-6.7//FoX ;\
>>     touch cp_test; \
>>     if cp -p cp_test cp_test_1; then \
>>         echo "cp -p works"; \
>>     else \
>>         find -type f | xargs sed -i 's/cp -p/cp/g'; \
>>     fi; \
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make install; cd ../;
>> rm -fr fox;fi
>> ( cd UtilXlib ; /Applications/Xcode.app/Contents/Developer/usr/bin/make
>> TLDEPS= all || exit 1 )
>> make[1]: Nothing to be done for `all'.
>> cd install ; /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
>> extlibs_makefile liblapack
>> make[1]: Nothing to be done for `liblapack'.
>> cd install ; /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
>> extlibs_makefile libcuda
>> make[1]: Nothing to be done for `libcuda'.
>> ( cd LAXlib ; /Applications/Xcode.app/Contents/Developer/usr/bin/make
>> TLDEPS= all || exit 1 )
>> cpp -P -traditional -Uvector -D__FFTW3 -D__MPI
>> -I/Users/dariomassa/Documents/qe-6.7//include
>> -I/Users/dariomassa/Documents/qe-6.7//FoX/finclude  laxlib.h -o laxlib.fh
>> !
>> ! Copyright (C) 2003-2013 Quantum ESPRESSO group
>> ! This file is distributed under the terms of the
>> ! GNU General Public License. See the file `Licenselaxlib.h:4:52:
>> warning: missing terminating ' character [-Winvalid-pp-token]
>> ! GNU General Public License. See the file `License'
>>                                                    ^
>> '
>> ! in the root directory of the present distribution,
>> ! or http://www.gnu.org/copyleft/gpl.txt .
>> !
>>    include 'laxlib_low.fh'
>>    include 'laxlib_mid.fh'
>>    include 'laxlib_hi.fh'
>>    include 'laxlib_param.fh'
>>
>>    INTEGER, EXTERNAL ::  ldim_block, ldim_cyclic, ldim_block_sca
>>
>> 1 warning generated.
>> clang: error: no input files
>> make[1]: *** [laxlib.fh] Error 1
>> make: *** [libla] Error 1
>>
>>
>>
>> _______________________________________________
>> Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
>> users mailing list users at lists.quantum-espresso.org
>> https://lists.quantum-espresso.org/mailman/listinfo/users
>
>
>
> --
>
> *Thanks and Regards,*
>
> *অর্ক প্রভ সরকার*
>  *Arka Prava Sarkar*
> *Junior Research Fellow, *
> *Centre for Computational and Data Sciences (CCDS)*
> *Indian Institute of Technology, Kharagpur*
> *West Bengal-721302*
> *email1 : sarkar.arkaprava200 at gmail.com <sarkar.arkaprava200 at gmail.com>*
> *email2 : arkaps.ccds at iitkgp.ac.in <arkaps.ccds at iitkgp.ac.in>*
> <http://www.linkedin.com/in/quantum-arka-phys-497052>
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu)
> 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/20210401/924b1c58/attachment.html>


More information about the users mailing list