Hi Bill,
> My vote is for closing a restrt every time it is written, to
> gaurantee that it is flushed. Possibly this could be done by
> an independent thread, to avoid slowing everything else down?
Unfortunately it is not quite as simple as this. I believe we need to also
open and close the mdinfo file, mdcrd file, mdvel file, mdout file, mden
file and any other output files. Otherwise you run the risk of none of these
being in sync. I.e. it is possible that your restart file could end up being
ahead of your mdout and mdcrd files if we also don't flush them which would
be bad.
Using independent threads for I/O would entail big changes to the code
unfortunately. :-(
All the best
Ross
/\
\/
|\oss Walker
---------------------------------------------------------
| Assistant Research Professor |
| San Diego Supercomputer Center |
| Adjunct Assistant Professor |
| Dept. of Chemistry and Biochemistry |
| University of California San Diego |
| NVIDIA Fellow |
|
http://www.rosswalker.co.uk |
http://www.wmd-lab.org/ |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
---------------------------------------------------------
Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Apr 10 2012 - 15:30:05 PDT