Skip to content

Installation

lk11235 edited this page Mar 9, 2022 · 2 revisions

Installing the framework

Follow these instructions if you are installing these tools on LXPLUS or a similar service which has CMSSW releases available. Otherwise, read on.

  1. Copy the install.sh locally.
  2. Specify the CMSSW_release you want to use at the top of install.sh. Currently, CMSSW_12_2_0 is recommended.
  3. Execute source install.sh to automatically check out the CMSSW release and HexUtils repository, and build everything.

Use on a machine without CMSSW or CernVM-FS

If you wish, it is possible to use a Docker or Singluarity image file to load a compatible CMSSW container on your local system. We have available for use standalone and cc7-cvmfs-based images, with the latter being compatible with Parrot to bypass the privilege issues associated with accessing /cvmfs through a FUSE module.

If you already have the following dependencies installed, loading a container is not necessary. Simply clone this repository into your working area, compile, and refer to the wiki pages detailing the usage of these utilities.

Dependencies

All of the tools in this framework can, in principle, be run outside of a CMSSW environment on any machine. To make sure you are using compatible versions of the required dependencies, please refer to the guidelines below. Note that these version numbers are consistent with the CMSSW release which is used for development of this framework, but are not explicitly required.

  • Python 3.9.6
  • ROOT 6.22 (with pyROOT compiled for Python3)
  • numpy 1.17.5
  • root-numpy 4.8.0
  • tqdm 4.62.2 (optional but highly recommended)

Clone this wiki locally