DQM4HEP is distributed under the GPLv3 License
Can be built standalonly or using ilcsoft.
The install procedure is managed by CMake
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.
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
mkdir build
cd build
cmake [-DOPTIONS=..] -C $ILCSOFT/ILCSoft.cmake ..
make
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
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.
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
You can send emails to dqm4hep@gmail.com or use the github issues interface