On 20/02/2012 7:19 PM, Edvin Erdtman wrote:
Hi

I have been running GMX in double precision and by mistake an extension
of a run in single precision was written to the same files.

When I run for example gmxcheck or g_energy I get the following error
after the program has scanned through the double part:

Fatal error:
Energy header magic number mismatch, this is not a GROMACS edr file
If you want to use the correct frames before the corrupted frame and
avoid this fatal error set the env.var. GMX_ENX_NO_FATAL
For more information and tips for troubleshooting, please check the
GROMACS
website at http://www.gromacs.org/Documentation/Errors
Can I do something to divide the file into a double and a single part?

We should probably put in a check to prevent this occurring (and an environment variable to override it?).

I expect you can get the first part back through using eneconv -e and the above environment variable.

I can't think of a way to access the second (and subsequent) parts without writing new code - but perhaps that code should exist anyway, emitting a warning that a change of precision was detected.

Mark
--
gmx-users mailing list    gmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to