Skip to content

Instantly share code, notes, and snippets.

@restrepo
Created June 15, 2018 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save restrepo/2c69cc882dd425792ce0fa46722c7361 to your computer and use it in GitHub Desktop.
Save restrepo/2c69cc882dd425792ce0fa46722c7361 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
SARAH_VERSION=4.13.0
wget http://www.hepforge.org/archive/sarah/SARAH-${SARAH_VERSION}.tar.gz
tar zxf SARAH-${SARAH_VERSION}.tar.gz
ln -s SARAH-${SARAH_VERSION} SARAH
wget http://www.hepforge.org/archive/spheno/SPheno-4.0.3.tar.gz
tar zxf SPheno-4.0.3.tar.gz
ln -s SPheno-4.0.3 SPHENO
sed -ri 's/(^F90\s*=\s*)ifort/\1gfortran/' SPHENO/Makefile
wget gfif.udea.edu.co/downloads/B-L_DM.tar.gz
tar -zxf B-L_DM.tar.gz
mv B-L_DM SARAH/Models/
math << EOF
<<SARAH/SARAH.m
Start["B-L_DM"]
MakeSPheno[]
EOF
cp -r SARAH/Output/B-L_DM/EWSB/SPheno/ SPHENO/B-L_DM
cd SPHENO
make Model=B-L_DM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment