[Q-e-developers] integer(kind=8) :: recl for diropn
Samuel Poncé
samuel.pon at gmail.com
Tue Oct 18 19:42:32 CEST 2016
Well my bad.
I just learned that Fortran has a 2,147,483,647 bytes max record length:
http://earth.uni-muenster.de/~joergs/doc/f90/unix-um/dfum_029.html
Therefore what was coded make sense.
Sorry for that.
Sam
On 18 October 2016 at 17:49, Samuel Poncé <samuel.pon at gmail.com> wrote:
> Dear all,
>
> For big systems, there is a problem with the Modules/io_files.f90
>
> The subroutine diropn has a recl that is integer.
>
> Can I change that to ?
> integer*8 :: recl
>
> This has a big impact as all the calling routine to diropn needs to be
> changed and pass integer 8. Otherwise it will not compile with gfortran:
> Error: Type mismatch in argument ‘recl’ at (1); passed INTEGER(4) to
> INTEGER(8)
>
> Best,
>
> Samuel
>
>
>
>
>
> --
>
> ------------------------------------------------------------------------------------------------
> Dr. Samuel Poncé
> Department of Materials
> University of Oxford
> Parks Road
> Oxford OX1 3PH, UK
>
> Phone: +44 1865 612789
> email: samuel.ponce at materials.ox.ac.uk <fabio.caruso at materials.ox.ac.uk>
> web: http://giustino.materials.ox.ac.uk/index.php/Site/SamuelPonc%e9
> ------------------------------------------------------------------------------------------------
>
>
--
------------------------------------------------------------------------------------------------
Dr. Samuel Poncé
Department of Materials
University of Oxford
Parks Road
Oxford OX1 3PH, UK
Phone: +44 1865 612789
email: samuel.ponce at materials.ox.ac.uk <fabio.caruso at materials.ox.ac.uk>
web: http://giustino.materials.ox.ac.uk/index.php/Site/SamuelPonc%e9
------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/developers/attachments/20161018/033de618/attachment.html>
More information about the developers
mailing list