FRAMELIB installation
whatis : The Frame Library is software dedicated to the frame manipulation including file input/output
source : http://lappweb.in2p3.fr/virgo/FrameL/
Note
For the recommended CMake build (see Installing a local copy of the cWB libraries), the easiest way to
get FRAMELIB is via conda-forge (package libframel):
conda install -c conda-forge libframel
For the traditional Makefile build, FRAMELIB is instead built from source, as described below.
The suggested version is libframe-8.33. The instructions to install FRAMELIB are reported here:
wget http://lappweb.in2p3.fr/virgo/FrameL/libframe-8.33.tar.gz
tar zxvf libframe-8.33.tar.gz
mv libframe-8.33 libframe-8.33_root-6.14.06
# edit libframe-8.33_root-6.14.06/root/build
# set ROOTSYS = "/home/waveburst/SOFT/ROOT/root_v6.14.06/"
cd mgr
./makegcc
cd ../root
./build
cd ..
ln -s Linux-x86_64 Linux
For LVK users who want to install FRAMELIB produced with the Intel compiler, follow the instructions underneath (the example refers to the home directory /home/waveburst):
# initialize intel compiler
source $ICC_INIT_SCRIPT intel64
# edit libframe-8.33_root-6.14.06/root/build and make the following modifications:
- since ROOT6 is compiled with c++11 the build command must be fixed.
- substitute line
- set CXXGENFL = "-O -fPIC -fno-exceptions "
- with line
- set CXXGENFL = " -c -O2 -fPIC -Wno-deprecated -Wno-unknown-pragmas -fexceptions -std=c++11 "
- and substitute line
- rootcint -f G_frameL.C -c -I../src/ -D__cplusplus ../src/FrameL.h ../root/FrRootLinkDef.h
- with line
- rootcint -f G_frameL.C -c -I../src/ ../src/FrameL.h ../root/FrRootLinkDef.h
Note
set HOME_FRLIB environment variable in watenv script.