Table of contents
No headersA replacement for the gromacs file formats xtc/trr/edr is needed for the following reasons:
- Ease of use of a single file compared to handling three files
- Support for parallel I/O for large parallel calculations
The following demands / specification should be adhered to
- Portable accross UNIX (including Linux and Mac OSX) and Windows platforms
- Support for large files (2Gb on all platforms)
- Support for frames that are more than 2Gb
- 64 bit integers for all integer variables
- Flexible I/O - possibility to store different variables, e.g. lambda's per atom
- Support for varying number of particles (for Grand Canonical MD) in a manner such that stupid program won't crash
- Built-in indexing for fast searching
- Transparent use in analysis applications
- Compatibility with checkpointing
- Arbitrary extra data per frame (e.g. history)
- Dealing with low memory on the master node (for very large simulations)
In early 2011 the "Trajectory Next Generation" paper was published (http://dx.doi.org/10.1007/s00894-010-0948-5). The TNG format covers most of the demands and it is available from http://www.uppmax.uu.se/Members/daniels/trajng-trajectory-compression-library.
An implementation of the file format in GROMACS will be provided in a git branch.
The attached README file below covers most of what you need to know to use the library.