Once ROOT is properly setup you can proceed with the following steps.
- Download the Master branch using the 'git clone https://xxxx@baltig.infn.it/asarti/shoe.git' command. Replace xxxx with your user account under baltig.
- Enter the shoe directory: cd shoe
- switch to the master branch: git checkout master
- Create the build directory and enter it: mkdir build; cd build
- Issue the cmake command 'cmake PathToMaster /shoe -DCMAKE_BUILD_TYPE=Debug' (same options as above could be applied).
- Issue the make command
- Issue the source setup.sh or .csh commands accordingly to your shell
And then you'll be ready to test the installation.
Starting from scratch: tier3 installation
The instructions on how to access the tier3 are given in the software page.
You need, as a first thing, to setup properly the environment.
scl enable devtoolset-9 bash
In order to compile and install the shoe software on the tier3 you must use a properly compiled version of ROOT.
To check the root flags you can use the
root-config --cflags
command and verify that the option -std=c++14 appears in the output string. If your 'local' ROOT installation does not have the proper flags, you can use the ROOT from , by issuing the command
source /opt/exp_software/foot/root/root-6.20.04/bin/thisroot.sh
and check afterrwards that the root-config command provides the expected output.
Once ROOT is properly setup you can proceed with the following steps.
- Download the Master branch using the 'git clone https://xxxx@baltig.infn.it/asarti/shoe.git' command. Replace xxxx with your user account under baltig.
- Enter the shoe directory: cd shoe
- switch to the master branch: git checkout master
- Create the build directory and enter it: mkdir build; cd build
- Issue the cmake command 'cmake3 PathToMaster /shoe -DCMAKE_BUILD_TYPE=Debug' (same options as above could be applied).
- Issue the make command
- Issue the source setup.sh or .csh commands accordingly to your shell
And then you'll be ready to test the installation.
Testing the installation
To check wether your installation is properly working in view of the tutorial, you are encouraged to perform the following tests.
First of all, execute the 'source setupFOOT.sh' inside the build directory and then run the following macro: 'root pathToMaster/Reconstruction/level0/macros/BenchMark.C+' in your pathToBuild//Reconstruction/level0 folder
-- Alessio Sarti - 2020-12-29
Comments
|