[QE-users] Problems running make pw

Aaron Celestian acelestian at nhm.org
Sat Aug 29 18:57:59 CEST 2020


Thank you very much Paolo and Pietro for your troubleshoot advise and help!  Redefining CPP worked :)

Aaron




> On Aug 29, 2020, at 8:37 AM, Pietro Delugas <pdelugas at sissa.it> wrote:
> 
> Hi 
>  
> It is cpp itself, it is some compiler in macOS 
> Redefining CPP in make.inc should ork 
> Try
> CPP = gcc -E
>  
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
>  
> From: Paolo Giannozzi <mailto:p.giannozzi at gmail.com>
> Sent: Saturday, August 29, 2020 5:33 PM
> To: Quantum ESPRESSO users Forum <mailto:users at lists.quantum-espresso.org>
> Subject: Re: [QE-users] Problems running make pw
>  
> Mac OS weridness as usual. In make.inc, between the line
> .h.fh:
> and the line
>         $(CPP) $(CPPFLAGS) $< -o $*.fh
> add a line
>         echo $(CPP) $(CPPFLAGS) $< -o $*.fh
> (there is a tabulator at the beginning of the line, not spaces). 
> This should tell you what is the command that fails, so you can figure out why.
> Paolo
>  
> On Sat, Aug 29, 2020 at 5:19 PM Aaron Celestian <acelestian at nhm.org <mailto:acelestian at nhm.org>> wrote:
> Apologies,  forgot to include that.  This was the only error.  After this, then compilation stopped.
>  
>    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
>  
>  
>  
> 
> 
> On Aug 28, 2020, at 11:38 PM, Paolo Giannozzi <p.giannozzi at gmail.com <mailto:p.giannozzi at gmail.com>> wrote:
>  
> On Sat, Aug 29, 2020 at 12:37 AM Aaron Celestian <acelestian at nhm.org <mailto:acelestian at nhm.org>> wrote:
>  
> f951: Warning: Nonexistent include directory '/Users/acelesti/QE//FoX/finclude' [-Wmissing-include-dirs]
> mpif90 -O3 -g -fallow-argument-mismatch -cpp -D__FFTW -D__MPI -Duse_beef   - I/Users/acelesti/QE//include -I/Users/acelesti/QE//FoX/finclude -I/Users/acelesti/QE//S3DE/iotk/include/  -c iotk_write.f90
>  
> this is a warning, not an error. Where is the error?
>  
> Paolo
> -- 
> 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
> 
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso <http://www.max-centre.eu/quantum-espresso>)
> users mailing list users at lists.quantum-espresso.org <mailto:users at lists.quantum-espresso.org>
> https://lists.quantum-espresso.org/mailman/listinfo/users <https://lists.quantum-espresso.org/mailman/listinfo/users>
>  
> _______________________________________________
> Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso <http://www.max-centre.eu/quantum-espresso>)
> users mailing list users at lists.quantum-espresso.org <mailto:users at lists.quantum-espresso.org>
> https://lists.quantum-espresso.org/mailman/listinfo/users <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
> 
>  
> _______________________________________________
> 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/20200829/6f293739/attachment.html>


More information about the users mailing list