[Pw_forum] wrong record length

Paolo Giannozzi giannozz at democritos.it
Wed Jul 29 08:35:38 CEST 2009


On Jul 28, 2009, at 22:57 , Ary Junior wrote:

> the extension value is dvkb3
> the DIRECT_IO_FACTOR value is            8
> the recl value is    355119210
> the unf_recl value is  -1454013616

Since only unf_recl=DIRECT_IO_FACTOR*recl is overflowing
(8*355119210 = 2840953680 > 2147483648 =2**31) you may
try first one of the two following workarounds: in PW/diropn.f90
- define only unf_recl as integer(8), or
-  define DIRECT_IO_FACTOR=2, remove "-assume byterecl"
from compiler flags

Paolo
---
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