timo-singularity/sherpa:latest
$ singularity pull shub://timo-singularity/sherpa:latest
Singularity Recipe
#Bootstrap: localimage
#From: ./rivet.sif
Bootstrap: shub
From: timo-singularity/rivet
%help
Container with Sherpa
%environment
PYTHONPATH=/usr/local/lib/python3.6/site-packages:$PYTHONPATH
export PYTHONPATH
%post
yum -y install swig sqlite-devel
# install lhapdf
wget https://lhapdf.hepforge.org/downloads/?f=LHAPDF-6.3.0.tar.gz -O LHAPDF-6.3.0.tar.gz
tar xvf LHAPDF-6.3.0.tar.gz
rm LHAPDF-6.3.0.tar.gz
cd LHAPDF-6.3.0
./configure --prefix=/usr/local
make -j3
make install
# install Sherpa
wget https://sherpa.hepforge.org/downloads/?f=SHERPA-MC-2.2.10.tar.gz -O SHERPA-MC-2.2.10.tar.gz
tar xvf SHERPA-MC-2.2.10.tar.gz
rm SHERPA-MC-2.2.10.tar.gz
cd SHERPA-MC-2.2.10
wget https://raw.githubusercontent.com/timo-singularity/sherpa/master/fix-memory-leak-in-python-interface.patch
patch -p1 < fix-memory-leak-in-python-interface.patch
./configure --prefix=/usr/local \
--enable-pyext \
--enable-analysis \
--enable-fastjet=/usr/local \
--enable-hepmc2=/usr/local \
--enable-lhapdf=/usr/local \
--enable-rivet=/usr/local \
--enable-gzip \
--with-sqlite3=/usr
make -j3 && make install
ldconfig
yum clean all
Collection
- Name: timo-singularity/sherpa
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/timo-singularity-sherpa-latest |
collection name | timo-singularity/sherpa |
branch | master |
tag | latest |
commit | 27b1ad9a8becd1fd717c215091ce3942e50523cc |
version (container hash) | 9abedc5dd073cae2aa7e1a6eeb48f20e |
build date | 2021-04-05T19:44:22.178Z |
size (MB) | 4582.0 |
size (bytes) | 933527583 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.