From e37c6faa301d69f85c18bc85e45fb42ded9996b9 Mon Sep 17 00:00:00 2001 From: Mohammad Al-Turany Date: Fri, 10 Oct 2014 20:31:44 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 22db714408b58..b8dcfea9cf08f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,23 @@ AliceO2 ======= -Proto type for the O2 project for the ALICE experiment at CERN +Alice O2 project software. Simulation and reconstraction software for Alice experiment at CERN base on ALFA and FairRoot software. + +### Step by Step installation + + +1. Install [FairSoft](https://github.com/FairRootGroup/FairSoft/tree/dev) + + we use here "fair_install" as a directory name, you can use what you went! + ```bash + mkdir ~/fair_install + cd ~/fair_install + #git clone https://github.com/FairRootGroup/FairSoft.git + git clone -b dev https://github.com/FairRootGroup/FairSoft.git + cd FairSoft + ./configure.sh + # 1) gcc (on Linux) 5) Clang (on OSX) + # 1) No Debug Info + # 2) Internet (install G4 files from internet) + # path: ~/fair_install/FairSoftInst + ``` From 55a64e11562e81cb5c0033a4fc2fe580ed502bcd Mon Sep 17 00:00:00 2001 From: Mohammad Al-Turany Date: Wed, 15 Oct 2014 11:33:46 +0200 Subject: [PATCH 2/2] general instruction for installation --- README.md | 51 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b8dcfea9cf08f..d70e6a5550ab5 100644 --- a/README.md +++ b/README.md @@ -6,18 +6,51 @@ Alice O2 project software. Simulation and reconstraction software for Alice expe ### Step by Step installation -1. Install [FairSoft](https://github.com/FairRootGroup/FairSoft/tree/dev) +1. Install [FairSoft/AlFa](https://github.com/FairRootGroup/FairSoft/tree/dev) - we use here "fair_install" as a directory name, you can use what you went! + we use here "alfa_src" as a directory name, you can change it to what ever you like ```bash - mkdir ~/fair_install - cd ~/fair_install - #git clone https://github.com/FairRootGroup/FairSoft.git - git clone -b dev https://github.com/FairRootGroup/FairSoft.git - cd FairSoft - ./configure.sh + + git clone https://github.com/FairRootGroup/FairSoft.git alfa_src + cd alfa_src + ./alfaconfig.sh # 1) gcc (on Linux) 5) Clang (on OSX) # 1) No Debug Info # 2) Internet (install G4 files from internet) - # path: ~/fair_install/FairSoftInst + # path: ~/AlFa ``` + + To run the tests do: + + ```bash + cd alfa_src/FairRoot/build_for_alfa/ + make test + ``` + + +2. Set several required shell variables, needed during the installation and running of the + different software packages. Put these in your shell's rc file (~/.bashrc or ~/.cshrc). + For bash: + + ```bash + export SIMPATH=~/AlFa + export FAIRROOTPATH=$SIMPATH/FairRoot + ``` + + or for the csh: + + ```bash + setenv SIMPATH ~/AlFa + setenv FAIRROOTPATH $SIMPATH/FairRoot + ``` + +3. Install the [AliceO2] (https://github.com/AliceO2Group/AliceO2) software + + ```bash + git clone https://github.com/AliceO2Group/AliceO2.git + mkdir build_o2 + cd build_o2 + cmake ../ + make + . config.sh [or source config.csh] + ```