Giter VIP home page Giter VIP logo

dqm4hep-backup's Introduction

Build Status Coverity Scan DOI

DQM4HEP

A Data Quality Monitoring for High Energy Physics

DQM4HEP is distributed under the GPLv3 License

License

INSTALL:

Can be built standalonly or using ilcsoft.

The install procedure is managed by CMake

Dependencies

All the needed packages are installed on-the-fly by CMake, except two of them :

  • ROOT. If you want to build the graphical user interfaces (DQMViz), then you need to compile ROOT with the flag --enable-qt
  • Qt. Only if you want to build the package with DQMViz

Note that these two packages are provided by ilcsoft.

Standalone install

In the root directory :

mkdir build
cd build
cmake [-DOPTIONS=...] ..
make

where OPTIONS can be :

  • BUILD_DQMVIZ [ON/OFF] to install visualization package
  • BUILD_DQM4ILC [ON/OFF] to install ilcsoft related support (lcio streamer, marlin interface , etc ...)
  • BUILD_EXAMPLES [ON/OFF] to build example implementations
  • INSTALL_DOC [ON/OFF] to install doxygen code documentation
  • DIM_GUI [ON/OFF] to build dim gui support (may not work on all operating systems)

Example :

cmake -DBUILD_EXAMPLES=ON -DBUILD_DQMVIZ=ON ..

All options area by default set to OFF

Install with ilcsoft

mkdir build
cd build
cmake [-DOPTIONS=..] -C $ILCSOFT/ILCSoft.cmake ..
make

CVMFS based installation (lxplus, server connected to the cern grid, etc.)

Most of the dependencies are already available over cvmfs. Only Log4cxx and updated version of apr and apr-util libraries are missing (but will be automatically installed if needed).

First you have to set up an updated version of cmake:

 export PATH=/cvmfs/sft.cern.ch/lcg/contrib/CMake/3.6.0/Linux-x86_64/bin:${PATH}

and gcc (for c++11 compliance):

GCC_version=4.8
source /cvmfs/sft.cern.ch/lcg/contrib/gcc/${GCC_version}/x86_64-slc6/setup.sh

A cmake configuration file is available with properly configured version of root6, boost1.59 and qt4.8.4 from the lcg release installation. Depending on the environment you might also have to unset the QTDIR variable prior to compilation.

mkdir build
cd build
unset QTDIR
cmake [-DOPTIONS=..] -C ../cmake/cvmfsInstall.cmake ..
make -jN

If you plan on installing DQM4ILC, you can use the ILCSoft installation available at /cvmfs/ilc.desy.de/sw/. As of this writing the latest version available is v1.17.11 :

export ILCSOFT=/cvmfs/ilc.desy.de/sw/x86_64_gcc48_sl6/v01-17-11
mkdir build
cd build
cmake [-DOPTIONS=..] -C $ILCSOFT/ILCSoft.cmake -C ../cmake/cvmfsInstall.cmake ..
make -jN

Known bugs

When compiling DQM4ILC

Some combination of ilcutil and gcc version produces error with the default CXX_FLAGS from ilcutil. This was resolved in commit https://github.com/iLCSoft/iLCUtil/commit/2c9d897bff08f7e98f4c68dee4f5bc57c8df97e9. Either use ilcutil v01-05 (not shipped as of this writing) or replace the cmakemodules/ilcsoft_default_cxx_flags.cmake file from your ilcutil folder by the one associtaed with commit https://github.com/iLCSoft/iLCUtil/commit/2c9d897bff08f7e98f4c68dee4f5bc57c8df97e9.

On MAC-OSX:

if you encounter this error when compiling did (dim sub-package) : "./src/did/did.h:1:10: fatal error: 'Mrm/MrmAppl.h' file not found" Check if OpenMotif is installed in /usr/OpenMotif If it’s not change MOTIFINC and MOTIFLIB variables in makefile_did accordingly Eg if using macport: MOTIFINC = /opt/local/include MOTIFLIB = /opt/local/lib

Bug report

You can send emails to [email protected] or use the github issues interface

dqm4hep-backup's People

Contributors

apingault avatar rete avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.