Commit 8513b87c authored by Sergey Gorbunov's avatar Sergey Gorbunov
Browse files

update

parent e9fbfb6c
Instructions:
== Install docker on your system ==
https://www.docker.com/get-started
== Run cbmdockInit.sh script ==
== Re-login, or type
source ~/.baschrc
== Run a shell in the container with an actual DISPLAY value ==
( This command you run each time you want to enter the container. To exit, type "exit". )
cbmdock
======================================================
=====
===== Software installation inside the container
=====
===== Instructions are just copied from FairSoft, FairRoot, CbmRoot installations
=====
======================================================
== External libraries, listed in the FairSoft dependencies ==
sudo apt-get update
sudo apt-get install -y cmake cmake-data g++ gcc gfortran \
debianutils build-essential make patch sed \
libx11-dev libxft-dev libxext-dev libxpm-dev libxmu-dev \
libglu1-mesa-dev libgl1-mesa-dev \
libncurses5-dev curl libcurl4-openssl-dev bzip2 libbz2-dev gzip unzip tar \
subversion git xutils-dev flex bison lsb-release python-dev \
libc6-dev-i386 libxml2-dev wget libssl-dev libkrb5-dev \
automake autoconf libtool
== External libraries needed to compile FairSoft for CBM ==
sudo apt-get install -y sqlite3 libsqlite3-dev
== Your lovely Linux tools ==
sudo apt-get install -y emacs mc x11-apps
== Configure GIT the way you like it ==
git config --global user.name <my name>
git config --global user.email <my email>
git config --global core.editor emacs
git config --global core.autocrlf input
git config --global core.safecrlf true
git config --global branch.autosetuprebase always
git config --global credential.helper 'cache --timeout 3600'
git config --global color.ui true
git config --global push.default simple
== Configure paths for FAIR packages ==
printf "\
\n export SIMPATH=/home/cbmdock/fairsoft \
\n export FAIRROOTPATH=/home/cbmdock/fairroot \
\n export CBMSRCDIR=/home/cbmdock/cbmroot \
\n source /home/cbmdock/build/config.sh \
" >> ~/.bashrc
source ~/.bashrc
= Install FairSoft ==
cd ~
git clone -b jun19p2 https://github.com/FairRootGroup/FairSoft
cd FairSoft
// Interactive Dialog Choices stored in the config.cache file:
printf "\
compiler=gcc\n\
debug=yes\n\
optimize=yes\n\
build_MQOnly=no\n\
geant4_download_install_data_automatic=yes\n\
geant4_install_data_from_dir=no\n\
geant4mt=yes\n\
build_root6=yes\n\
build_python=yes\n\
install_sim=yes\n\
SIMPATH_INSTALL=$SIMPATH\n\
platform=linux\
" > config.cache
./configure.sh
== Install FairRoot ==
cd ~
git clone -b v18.2.1 https://github.com/FairRootGroup/FairRoot.git
cd FairRoot
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$FAIRROOTPATH -DBUILD_UNITTESTS=ON ../.
nice make install -j
== Install CBMroot in the CBMshare directory, which is a shared Host directory ==
cd ~
git clone https://git.cbm.gsi.de/computing/cbmroot
mkdir build
cd build
cmake ../cbmroot
make -j
source /home/cbmdock/build/config.sh
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment