1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-03 20:54:07 +01:00
Go to file
Evgeny Posenitskiy 29d927675e
Major refactoring of the generator script (#47)
* minor cleaning

* create functions for dictionary parsers in the external file

* remove files_exclude since post-processing does the job

* no need to have group_group_dset when propagatin dsets

* oneliner for paths to templates

* add dset_per_group dict

* add function to iteratively populate string based on triggers list

* added recursive replacer for numbers

* add recursive replaces for datasets

* add function for text groups  [iterative+recursive upd]

* do not define triggers in the master script

* transition to helper dictionaries

* cleaning

* comment main code blocks

* rearrange parameters

* add documentation strings to the functions

* minor cleaning and changes

* adapt build_trexio script

* add consisteny check for dimensioning variables
2021-05-26 19:11:46 +02:00
.github/workflows avoid cloning htmlize 2021-04-12 16:18:49 +02:00
docs rm gitignore in docs 2021-04-12 14:31:05 +02:00
include update gitignore 2021-05-03 15:06:30 +02:00
lib add gitignore 2021-04-30 16:21:13 +02:00
src Major refactoring of the generator script (#47) 2021-05-26 19:11:46 +02:00
tests add error message for an attempt to overwrite dimensioning variables 2021-05-06 17:44:31 +02:00
tools Major refactoring of the generator script (#47) 2021-05-26 19:11:46 +02:00
.gitignore gitignore pc file 2021-05-06 09:39:18 +02:00
.gitmodules org-mode to html conversion for the documentation website (#41) 2021-04-09 16:45:44 +02:00
configure.ac Correct rank in Fortran interface 2021-05-08 00:35:53 +02:00
LICENSE Initial commit 2021-01-18 15:48:36 +01:00
Makefile.in pkgconfig 2021-05-05 12:17:15 +02:00
README.md Fixed configure and install 2021-05-05 11:37:48 +02:00
Sparse.org Added notes for sparse data structures 2021-05-07 00:02:12 +02:00
trex.json Added prim_factor 2021-05-25 00:01:59 +02:00
trex.org Added prim_factor 2021-05-25 00:01:59 +02:00
trexio.pc.in Fix trexio.pc.in (missing -ltrexio and -lhdf5_hl) 2021-05-05 18:04:18 +02:00

TREXIO

TREX library fo efficient I/O.

Minimal requirements (for users):

  • Autoconf
  • C compiler (gcc/icc/clang)
  • Fortran compiler (gfortran/ifort/flang)

Installation procedure from the tarball (for users):

  1. Download the trexio-<version>.tar.gz file
  2. gzip -cd trexio-<version>.tar.gz | tar xvf -
  3. cd trexio-<version>
  4. ./configure
  5. make
  6. make check
  7. sudo make install

Note: on systems with no sudo rights access, one can replace ./configure with ./configure prefix=${PWD} in order to execite make install/uninstall commands without sudo. This will enable the installation in the root directory of the library.

Additional requirements (for developers):

  • Automake
  • python3 (>=3.6)
  • emacs (>=26.0)

Installation procedure from the GitHub repo clone (for developers):

  1. git clone https://github.com/TREX-CoE/trexio.git
  2. cd trexio
  3. cd tools && ./build_trexio.sh && cd ..
  4. autoreconf
  5. automake --add-missing --copy
  6. ./configure
  7. make
  8. make check
  9. sudo make install

Tutorial

TODO

Technical documentation

Documentation generated from TREXIO org-mode files

Miscellaneous

Note: The code should be compliant with the C99 CERT C coding standard. This can be checked with the cppcheck tool.