I can read formatted coordinate files and formatted trajectory files from amber, and I can also write formatted coordinate and trajectory files that amber can understand. But I wish to read and write unformatted files since then I can maintain accuracy in the coordiantes and velocity. The f77 code I am using is
read(1)
read(1) natoms
read(1) (x(j), y(j), z(j), j=1,natoms)
and similarly with write commands instead of read.
I don't seem to have any problem reading unformatted files, but sander doesn't like the unformatted files that I write. I get the error message 'A READ operation tried to read past the end-of-record'. Is it possible to write unformatted files that amber is happy with?
cheers
rich
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Jun 16 2004 - 14:53:01 PDT