[Pw_forum] error in average.x calculation

Paolo Giannozzi giannozz at democritos.it
Fri Apr 13 10:02:18 CEST 2012


On Thu, 2012-04-12 at 16:21 -0600, Tram Bui wrote:

> And I keep getting the error of "nfile is wrong". 
> Please help me out! 

at line 120 of average.f90:

     READ (inunit, *, err = 1100, iostat = ios) nfile
     IF (nfile<=0.or.nfile>nfilemax) CALL errore ('average ', &
          'nfile is wrong ', 1)

Add  some "print *, .." and you will see what happens and why

P.
-- 
Paolo Giannozzi, IOM-Democritos and University of Udine, Italy





More information about the users mailing list