Linear Collider activities in Glasgow
Software
Installation of ILC software at Glasgow
Getting the latest version
Two choices for downloading the software is through svn or via a tarball. For the first attempt I opted for the latter. To do this I
went to:
https://svnsrv.desy.de/viewvc/ilctools/ilcinstall/tags/
and downloaded the tar file accessible here:
https://svnsrv.desy.de/viewvc/ilctools/ilcinstall/tags/?view=tar
into the temporary directory(soon to be replaced by an afs area)
/data/atlas01/ILC
I then untarred the file:
tar xvfz ilctools-tags.tar.gz
I then went into the directory:
/data/atlas01/ILC/tags
and removed all other tags except for the latest v01-14.
(Using svn to check out this tag would have been a more sensible way - will do next time!)
Preparing for build
First we must prepare four packages that don't come automatically with the ilcsoft installation.
They are
MySQL, Java, xerces-c and cernlib.
MySQL was installed by sysadmin (Andy) as root
privileges are necessary. Java is already installed on our network. So it was necessary to install
xerces-c and Cernlib. I installed them in the:
/data/atlas01/ILC
directory. For xerces-c I did the following:
mkdir xerces-c
And in this directory I:
wget http://apache.mirror.rbftpnetworks.com//xerces/c/3/binaries/xerces-c-3.1.1-x86_64-linux-gcc-3.4.tar.gz
for 64 bit. And untarred.
For Cernlib I realised that the installation here (/usr/lib64/cernlib) did not have the inlcude
directories needed so I also went to
/data/atlas01/ILC and created directory
2006b
and in this directory I downloaded:
wget
http://wwwasd.web.cern.ch/wwwasd/cernlib/download/2006b_x86_64-slc5-gcc41-opt/tar/cernlib.tar.gz_
and
wget
http://wwwasd.web.cern.ch/wwwasd/cernlib/download/2006b_x86_64-slc5-gcc41-opt/tar/include.tar.gz_
and untarred them.
Preparing release version file
First of all I created a directory where the ilcsoft software packages will actually be installed
into. This is called:
/data/atlas01/ILC/ilcsoft
It is now necessary to point to the above installations (
MySQL etc.) in the release file that comes with
the ilcsoft installer. To do this I went to file:
/data/atlas01/ILC/v01-14/releases/v01-14/release-versions.py
But I first tell this file where the ilcsoft install directory is by setting:
ilcsoft_install_prefix = "/data/atlas01/ILC/ilcsoft/"
I then added:
MySQL_path = "/usr/"
Java_path = "/usr/java/latest/"
CERNLIB_path = "/data/atlas01/ILC/2006b/"
XERCESC_ROOT_DIR = "/data/atlas01/ILC/xerces-c/xerces-c-3.1.1-x86_64-linux-gcc-3.4/"
to this file
Starting a full build for all packakges
The file at the centre of this build is called 'release-scratch.cfg' which can be found in
the same directory as the release-versions.py:
/data/atlas01/ILC/v01-14/releases/v01-14/
This file has the list and order in which all packages must be installed. First of all it is
necessary to point to the release-version.py file from within this file:
path_where_this_file_lives = "/data/atlas01/ILC/tags/v01-14/releases/v01-14"
Then do:
./ilcsoft-install -p releases/v01-14/release-scratch.cfg –p (to check all is ok)
./ilcsoft-install -p releases/v01-14/release-scratch.cfg –I (to install)
More to come.........
Datasets
Useful Links