[Pw_forum] d3 errors in file reading

Paolo Giannozzi giannozz at democritos.it
Sat Sep 25 16:11:19 CEST 2010


On Sep 25, 2010, at 2:49 , matthieu verstraete wrote:

> http://www.democritos.it/pipermail/pw_forum/2003-June/000339.html

that was 7 years ago!

> pw.x and ph.x have no problems with the -inp directives. Don't know  
> why d3 does.

oh well. Because support for -inp it is not there. Quick-and dirty  
fix: in D3/d3_readin.f90,
add

      CALL input_from_file ( )

between

   IF ( ionode ) THEN

and
      !
      !    Read the first line of the input file
      !
      READ (5, '(a)', err = 100, iostat = ios) title

Before starting an enquiry on the "davcio error" (seomthing that  
should never happen)
It would be useful to know whether the problem shows up on other  
machines as well

P.
---
Paolo Giannozzi, Dept of Physics, University of Udine
via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222






More information about the users mailing list