hpc:lcgcmake
This is an old revision of the document!
LCGCMake Installation Notes
This page documents my attempts to install the LCG software core on various non-traditional machines.
The basic installation instructions are here for a standard Scientific Linix CERN 6 installation: <html><b><a href=“http://ph-dep-sft.web.cern.ch/document/using-lcgcmake” target=“_blank”>LCGCMake SLC6 Installation </a></b></html>
Installing on Cooley@ALCF
- Clean Cooley Login (nothing from
.softrc.cooley
) - Create working directory
mkdir /path/to/lcg
export $LCG_PROJECT_PATH=/path/to/lcg
cd $LCG_PROJECT_PATH
soft add +cmake
soft add +gcc-4.8.1
- Install Dependencies first:
mkdir dependencies
cd dependencies
mkdir install
- procmail
tar zxf procmail-3.22.tar.gz
cd procmail-3.22
- edit
BASENAME
inMakefile
to be/path/to/lcg/dependencies/install
make lockfile CC=$(which gcc) CXX=$(which g++)
- press enter when prompted
- this only compiles
lockfile
because other parts of this package fail, but we don't need them.
cd ..
mkdir install/bin
ln -s $PWD/procmail-3.22/src/lockfile $PWD/install/bin/lockfile
-
tar zxf libxml2-2.9.2.tar.gz
cd libxml2-2.9.2
./configure –with-python –with-threads –prefix=/path/to/lcg/dependencies/install
make -j 10
make install
cd ..
- xslt (bottom of page) (depends on libxml2)
git clone git://git.gnome.org/libxslt
cd libxslt
./configure –with-python –with-libxml-prefix=/path/to/lcg/dependencies/install –prefix=/path/to/lcg/dependencies/install
make -j 10
make install
cd ..
- export environment
export PATH=/path/to/lcg/dependencies/install/bin:$PATH
export LD_LIBRARY_PATH=/path/to/lcg/dependencies/install/lib:$LD_LIBRARY_PATH
- Get LCGCMake repository
cd $LCG_PROJECT_PATH
mkdir lcgcmake-build
mkdir lcgcmake-install
- Create setup environment <file bash setup.sh>
#!/usr/bin/env bash soft add +cmake soft add +gcc-4.8.1
hpc/lcgcmake.1440105084.txt.gz · Last modified: 2015/08/20 21:11 by jchilders