[CPMD-list] cpmd2cube does not compile

Wolfgang Fritsch fritsch at hmi.de
Wed Mar 2 14:25:44 CET 2005


Hi,

I cannot compile cpmd2cube on a Dec-Alpha machine. I find many entries 
about this in the list, which, however, are a few months old and do not 
seem to help.

On running make I am getting Fortran messages that seem to indicate that 
the Fortran source is all garbled:

f90 -c -C -D__alpha -DFFT_DEFAULT -DLAPACK -DPOINTER8 kinds.F
f90: Error: Illegal character in statement label field  [M]
f90: Error: Illegal character in statement label field  [O]
f90: Error: Illegal character in statement label field  [D]
f90: Error: Illegal character in statement label field  [U]
f90: Error: Illegal character in statement label field  [L]
f90: Error: First statement in file must not be continued
f90: Error: kinds.F, line 20: Illegal character in statement label field 
  [I]
   IMPLICIT NONE
f90: Error: kinds.F, line 20: Illegal character in statement label field 
  [M]
f90: Error: kinds.F, line 20: Illegal character in statement label field 
  [P]
   IMPLICIT NONE
----^

....


f90: Error: kinds.F, line 29: Illegal character in statement label field 
  [I]
   INTEGER, PARAMETER :: qpr = selected_real_kind(24,60)
--^
f90: Error: kinds.F, line 29: Illegal character in statement label field 
  [N]
   INTEGER, PARAMETER :: qpr = selected_real_kind(24,60)
---^
f90: Error: kinds.F, line 29: Illegal character in statement label field 
  [T]
   INTEGER, PARAMETER :: qpr = selected_real_kind(24,60)
----^
f90: Severe: Too many errors, exiting

Now, I can read Fortran 77 and I am ready to learn Fortran 90 if this is 
what it takes to fix the problem. But surely something more basic has 
struck me here?

I am attaching file kinds.F as it arrived here, just in case.

Thanks for any hints,

Wolfgang
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kinds.F
Url: http://cpmd.org/pipermail/cpmd-list/attachments/20050302/c24e24be/attachment.cc 


More information about the CPMD-list mailing list