Installation
Eventually create a new virtual environment and then just run
pip install pinefarm
Non Python dependencies
Even if the installation management tries to reduce as much as possible the amount of dependencies, still a few ingredients have to be available on the system.
To install MadGraph5_aMC@NLO and its dependencies:
gfortranwget
and that will also require a development installation of pineappl which requires:
pkg-configopenssl(e.g. on Debian available in thelibssl-devpackage)
Note that if openssl is not present in your system, you can either try to install it with conda (if you are in a conda environment), or you can install it from source as following
wget https://www.openssl.org/source/openssl-X.Y.Zk.tar.gz
tar -zxvf openssl-X.Y.Zk.tar.gz
cd openssl-X.Y.Zk
./config --prefix=$HOME/local --openssldir=$HOME/local/openssl
make
make install
after which you will need to add the folder containing openssl.pc (libssl.pc) to your PKG_CONFIG_PATH environment variable.
Configure paths
Pinefarm is acting as an interface to other external programs, which it will try to install
and manage on its own (the additional dependencies above are the exception).
However, in some situtations it might be advantages to control path and executables by hand:
this can be configured via the pinefarm.toml file.
Please take a look to the template configuration provided in the repository for a list of available options.
pinefarm can still run without the configuration file present, by assuming some default values.
Install in development mode
For development you need in addition the following tools:
poetry, follow installation instructions
poetry-dynamic-versioning, used to manage the version (see repo)
pre-commit, to run maintenance hooks before commits (see instructions)
Then you can run
poetry install
To access the CLI you can run
poetry run pinefarm <args>