Skip to content

Commit

Permalink
Instruct the user to use --locked and fix installation from git
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Oct 6, 2023
1 parent b59ab55 commit d89a2a1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pull` and then repeat step 3.

You need to install [Rust](#rust) first (see below). Then simply run

cargo install pineappl_cli
cargo install --locked pineappl_cli

anywhere and you are done; this will automatically download the most-recently
released version from [crates.io](https://crates.io).
Expand All @@ -122,41 +122,41 @@ to
3. add the switch `--features=applgrid` during the CLI's installation, for
instance:

APPL_IGRID_DIR=/tmp/applgrid-1.6.27/src cargo install --features=applgrid pineappl_cli
APPL_IGRID_DIR=/tmp/applgrid-1.6.27/src cargo install --locked --features=applgrid pineappl_cli

### Optional: Evolution/EKO support

If you'd like to convert PineAPPL grids into FK tables using [evolution kernel
operators (EKO)](https://eko.readthedocs.io/), add the switch
`--features=evolve` during the CLI's installation, for instance:

cargo install --features=evolve pineappl_cli
cargo install --locked --features=evolve pineappl_cli

### Optional: fastNLO importer

If you'd like to convert fastNLO tables to PineAPPL grids, make sure to install
[fastNLO](https://fastnlo.hepforge.org/) first and add the switch
`--features=fastnlo` during the CLI's installation, for instance:

cargo install --features=fastnlo pineappl_cli
cargo install --locked --features=fastnlo pineappl_cli

### Optional: FK table converter

If you'd like to convert NNPDF's legacy FK tables to PineAPPL grids, add the switch
`--features=fktable` during the CLI's installation, for instance:

cargo install --features=fktable pineappl_cli
cargo install --locked --features=fktable pineappl_cli

### Alternative: development version

To use the most recent version available run

cargo install --git https://github.com/NNPDF/pineappl.git
cargo install --locked --git https://github.com/NNPDF/pineappl.git pineappl_cli

Instead, if you plan to make changes to the source code it's better to checkout
this repository and run

cargo install --path pineappl_cli
cargo install --locked --path pineappl_cli

inside it.

Expand Down

0 comments on commit d89a2a1

Please sign in to comment.