Skip to content

SNOwGLoBES code: SuperNova Observatories with GLoBES (Version 1.3)

License

Notifications You must be signed in to change notification settings

SNEWS2/snowglobes_1_3

 
 

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

About

SNOwGLoBES code: SuperNova Observatories with GLoBES (Version 1.3)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 42.6%
  • C++ 23.3%
  • Python 13.6%
  • C 13.3%
  • Perl 5.7%
  • Makefile 1.4%
  • Shell 0.1%