Skip to content

SNOwGLoBES/snowglobes

Repository files navigation

SNOwGLoBES

SuperNova Observatories with GLoBES

Dependencies

Make sure you have gcc and GNU gls installed (GLoBES install prerequisite)

Installation GLoBES

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

Installation SNOwGLoBES

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

Usage

./supernova.pl <run_mode> <flux_name> <channel_name> <detector>

# for example:
./supernova.pl 0 livermore lead halo1