-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from TREX-CoE/rust
Rust interface
- Loading branch information
Showing
26 changed files
with
2,205 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
(lang dune 3.1) | ||
|
||
(name trexio) | ||
(version 2.3.2) | ||
(version 2.4.2) | ||
|
||
(generate_opam_files false) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "2.4.0" | ||
__version__ = "2.4.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Cargo.lock | ||
src/generated.rs | ||
target/ | ||
wrapper.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[package] | ||
name = "trexio" | ||
version = "2.4.2" | ||
edition = "2021" | ||
license = "BSD-3-Clause" | ||
authors = ["Anthony Scemama <[email protected]>", "Evgeny Posenitskiy"] | ||
description = "TREXIO is an open-source file format and library developed for the storage and manipulation of data produced by quantum chemistry calculations. It is designed with the goal of providing a reliable and efficient method of storing and exchanging wave function parameters and matrix elements." | ||
repository = "https://github.com/trex-coe/trexio" | ||
keywords = ["quantum", "chemistry"] | ||
readme = "README.md" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[build-dependencies] | ||
bindgen = "0.65.1" | ||
serde_json = "1.0" | ||
serde = { version = "1.0", features = ["derive"] } | ||
reqwest = { version = "0.11", features = ["blocking", "rustls-tls"] } | ||
tar = "0.4" | ||
flate2 = "1.0" | ||
|
||
[lib] | ||
doctest = false | ||
|
||
[dependencies] | ||
hdf5 = "0.8.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
default: src/generated.rs | ||
cargo build | ||
cargo test | ||
|
||
src/generated.rs: build.py | ||
python3 build.py | ||
|
||
test: default | ||
- cargo test -- --show-output | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# TREXIO | ||
<img src="https://trex-coe.eu/sites/default/files/styles/responsive_no_crop/public/2022-01/TREXIO%20Code.png" width=200> | ||
|
||
TREXIO is an open-source file format and library developed for the storage and | ||
manipulation of data produced by quantum chemistry calculations. It is designed | ||
with the goal of providing a reliable and efficient method of storing and | ||
exchanging wave function parameters and matrix elements. | ||
|
||
This crate is the Rust binding for the TREXIO C library: | ||
![GitHub release (latest by date)](https://img.shields.io/github/v/release/TREX-CoE/trexio) | ||
|
||
|
||
## Documentation | ||
|
||
[TREXIO Documentation.](https://trex-coe.github.io/trexio/) | ||
|
||
|
||
## Citation | ||
|
||
The journal article reference describing TREXIO can be cited as follows: | ||
|
||
``` | ||
@article{10.1063/5.0148161, | ||
author = {Posenitskiy, Evgeny and Chilkuri, Vijay Gopal and Ammar, Abdallah and Hapka, Michał and Pernal, Katarzyna and Shinde, Ravindra and Landinez Borda, Edgar Josué and Filippi, Claudia and Nakano, Kosuke and Kohulák, Otto and Sorella, Sandro and de Oliveira Castro, Pablo and Jalby, William and Ríos, Pablo López and Alavi, Ali and Scemama, Anthony}, | ||
title = "{TREXIO: A file format and library for quantum chemistry}", | ||
journal = {The Journal of Chemical Physics}, | ||
volume = {158}, | ||
number = {17}, | ||
year = {2023}, | ||
month = {05}, | ||
issn = {0021-9606}, | ||
doi = {10.1063/5.0148161}, | ||
url = {https://doi.org/10.1063/5.0148161}, | ||
note = {174801}, | ||
eprint = {https://pubs.aip.org/aip/jcp/article-pdf/doi/10.1063/5.0148161/17355866/174801\_1\_5.0148161.pdf}, | ||
} | ||
``` | ||
|
||
Journal paper: [![doi](https://img.shields.io/badge/doi-10.1063/5.0148161-5077AB.svg)](https://doi.org/10.1063/5.0148161) | ||
|
||
ArXiv paper: [![arXiv](https://img.shields.io/badge/arXiv-2302.14793-b31b1b.svg)](https://arxiv.org/abs/2302.14793) | ||
|
Oops, something went wrong.