reading a binary restart file

From: Leandro Martínez (
Date: Tue Jan 10 2006 - 13:09:18 CST

Hi everybody,
I'm trying to read the coordinates from a binary restart file (.coor) and
I'm having some trouble. I'm trying to do a simple fortran
program to do that. I start reading the coordinates as they were
double precision, in the following form:

      double precision x(100000), y(10000), z(100000)
      ntest = 2241
      read(10) (x(i),y(i),z(i),i=1,ntest)

All the coordinates are read fine up to the atom 2241, but I'm not able
to read the coordinates of the next atom (2242, the system has 53000 atoms)------=_Part_14931_30878060.1136920158741--

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:41:31 CST