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

63 lines
1.4 KiB
Markdown
Raw Normal View History

2021-03-02 14:30:46 +01:00
# TREXIO
2021-03-29 00:46:06 +02:00
2021-05-03 15:27:01 +02:00
TREX library fo efficient I/O.
2021-05-03 15:58:01 +02:00
## Minimal requirements (for users):
2021-05-03 15:27:01 +02:00
2021-05-03 15:58:01 +02:00
- 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 -`
2021-05-05 11:37:48 +02:00
3. `cd trexio-<version>`
2021-05-03 15:58:01 +02:00
4. `./configure`
2021-05-05 11:37:48 +02:00
5. `make`
2021-05-03 15:58:01 +02:00
6. `make check`
2021-05-05 11:37:48 +02:00
7. `sudo make install`
2021-05-03 15:58:01 +02:00
**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):
2021-04-30 14:29:43 +02:00
1. `git clone https://github.com/TREX-CoE/trexio.git`
2021-05-05 11:37:48 +02:00
2. `cd trexio`
2021-05-03 15:58:01 +02:00
3. `cd tools && ./build_trexio.sh && cd ..`
4. `autoreconf`
5. `automake --add-missing --copy`
6. `./configure`
2021-05-05 11:37:48 +02:00
7. `make`
2021-05-03 15:58:01 +02:00
8. `make check`
2021-05-05 11:37:48 +02:00
9. `sudo make install`
2021-05-03 15:27:01 +02:00
## Tutorial
**TODO**
2021-05-03 15:58:01 +02:00
2021-05-03 15:27:01 +02:00
## Technical documentation
2021-05-03 15:58:01 +02:00
[Documentation generated from TREXIO org-mode files](https://trex-coe.github.io/trexio/)
2021-05-03 15:27:01 +02:00
### Miscellaneous
2021-04-30 14:29:43 +02:00
2021-03-29 00:46:06 +02:00
Note: The code should be compliant with the C99 [CERT C coding
standard](https://resources.sei.cmu.edu/downloads/secure-coding/assets/sei-cert-c-coding-standard-2016-v01.pdf). This can be checked with the `cppcheck` tool.
2021-05-03 15:58:01 +02:00