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 for Windows 10

From: Paolo Giannozzi
Sent: Saturday, August 29, 2020 5:33 PM
To: Quantum ESPRESSO users Forum
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 <[email protected]> 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 <[email protected]> wrote:

On Sat, Aug 29, 2020 at 12:37 AM Aaron Celestian <[email protected]> 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)
users mailing list [email protected]
https://lists.quantum-espresso.org/mailman/listinfo/users

_______________________________________________
Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso)
users mailing list [email protected]
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 [email protected]
https://lists.quantum-espresso.org/mailman/listinfo/users

Reply via email to