Installing JETSCAPE: manual instructions - TianyuDai/JETSCAPE-rhic-ags GitHub Wiki
Get PYTHIA and install it
wget https://pythia.org/download/pythia82/pythia8235.tgz
tar zxf pythia8235.tgz
mv pythia8235.tgz pythia8235
cd pythia8235
./configure
make -j
make install
cd ..
Get the Eigen library
wget -O eigen.tar.bz2 https://gitlab.com/libeigen/eigen/-/archive/3.3.9/eigen-3.3.9.tar.bz2
tar jxf eigen.tar.bz2
mv eigen-3.3.9 eigen
mv eigen.tar.bz2 eigen/
Define different environment variables
You can create a file "prepare.sh" with proper links to the different libraries
#emacs prepare.sh
#vi prepare.sh
Content of "prepare.sh":
export EIGEN_INSTALL_DIR=`readlink -f ./eigen`
export EIGEN3_ROOT=`readlink -f ./eigen`
export GSL=$(gsl-config --prefix)
export GSL_HOME=$(gsl-config --prefix)
export GSL_ROOT_DIR=$(gsl-config --prefix)
export JETSCAPE_DIR=`readlink -f .`
export SMASH_DIR=${JETSCAPE_DIR}/external_packages/smash/smash_code
export PYTHIAINSTALLDIR=`readlink -f .`
export PYTHIA8DIR=${PYTHIAINSTALLDIR}/pythia8235
export PYTHIA8_ROOT_DIR=${PYTHIAINSTALLDIR}/pythia8235
export CC=gcc
export CXX=g++
export OpenMP_CXX=g++
Then run:
source prepare.sh
Clone and compile JETSCAPE
git clone https://github.com/TianyuDai/JETSCAPE-rhic-ags.git
Get external packages
cd JETSCAPE-rhic-ags
cd external_packages
bash get_music.sh
cd ..
Build JETSCAPE
mkdir build
cd build
cmake -DUSE_MUSIC=ON ../
make -j