[Pw_forum] Compile error on OS X PPC w/ gfortran

David Farrell davidfarrell2008 at u.northwestern.edu
Mon Jan 19 20:06:36 CET 2009


Hi all,

I am trying to build QE on my laptop (an older G4 powerbook, OS X  
10.5.6) with gfortran & gcc v 4.4.0 and came across the following  
errors when trying to build 'tools':

fortran -O3 -x f95-cpp-input -D__XLF -D__GFORTRAN -D__FFTW - 
D__USE_INTERNAL_FFTW -I../include  -I./  -I../Modules  -I../iotk/src - 
I../PW  -I../PH -c parser.f90
parser.f90:66.21:

     CHARACTER(LEN=1), AUTOMATIC             :: sep1, sep2
                     1
Error: Invalid character in name at (1)
parser.f90:67.12:

     INTEGER, AUTOMATIC                      :: j
            1
Error: Invalid character in name at (1)
parser.f90:81.11:

        DO j = 2, MAX( LEN( line ), 256 )
           1
Error: Symbol 'j' at (1) has no IMPLICIT type
parser.f90:78.11:

        sep1 = char(32)  ! ... blank character
           1
Error: Symbol 'sep1' at (1) has no IMPLICIT type
parser.f90:79.11:

        sep2 = char(9)   ! ... tab character
           1
Error: Symbol 'sep2' at (1) has no IMPLICIT type
make[1]: *** [parser.o] Error 1
make: *** [mods] Error 2


Any ideas? seems like my compiler is choking on the formatting, but I  
am not really sure why.


Thanks,

Dave

David E. Farrell
Post-Doctoral Fellow
Department of Materials Science and Engineering
Northwestern University
email: d-farrell2 at northwestern.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20090119/d3bf373b/attachment.html>


More information about the users mailing list