Commit f1bcd2a8 authored by Lucas Mello Schnorr's avatar Lucas Mello Schnorr

deps

parent 842890d8
......@@ -493,3 +493,133 @@ popd
#+END_SRC
* 2019-11-22 Drafting a reproducible workflow
* 2020-04-27 Reinstall tupi2
** 1. Install alibuild
Original instructions from here:
https://alice-doc.github.io/alice-analysis-tutorial/building/custom.html
In my box:
#+begin_src bash :results output :session :exports both
export PYTHONUSERBASE="/SSD2/schnorr/New_2020/python/"
export PATH="$PYTHONUSERBASE/bin:$PATH"
rm -rf $PYTHONUSERBASE
pip install alibuild --upgrade --user
#+END_SRC
** 2. Initialize AliPhysics
#+begin_src bash :results output :session :exports both
export PYTHONUSERBASE="/SSD2/schnorr/New_2020/python/"
export PATH="$PYTHONUSERBASE/bin:$PATH"
BASE=/SSD2/schnorr/New_2020/ALICE/
mkdir -p $BASE
pushd $BASE
aliBuild init AliPhysics@master
popd
#+END_SRC
** 3. Verify dependencies
Make sure aliDoctor reports no "ERROR" messages.
#+begin_src bash :results output :session :exports both
export PYTHONUSERBASE="/SSD2/schnorr/New_2020/python/"
export PATH="$PYTHONUSERBASE/bin:$PATH"
aliDoctor AliPhysics
#+END_SRC
In my relatively fresh Debian box, I had to install:
#+begin_src shell :results output
sudo apt install libglu1-mesa-dev libperl-dev libxpm-dev libxext-dev libx11-dev libxft-dev libgsl-dev
sudo apt install libssl-dev
sudo apt install cmake autoconf automake autopoint texinfo gettext libtool libtool-bin pkg-config swig
sudo apt install libczmq-dev libyaml-cpp-dev
sudo apt install libz4-dev
sudo apt install libfreetype6-dev
sudo apt install curl libcurl4-gnutls-dev build-essential gfortran cmake xorg-dev libglu1-mesa-dev libfftw3-dev libxml2-dev git unzip autoconf automake autopoint texinfo gettext libtool libtool-bin pkg-config bison flex libperl-dev libbz2-dev swig liblzma-dev libnanomsg-dev libyaml-cpp-dev rsync lsb-release unzip environment-modules libglfw3-dev
sudo apt install libfabric-dev
#+end_src
** 4. (optional) Deinstall dependencies
#+begin_src shell :results output
sudo apt purge \
libglu1-mesa-dev \
libperl-dev \
libxpm-dev \
libxext-dev \
libx11-dev \
libxft-dev \
libgsl-dev \
libssl-dev \
libczmq-dev libyaml-cpp-dev \
libfreetype6-dev \
libcurl4-gnutls-dev \
xorg-dev \
libglu1-mesa-dev \
libfftw3-dev \
libxml2-dev \
autoconf automake autopoint \
texinfo gettext libtool libtool-bin \
pkg-config \
bison flex \
libperl-dev \
libbz2-dev \
liblzma-dev \
libnanomsg-dev \
libyaml-cpp-dev \
environment-modules libglfw3-dev \
libfabric-dev
#+end_src
** 5. Reinstall only the bare minimum
#+begin_src shell :results output
sudo apt install \
libglu1-mesa-dev \
libbz2-dev \
liblzma-dev \
curl \
libcurl4-gnutls-dev \
libxpm-dev libxext-dev libx11-dev libxft-dev
#+end_src
For a more complete installation
#+begin_src shell :results output
sudo apt install \
libglu1-mesa-dev \
libperl-dev \
libxpm-dev \
libxext-dev \
libx11-dev \
libxft-dev \
libgsl-dev \
libssl-dev \
libczmq-dev libyaml-cpp-dev \
libfreetype6-dev \
xorg-dev \
libglu1-mesa-dev \
libfftw3-dev \
libxml2-dev \
autoconf automake autopoint \
texinfo gettext libtool libtool-bin \
pkg-config \
bison flex \
libperl-dev \
libbz2-dev \
liblzma-dev \
libnanomsg-dev \
libyaml-cpp-dev \
environment-modules libglfw3-dev \
libfabric-dev
#+end_src
Markdown is supported
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