Fixes in README and poet.cpp

This commit is contained in:
Marco De Lucia 2024-06-13 09:47:32 +02:00
parent 25937ec5fd
commit fc7a78be54
2 changed files with 19 additions and 20 deletions

View File

@ -32,7 +32,8 @@ 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:
@ -163,7 +164,7 @@ Run POET by `mpirun ./poet [OPTIONS] <RUNFILE> <SIMFILE>
The following parameters can be set:
| Option | Value | Description |
|-----------------------------|--------------|--------------------------------------------------------------------------------------------------------------------------|
|-----------------------------|--------------|----------------------------------------------------------------------------------|
| **--work-package-size=** | _1..n_ | size of work packages (defaults to _5_) |
| **-P, --progress** | | show progress bar |
| **--ai-surrogate** | | activates the AI surrogate chemistry model (defaults to _OFF_) |

View File

@ -1,3 +1,5 @@
// Time-stamp: "Last modified 2024-09-12 14:53:17 delucia"
/*
** Copyright (C) 2018-2021 Alexander Lindemann, Max Luebke (University of
** Potsdam)
@ -220,9 +222,6 @@ ParseRet parseInitValues(char **argv, RuntimeParameters &params) {
// R["dht_log"] = simparams.dht_log;
try {
// Rcpp::Function source("source");
// Rcpp::Function ReadRObj("ReadRObj");
// Rcpp::Function SaveRObj("SaveRObj");
Rcpp::List init_params_(ReadRObj_R(init_file));
params.init_params = init_params_;
@ -466,7 +465,6 @@ std::vector<std::string> getSpeciesNames(const Field &&field, int root,
}
int main(int argc, char *argv[]) {
int world_size;