1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-03 20:54:07 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
ea9ffaea43 Fix fortran tests 2021-06-04 18:14:45 +02:00
31bf17c66a Merge branch 'master' into evgeny 2021-06-04 17:30:51 +02:00
34478e366a resolve front end 2021-06-04 17:28:56 +02:00
ed1393f5de Merge branch 'automake' of github.com:TREX-CoE/trexio into automake 2021-06-03 13:56:49 +02:00
75af136d4f Moved sparse documentation in src/templates_front/templator_front.org 2021-06-03 13:56:45 +02:00
5043d058bd Merge branch 'automake' of github.com:TREX-CoE/trexio into automake 2021-06-03 09:57:57 +02:00
a5ae1d239b Improve HDF5 in configure 2021-06-03 01:25:20 +02:00
7a9d078859 remove append mode 2021-06-02 14:40:23 +02:00
0b5136f14c add error handling for an attempt to overwrite something 2021-06-02 14:23:58 +02:00
8aa4721758 Documentation 2021-06-02 11:19:03 +02:00
1575c1f4d0 add functions for has/read/write_dset_str [front] 2021-05-27 13:58:35 +02:00
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
1d5c452071 Not bugs found with scan-build 2021-05-19 22:02:40 +02:00
q-posev
f77a5af4e0 fix a typo 2021-05-18 12:07:37 +02:00
q-posev
d97c111284 fix the default precision of int datasets 2021-05-18 11:42:26 +02:00
692f45ed7f Correct rank in Fortran interface 2021-05-08 00:35:53 +02:00
cd8332a3e5 Added notes for sparse data structures 2021-05-07 00:02:12 +02:00
87bb6fcb6e Better error messages 2021-05-06 19:56:42 +02:00
7302f02b9c Improved error messages 2021-05-06 19:54:37 +02:00
1cfa313d07 Error messages 2021-05-06 18:25:51 +02:00
57655a8344 add error message for an attempt to overwrite dimensioning variables 2021-05-06 17:44:31 +02:00
db5544e810 Improved error codes 2021-05-06 15:09:50 +02:00
daf3fdeb8b Fixed warning about strlen in strncpy 2021-05-04 10:03:32 +02:00
Evgeny Posenitskiy
818d66d4d3
Autoconfig with optional HDF5 compilation (#42)
Makefile.in:
* recursive build;
* advanced make targets;
* major support for autoconf and minor for package managers.

configure.ac:
* optional HDF5 compilation [default: --with-hdf5];
* add -fPIC to CFLAGS if missing.
2021-04-28 15:30:18 +02:00
Evgeny Posenitskiy
8defdaa0c0
org-mode to html conversion for the documentation website (#41)
* working static html doc website generated from org-mode files

* fix build_doc script

* add gitignore

* add gitignore

* clean html garbage

* documented hdf5

* documented text back end
2021-04-09 16:45:44 +02:00
b656917323 consistent naming init/deinit instead init/finalize in back ends 2021-04-08 11:31:51 +02:00
Evgeny Posenitskiy
c43259176d
Add 32-bit funcs and document front end (#39)
* 32-bit functions
* adapt tests since the default write/read_num is now 32-bit
* minor cleaning in the generator
* add test for _32 functionality
* rm stdint-based types from test
* documentation
* rm trailing whitespaces in emacs
* change TREXIO_INVALID_BACK_END
* update gitignore
2021-04-07 17:37:04 +02:00
4e47e497d5 Table to generate error codes and string_of_error function 2021-04-01 22:48:04 +02:00
068beacb07 working has_ functions [all] 2021-03-30 11:50:02 +02:00
679c462d63 enhanced fortran interface 2021-03-29 14:34:41 +02:00
56389752de const 2021-03-28 22:38:32 +02:00
ea61a24291 Fixed: uint can't be <0 2021-03-28 15:45:18 +02:00
6cb7f4e074 Fixed: rc was not checked for multiple dims 2021-03-28 15:43:49 +02:00
1b0a60f2fe use strncpy instead of strcpy to avoid possible buffer overflows 2021-03-28 11:18:50 +02:00
aa160d9bea make build scripts consistent 2021-03-25 11:41:13 +01:00
f8a28a037d more fortran-ic trexio_open 2021-03-24 17:13:53 +01:00
f7c78e73d2 more fortran-ic interface + flexible dtypes for dsets 2021-03-24 16:05:38 +01:00
cf26966b70 working write_dset [fortran] 2021-03-23 18:12:53 +01:00
0a28b5e5a5 working read_num [fortran] 2021-03-23 16:34:13 +01:00
ac44fc29a6 add test, works for h5 but failt for txt 2021-03-22 16:40:45 +01:00
7f3dc0879c wip: write nums 2021-03-22 16:15:07 +01:00
fcfe91d498 working and compiling for nucleus 2021-03-17 14:33:32 +01:00
cc02849689 fixed to compile 2021-03-16 19:05:05 +01:00
44f615857b add shell scripts to compile populated files 2021-03-13 20:21:32 +01:00
9244e6f0c0 fix templators 2021-03-10 16:55:21 +01:00
f29f3d4263 added templator for frontend 2021-03-10 14:51:15 +01:00