Skip to content

Where should external non-PyPI dependencies be located? #41

@matthewfeickert

Description

@matthewfeickert

In the installation docs it is noted that the cross section computers require additional external dependencies.

In addition, the :ref:`cross section computers <xsecCalc>` provided by :ref:`smodelsTools.py <smodelsTools>`
require:
* `Pythia 8.3 <https://arxiv.org/abs/1410.3012>`_ (needs a C++ compiler) or `Pythia 6.4.27 <http://arxiv.org/abs/hep-ph/0603175>`_ (needs gfortran)
* `NLL-fast <http://pauli.uni-muenster.de/~akule_01/nllwiki/index.php/NLL-fast>`_ 1.2 (7 TeV), 2.1 (8 TeV), and 3.1 (13 TeV) (needs a Fortran compiler)
* `Resummino <https://resummino.hepforge.org>`_ (needs a C++ compiler and gfortran). Moreover, in rpm-based Linux distributions, this tool needs boost, boost-devel, gsl and gsl-devel. For deb-based distributions, libboost-dev and libgsl-dev are required.
The tools themselves, i.e. Pythia6|8, NLL-fast, and/or Resummino need not be installed separately, as the SModelS build system takes care of that (see below). SModelS however expects the tools' dependencies (boost, gsl for Resummino, as well as the compilers) to be installed by the user.

If a user wanted to install these additional dependencies themselves (e.g. getting Pythia8 from conda-forge) where does smodels look for them?

e.g. In the example of getting Pythia8 from conda-forge, libpythia8.so/libpythia8.dylib would be installed under $CONDA_PREFIX/lib/. Does smodels need this to be symlinked then under some specific location? Or is there a way to tell smodels where to look?

cc @WolfgangWaltenberger as he wrote most of the installation docs on this section in a55ccb5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions