Differences between revisions 1 and 2
Revision 1 as of 2016-04-26 14:12:48
Size: 170
Editor: AdrianIrles
Comment:
Revision 2 as of 2016-04-26 15:49:37
Size: 3771
Editor: AdrianIrles
Comment: ILCsoft installation instructions
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
=== ILCSOFT === === ILCSOFT prerequisites ===
Instructions to install ILCsoft in Ubuntu 14 LTS release.

We want to install the v01-17-09 ILCsoft release, for that we want to use c++11, and therefore some packages need to be installed previously.

[[attachment:install_boost.sh|Boost 1.58]] (installation script in the link)

Other requirements (from http://www.desy.de/~rosem/howtos/howto_install_ilcsoft_on_ubuntu.txt)

{{{
###########################
# (1) System preparation: #
###########################

In order to be able to build and use ilcsoft at all; vanilla Ubuntu needs several packages.

#--- mysql includes etc.
sudo apt-get install libmysqlclient-dev

#--- create a links for mysql (if missing):
sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib64
sudo ln -s /usr/lib64/libmysqlclient.so.18 /usr/lib64/libmysqlclient.so

#--- install code mgmt and build tools:
sudo apt-get install subversion
sudo apt-get install cvs

sudo apt-get install cmake
sudo apt-get install cmake-curses-gui #ccmake

sudo apt-get install doxygen
sudo apt-get install latex2html

#--- graphics stuff (X and OpenGL):
sudo apt-get install libxext-dev
sudo apt-get install freeglut3-dev
sudo apt-get install libxmu-dev libxi-dev

#--- ROOT stuff
sudo apt-get install dpkg-dev
sudo apt-get install libxpm-dev
sudo apt-get install libxft-dev
sudo apt-get install python2.7-dev

#--- javac:
sudo apt-get install default-jdk

#--- if needed/wanted: cernlib and gfortran
sudo apt-get install cernlib
sudo apt-get install gfortran

OR: in single line:
sudo apt-get install libmysqlclient-dev subversion cvs cmake cmake-curses-gui doxygen latex2html libxext-dev freeglut3-dev libxmu-dev libxi-dev dpkg-dev libxpm-dev libxft-dev python2.7-dev default-jdk cernlib gfortran && sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib64 && sudo ln -s /usr/lib64/libmysqlclient.so.18 /usr/lib64/libmysqlclient.so
}}}
It might be also a good idea to install all root requirements:

{{{
sudo apt-get install git dpkg-dev make g++ gcc binutils libx11-dev libxpm-dev \
libxft-dev libxext-dev


sudo apt-get install gfortran libssl-dev libpcre3-dev \
xlibmesa-glu-dev libglew1.5-dev libftgl-dev \
libmysqlclient-dev libfftw3-dev cfitsio-dev \
graphviz-dev libavahi-compat-libdnssd-dev \
libldap2-dev python-dev libxml2-dev libkrb5-dev \
libgsl0-dev libqt4-dev
}}}
=== Installation of ILCSOFT ===
The first is to download the code.

{{{
svn co https://svnsrv.desy.de/svn/ilctools/ilcinstall/tags/v01-17-09 ilcinstall-v01-17-09
}}}
To install it, you will need to make few changes in the '''release-ilcsoft.cfg''' and '''release-versions.py''' files in

{{{
lcinstall-v01-17-09/releases/v01-17-09/
}}}
Also the '''ilcsoft/qt.py''' and '''ilcsoft/root.py''' need some changes:

 * to find the proper link to download the versions (qt and root)
 * to install root with all needed dependencies, specifically with enable-qt which is not the usual but is required by DQM4HEP.

Here you can find those files.

To install ilcsoft with all needed packages for DQM4HEP, just go to the folder and write:

{{{
./ilcsoft-install releases/v01-17-09/release-ilcsoft.cfg
}}}
[[attachment:release-ilcsoft.cfg|releases/v01-17-09/release-ilcsoft.cfg]]

[[attachment:release-versions.py|releases/v01-17-09/release-ilcsoft.cfg]]

[[attachment:qt.py|ilcsoft/qt.py]]

[[attachment:root.py|ilcsoft/root.py]]

X-( '''!! the ilcsoft/root.py is not modified to find the right root version '''(is in the to-do-list, sorry): I downloaded manuallly so the python script only makes the compilation.

AHCALMonitoring within the DQM4HEP framework

DQMHEP

Installation (Ubuntu 14)

ILCSOFT prerequisites

Instructions to install ILCsoft in Ubuntu 14 LTS release.

We want to install the v01-17-09 ILCsoft release, for that we want to use c++11, and therefore some packages need to be installed previously.

Boost 1.58 (installation script in the link)

Other requirements (from http://www.desy.de/~rosem/howtos/howto_install_ilcsoft_on_ubuntu.txt)

###########################
# (1) System preparation: #
###########################

In order to be able to build and use ilcsoft at all; vanilla Ubuntu needs several packages.

#--- mysql includes etc.
sudo apt-get install libmysqlclient-dev

#--- create a links for mysql (if missing):
sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib64
sudo ln -s /usr/lib64/libmysqlclient.so.18  /usr/lib64/libmysqlclient.so

#--- install code mgmt and build tools:
sudo apt-get install subversion
sudo apt-get install cvs

sudo apt-get install cmake
sudo apt-get install cmake-curses-gui   #ccmake

sudo apt-get install doxygen
sudo apt-get install latex2html

#--- graphics stuff (X and OpenGL):
sudo apt-get install libxext-dev
sudo apt-get install freeglut3-dev
sudo apt-get install libxmu-dev libxi-dev

#--- ROOT stuff
sudo apt-get install dpkg-dev
sudo apt-get install libxpm-dev
sudo apt-get install libxft-dev
sudo apt-get install python2.7-dev

#--- javac:
sudo apt-get install  default-jdk

#--- if needed/wanted: cernlib and gfortran
sudo apt-get install cernlib
sudo apt-get install gfortran

OR: in single line:
sudo apt-get install libmysqlclient-dev subversion cvs cmake cmake-curses-gui doxygen latex2html libxext-dev freeglut3-dev libxmu-dev libxi-dev dpkg-dev libxpm-dev libxft-dev python2.7-dev default-jdk cernlib gfortran && sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib64 && sudo ln -s /usr/lib64/libmysqlclient.so.18  /usr/lib64/libmysqlclient.so

It might be also a good idea to install all root requirements:

sudo apt-get install git dpkg-dev make g++ gcc binutils libx11-dev libxpm-dev \
libxft-dev libxext-dev


sudo apt-get install gfortran libssl-dev libpcre3-dev \
xlibmesa-glu-dev libglew1.5-dev libftgl-dev \
libmysqlclient-dev libfftw3-dev cfitsio-dev \
graphviz-dev libavahi-compat-libdnssd-dev \
libldap2-dev python-dev libxml2-dev libkrb5-dev \
libgsl0-dev libqt4-dev

Installation of ILCSOFT

The first is to download the code.

svn co https://svnsrv.desy.de/svn/ilctools/ilcinstall/tags/v01-17-09 ilcinstall-v01-17-09

To install it, you will need to make few changes in the release-ilcsoft.cfg and release-versions.py files in

lcinstall-v01-17-09/releases/v01-17-09/

Also the ilcsoft/qt.py and ilcsoft/root.py need some changes:

  • to find the proper link to download the versions (qt and root)
  • to install root with all needed dependencies, specifically with enable-qt which is not the usual but is required by DQM4HEP.

Here you can find those files.

To install ilcsoft with all needed packages for DQM4HEP, just go to the folder and write:

./ilcsoft-install releases/v01-17-09/release-ilcsoft.cfg

releases/v01-17-09/release-ilcsoft.cfg

releases/v01-17-09/release-ilcsoft.cfg

ilcsoft/qt.py

ilcsoft/root.py

X-( !! the ilcsoft/root.py is not modified to find the right root version (is in the to-do-list, sorry): I downloaded manuallly so the python script only makes the compilation.

DQMHEP

Quasi online AHCAL Raw Monitoring

AHCALMonitoring_DQM4HEP (last edited 2016-12-20 10:37:05 by EldwanBrianne)