SuperNova Observatories with GLoBES
Make sure you have gcc and GNU gls installed (GLoBES install prerequisite)
- ROOT must be installed !
- gcc can be installed through the ROOT prereqs
- GNU gls can be intalled through the ROOT Optional prereqs
This software requires the GLoBES libraries to be installed.
See: https://www.mpi-hd.mpg.de/personalhomes/globes/
Make a parent dir for GLoBES/SNOwGLoBES:
mkdir SN_stuff
Move into SN_stff:
cd SN_stuff
Download GLoBES:
wget https://www.mpi-hd.mpg.de/personalhomes/globes/download/globes-3.2.18.tar.gz
Untar the file:
tar xvfz globes-3.2.18.tar.gz
Go into the GLoBES dir and make the 'install' directory
cd globes-3.2.18
mkdir install
configure the install :
./configure --prefix=/path/to/SN_stuff/globes-3.2.18/install --disable-binary
Run make and make install:
make
make install
Set $GLB_DIR
env variable:
cd install
echo 'export GLB_DIR=/path/to/globes-3.2.18/install' >> ~/.bashrc
run ldconfig:
sudo ldconfig
Clone this repository:
git clone https://github.com/SNOwGLoBES/snowglobes.git
Set env $SNOWGLOBES
variable
echo 'export SNOWGLOBES=/path/to/snowglobes'>> ~/.bashrc
Change into $SNOWGLOBES/src
and type
make
make install
./supernova.pl <run_mode> <flux_name> <channel_name> <detector>
# for example:
./supernova.pl 0 livermore lead halo1