You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, ALM stores calculated force constants in a single XML file when executed via the command line. This approach often results in a huge XML file especially when the symmetry of the system is low and/or the higher-order (>3) force constants are included. Besides, reading a data subset from a huge XML by the boost XML parser, which is done in the anphon code of ALAMODE, is very inefficient.
I expect HDF5 library can solve these performance issues as it can store data in binary format (if I understand correctly). Many major languages, such as python, have their own interface to the HDF5 data format. This is an advantage of using HDF5.
I need to work on the following points:
Decide the structure of the HDF5 force constant file
Implement the parser for C++
Write a document describing the data structure
Any other points?
The text was updated successfully, but these errors were encountered:
I think the format may not be necessary to be understandable for users if the purpose is to make the size small. In this case, it is nice if you could provide a converter from this force constants files to that relatively easily understood by users.
A HDF5 file can pack not only force constants but also other properties such as crystal structure or the parameters (norder, rcs etc) used for creating force constants. These additional information can be used for consistency check. For example, we can warn when incorrect crystal structure is provided.
Currently, ALM stores calculated force constants in a single XML file when executed via the command line. This approach often results in a huge XML file especially when the symmetry of the system is low and/or the higher-order (>3) force constants are included. Besides, reading a data subset from a huge XML by the boost XML parser, which is done in the anphon code of ALAMODE, is very inefficient.
I expect HDF5 library can solve these performance issues as it can store data in binary format (if I understand correctly). Many major languages, such as python, have their own interface to the HDF5 data format. This is an advantage of using HDF5.
I need to work on the following points:
Any other points?
The text was updated successfully, but these errors were encountered: