1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 04:43:57 +01:00
Commit Graph

99 Commits

Author SHA1 Message Date
fa11989b86
Update prepare_python.sh (#164) 2024-08-10 17:34:44 +02:00
81818a40ab
Merge pull request #126 from TREX-CoE/text-fallback-python
Text fallback when building python API
2023-06-08 17:03:36 +02:00
Evgeny Posenitskiy
9d56a57d80
[skip ci] Remove unnecesary line from sed hacking 2023-06-06 10:19:40 +02:00
d8a37b26bf Silence dead code warnings with clang 2023-06-02 14:57:20 +02:00
q-posev
836e35f8ee
Remove sed hacks which are no longer needed for pip install to work 2023-05-25 18:54:44 +02:00
q-posev
326686e44c
Build and test Python API without HDF5 back end 2023-05-25 18:20:56 +02:00
a1ed253dc4 Implemented index for scalar values 2023-05-12 12:30:00 +02:00
6aa2a9ee25
Update Guix manifest with v.2.3.0 2023-04-03 22:44:12 +02:00
d37f4d6610 Improved documentation 2023-02-17 17:41:36 +01:00
d2d731bb3a Removed python output in compilation 2022-12-05 14:54:55 +01:00
9348c1876b Typo 2022-11-18 11:03:18 +01:00
cb7956ef83
Rename datatype buffer -> buffered 2022-10-04 15:56:19 +02:00
b36b63347f Refactor to allow arbitrary dimensions of sparse datasets 2022-09-28 12:17:54 +02:00
99d0ef70bd Remove excited state switch for I/O and add state_id 2022-09-28 10:22:56 +02:00
6ba8c5ddc3 Buffered floats v1: determinant tests pass 2022-09-27 19:56:09 +02:00
659110aa38 Minor fix to indicate that trexio is a custom module 2022-07-28 13:48:39 +02:00
83a5308086 Adapt the description [Guix] 2022-07-26 16:46:18 +02:00
351c2bcffa Update manifest to link against any HDF5 2022-07-26 15:54:33 +02:00
25517f3f77 Update the Guix manifest file for trexio package 2022-07-26 14:05:30 +02:00
4ed3e0c6d0 Implement trexio_has_group templates 2022-07-04 11:22:31 +02:00
5e4531f810 Typos 2022-07-01 10:29:44 +02:00
24b1ce6b35 Adapt the generator for dim readonly 2022-05-18 11:55:40 +02:00
q-posev
0ec37e59b5 Exclude write_determinant_num funcs from the public API 2022-04-29 14:59:25 +02:00
q-posev
3a7707ed86 Patch the generator 2022-04-12 00:44:53 +02:00
q-posev
a2fee3164b [WIP] text back end 2022-04-11 09:26:54 +02:00
68d34a0ace use built-in trexio_text_free_group function for garbage collection 2022-02-14 10:44:04 +01:00
q-posev
550cc73603 Fix portability issue with sed on MacOS 2022-01-26 14:00:05 +01:00
8c157454d3 [WIP] add delete_group functions to the generator 2022-01-24 10:10:45 +01:00
Pablo Lopez Rios
9e5d81b292 Use c_int64_t and c_int32_t as requested by Evgeny Posenitskiy. 2022-01-19 10:23:11 +00:00
Pablo Lopez Rios
0e9b9f1900 trexio_f: fix complaints from gfortran 11, including data type issues
This includes:
* Define kind of arguments of bind(C) procedures using the relevant C
  types provided by iso_c_binding.
* Replaced "call exit(1)" with "error stop 1".
* Fixed a couple of implicit type conversions between 4-/8-byte
  integers.

The first two fix compilation of the Fortran module with -std=f2008.
2022-01-18 16:58:07 +00:00
Evgeny Posenitskiy
dcb976010f
Automate build and upload of CPython wheels (#72)
* use PyPA build package to produce wheels

* update the Makefile and install_pytrexio to use PyPA build package

* remove MacOS-11 from runners

* [MacOS] portable expression for FreeBSD sed

* disable usage of NUMPY_INCLUDEDIR env variable

* activate PyPI upload and disable TestPyPI
2022-01-07 18:47:23 +01:00
2639b76a6e optimize storage of indices depending on the size_max variable [TEXT] 2021-12-17 15:32:03 +01:00
2e99a14b6e read dim variable of sparse dset to compress storage of indices in HDF5 2021-12-14 18:03:51 +01:00
32192f53aa fix bug in the generation of n-index functions for TEXT 2021-12-10 16:12:19 +01:00
e3a1e51702 better detailed dict 2021-12-09 16:15:17 +01:00
c17297ca1d fix generator for single floats 2021-12-09 09:48:55 +01:00
fcf84ebb8c Merge branch 'add-sparse-datasets' of github.com:TREX-CoE/trexio into add-sparse-datasets 2021-12-09 09:28:27 +01:00
d001844c2f [WIP] working write_ for chunked extensible (sparse) datasets 2021-12-08 17:26:55 +01:00
61ea409c58 Modified density matrices 2021-12-08 12:28:37 +01:00
bf5c651220 refactor to set common dtype substitutions in a function 2021-12-07 10:14:27 +01:00
e340c6541d adapt the generator to work for an arbitrary number of indices in sparse dset 2021-12-03 16:56:45 +01:00
ed3bde973e [WIP] more general templated variables for sparse data
+ renamed templated variables with std_dtype_in|out suffix into _format_scanf|printf for clarity
2021-12-03 15:42:40 +01:00
83c926fd6b replace offset_data arg with pointer arithmetics 2021-12-01 09:56:31 +01:00
d3ba8f3652 [WIP] working generator for sparse functions
+ remove trailing whitespaces
2021-11-30 16:30:36 +01:00
d44883f0ea add search bar
close #40
2021-11-19 12:50:12 +01:00
ae753108ff move FindTREXIO and cmake_uninstall modules in cmake directory 2021-11-17 11:02:35 +01:00
6feef1cd5f add custom uninstall target to CMake 2021-11-16 18:10:36 +01:00
f389ba2952 [WIP] better FindTREXIO module (following FindSDL2 example) 2021-11-16 11:37:11 +01:00
7fa07bf7e7 [WIP] working Guix project config file
TODO: implement possibility to build from the GitHub repo OR without hdf5
2021-11-12 17:00:04 +01:00
320697ee8d [WIP] FindTREXIO.cmake file 2021-11-09 16:52:43 +01:00