...
- Build on rhel5-32 or bldlnx09
- Requires our MySQL installation, as well as Oracle
- Need fftw3, gccxml, GSL to be built. Obtain FFTW 3.1.2 from GLAST_EXT
Obtain GSL 1.10 from: http://www.gnu.org/software/gsl/ ./configure --prefix=$PWD "make" "make install"
obtain gccxml 0.9.0_20090601 from http://lcgsoft.cern.ch/index.py?page=pkg_version&pkg=gccxml&vers=0.9.0_20090601 require cmake to build: http://www.cmake.org/cmake/resources/software.html
mkdir gccxml-build
cd gccxml-build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$PWD ../gccxml (where gccxml contains the downloaded source)
make
make install - Obtain Fermi's copy of the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtlibs/root-v5.26.00a-gl1.src..tar.gz and unpack, it will be dumped into a directory named "root"
- set ROOTSYS to the same directory as the source was checked out into. cd into the root directory
- Run configure:
./configure linux --fail-on-missing --enable-mysql --with-mysql-incdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit-gcc41/mysql/5.1.39/gcc41/include/mysql --with-mysql-libdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit-gcc41/mysql/5.1.39/gcc41/lib/mysql --enable-xrootd --enable-python --with-python-incdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit-gcc41/python/2.5.1-gl1/gcc41/include/python2.5 --with-python-libdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat5-i686-32bit-gcc41/python/2.5.1-gl1/gcc41/lib/python2.5/config --enable-reflex --enable-cintex --enable-roofit --with-oracle-incdir=/usr/oracle/rdbms/public --with-oracle-libdir=/usr/oracle/lib --enable-minuit2 --enable-unuran --enable-table --enable-explicitlink --with-gccxml=$workDir/gaudi-external-v21r7-rhel5/gccxml-build/bin --enable-gdml --enable-genvector --enable-mathcore --enable-mathmore --with-fftw3-incdir=$GLAST_EXT/../redhat5-i686-32bit-gcc41/fftw/3.1.2/gcc41/include/fftw --with-fftw3-libdir=$GLAST_EXT/../redhat5-i686-32bit-gcc41/fftw/3.1.2/gcc41/lib --with-gsl-incdir=$workDir/gaudi-external-v21r7-rhel5/gsl-1.10/include --with-gsl-libdir=$workDir/gaudi-external-v21r7-rhel5/gsl-1.10/lib >&config-redhat5.log - Build by running "make >& build-rhel5.log &"
- Update etc/system.rootrc to include the lines:
# As suggested by Wilko, April, 2009, so that when a job writes to xrootd, missing directories are created upon request.
XNet.Mkpath: 1 - Copy the following into $GLAST_EXT using the directory structure:
ROOT/v5.26.00a-gl1/gcc41/
README bin build-rhel5.log cint config-rhel4.log doc etc fonts icons include lib macros man test tutorials
redhat4-x86_64-64bit-gcc34
- Build on rhel4-64
- Requires our MySQL installation, as well as Oracle
- Need fftw3, gccxml, GSL to be built. Obtain FFTW 3.1.2 from GLAST_EXT
Obtain GSL 1.10 from: http://www.gnu.org/software/gsl/ http://www.gnu.org/software/gsl/; ./configure CFLAGS="-fPIC" --prefix=$PWD "make" "make install"
obtain gccxml 0.9.0_20090601 from http://lcgsoft.cern.ch/index.py?page=pkg_version&pkg=gccxml&vers=0.9.0_20090601 require cmake to build: http://www.cmake.org/cmake/resources/software.html
mkdir gccxml-build
cd gccxml-build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$PWD ../gccxml (where gccxml contains the downloaded source)
make
make install - Obtain Fermi's copy of the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtlibs/root-v5.26.00a-gl1.src..tar.gz and unpack, it will be dumped into a directory named "root"
- set ROOTSYS to the same directory as the source was checked out into. cd into the root directory
redhat4-i686-32bit-gcc34
- Obtain Fermi's copy of the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtlibs/root-v5.26.00a-gl1.src..tar.gz and unpack, it will be dumped into a directory named "root"
- set ROOTSYS to the same directory as the source was checked out into. cd into the root directory
- Run configure:
./configure linux --fail-on-missing --enable-mysql --with-mysql-incdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/mysql/5.1.39/gcc34/include/mysql --with-mysql-libdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/mysql/5.1.39/gcc34/lib/mysql --enable-xrootd --enable-python --with-python-incdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl1/gcc34/include/python2.5 --with-python-libdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-i686-32bit-gcc34/python/2.5.1-gl1/gcc34/lib/python2.5/config --enable-reflex --enable-cintex --enable-roofit --with-oracle-incdir=/usr/oracle/rdbms/public --with-oracle-libdir=/usr/oracle/lib --enable-minuit2 --enable-unuran --enable-table --enable-explicitlink --with-gccxml=$userSpace/root-v5.26-gl1/gccxml/0.9.0_20090601/slc4_ia32_gcc34/bin --enable-gdml --enable-genvector --enable-mathcore --enable-mathmore --with-fftw3-incdir=$userSpace/root-v5.26-gl1/fftw3/3.1.2/slc4_ia32_gcc34/include --with-fftw3-libdir=$userSpace/root-v5.26-gl1/fftw3/3.1.2/slc4_ia32_gcc34/lib --with-gsl-incdir=$userSpace/root-v5.26-gl1/GSL/1.10/slc4_ia32_gcc34/include --with-gsl-libdir=$userSpace/root-v5.26-gl1/GSL/1.10/slc4_ia32_gcc34/lib > & config-rhel4.log & - Build by running "make >& build-rhel4.log &"
- Update etc/system.rootrc to include the lines:
# As suggested by Wilko, April, 2009, so that when a job writes to xrootd, missing directories are created upon request.
XNet.Mkpath: 1 - Copy the following into $GLAST_EXT using the directory structure:
ROOT/v5.26.00a-gl1/gcc34/
README bin build-rhel4.log cint config-rhel4.log doc etc fonts icons include lib macros man test tutorials
...
We ran into a problem this time with distribution of our linux build for ROOT. It seems prefix cannot be used, so we must set the ROOTSYS env var for our build. make install no longer seems to work unless prefix is used, so we are left to prune the resulting ROOT build directories on our own.
redhat4-x86_64-64bit-gcc34
- Obtain Fermi's copy of the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtlibs/root-v5.20.00-gl5.tar.gz and unpack, it will be dumped into a directory named "root"
- set ROOTSYS to the same directory as the source was checked out into. cd into the root directory
- Run configure:
./configure linuxx8664gcc --fail-on-missing --enable-mysql --with-mysql-incdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit-gcc34/mysql/4.1.18/gcc34/include/mysql --with-mysql-libdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit-gcc34/mysql/4.1.18/gcc34/lib/mysql --enable-xrootd --enable-python --with-python-incdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit-gcc34/python/2.5.1-gl1/gcc34/include/python2.5 --with-python-libdir=/afs/slac/g/glast/ground/GLAST_EXT/redhat4-x86_64-64bit-gcc34/python/2.5.1-gl1/gcc34/lib/python2.5/config --enable-reflex --enable-cintex --enable-roofit --with-oracle-incdir=/usr/oracle/rdbms/public --with-oracle-libdir=/usr/oracle/lib --enable-minuit2 --enable-unuran --enable-table --enable-explicitlink > & config-rhel4.log & - Build by running "make >& build-rhel4.log &"
- Update etc/system.rootrc to include the lines:
# As suggested by Wilko, April, 2009, so that when a job writes to xrootd, missing directories are created upon request.
XNet.Mkpath: 1 - Copy the following into $GLAST_EXT using the directory structure:
ROOT/v5.20.00-gl4/gcc34/
README bin build-rhel4.log cint config-rhel4.log doc etc fonts icons include lib macros man test tutorials
...