From 04958194c4b7a44b6271b52c86ac62577e90ac82 Mon Sep 17 00:00:00 2001 From: Marco De Lucia Date: Thu, 12 Sep 2024 12:36:11 +0200 Subject: [PATCH] Fixing rebase conflicts --- README.md | 114 ++++++++++++++++++++++++++++++--------------------- ext/iphreeqc | 2 +- src/poet.cpp | 24 ++++++----- 3 files changed, 83 insertions(+), 57 deletions(-) diff --git a/README.md b/README.md index 3c86f7821..c192eda8a 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,16 @@ # POET -[POET](https://doi.org/10.5281/zenodo.4757913) is a coupled reactive transport -simulator implementing a parallel architecture and a fast, original MPI-based -Distributed Hash Table. +[POET](https://doi.org/10.5281/zenodo.4757913) is a coupled reactive +transport simulator implementing a parallel architecture and a fast, +original MPI-based Distributed Hash Table. ![POET's Coupling Scheme](./docs/Scheme_POET_en.svg) @@ -17,7 +21,7 @@ pages](https://naaice.git-pages.gfz-potsdam.de/poet). ## External Libraries -The following external header library is shipped with POET: +The following external libraries are shipped with POET: - **argh** - https://github.com/adishavit/argh (BSD license) - **IPhreeqc** with patches from GFZ - @@ -36,17 +40,32 @@ To compile POET you need following software to be installed: - CMake 3.9+ - Eigen3 3.4+ (required by `tug`) - *optional*: `doxygen` with `dot` bindings for documentation -- R language and environment (distro dependent) +- R language and environment including headers or `-dev` packages + (distro dependent) -The following R packages (and their dependencies) must also be installed: +The following R packages (and their dependencies) must also be +installed: - [Rcpp](https://cran.r-project.org/web/packages/Rcpp/index.html) - [RInside](https://cran.r-project.org/web/packages/RInside/index.html) - [qs](https://cran.r-project.org/web/packages/qs/index.html) +This can be simply achieved by issuing the following commands: + +```sh +# start R environment +$ R + +# install R dependencies (case sensitive!) +> install.packages(c("Rcpp", "RInside","qs")) +> q(save="no") +``` + + ### Compiling source code -POET is built with CMake. You can generate Makefiles by running the usual: +POET is built with CMake. You can generate Makefiles by running the +usual: ```sh mkdir build && cd build @@ -58,22 +77,22 @@ and generate Makefiles from it. You're now able to run `make` to start build process. If everything went well you'll find the executables at -`build/app/poet`, but it is recommended to install the POET project +`build/src/poet`, but it is recommended to install the POET project structure to a desired `CMAKE_INSTALL_PREFIX` with `make install`. During the generation of Makefiles, various options can be specified via `cmake -D