Skip to content

Use HDF5 data format to store force constants #13

@ttadano

Description

@ttadano

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:

  1. Decide the structure of the HDF5 force constant file
  2. Implement the parser for C++
  3. Write a document describing the data structure

Any other points?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions