Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
course-container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EnJoY
course-container
Commits
8872fbfb
Commit
8872fbfb
authored
1 year ago
by
Jonas Eppelt
Browse files
Options
Downloads
Patches
Plain Diff
this still needs rebuild of lhapdf, yoda, rivet
parent
75cd25e9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tp_herwig/Dockerfile
+92
-0
92 additions, 0 deletions
tp_herwig/Dockerfile
with
92 additions
and
0 deletions
tp_herwig/Dockerfile
+
92
−
0
View file @
8872fbfb
...
@@ -4,5 +4,97 @@ USER root
...
@@ -4,5 +4,97 @@ USER root
RUN
python3
-m
pip
install
bash_kernel
RUN
python3
-m
pip
install
bash_kernel
RUN
mkdir
/herwig
ENV
INSTALL_LOC=/herwig
# ### Install Boost
# ENV BOOST_LOC=/herwig/boost
# RUN mkdir $BOOST_LOC
# WORKDIR $BOOST_LOC
# RUN wget -O boost_1_62_0.tar.gz "http://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.gz/download"
# RUN tar -xvf boost_1_62_0.tar.gz
# WORKDIR boost_1_62_0
# RUN ./bootstrap.sh --prefix=$INSTALL_LOC --with-python=$(which python)
# RUN ./b2 install --layout=tagged
# ### Install RIVET
# ENV INSTALL_PREFIX=$INSTALL_LOC
# ENV INSTALL_BOOST=0
# ENV BOOSTPATH=$INSTALL_LOC
# RUN MAKE="make -j $(nproc)" ./rivet-bootstrap
# ### Install HEPMC
# ENV HEPMC_LOC=/herwig/hepmc
# RUN mkdir $HEP_LOC
# WORKDIR $HEPMC_LOC
# RUN wget "http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-2.06.09.tar.gz"
# RUN tar -xvf HepMC-2.06.09.tar.gz
# WORKDIR HepMC-2.06.09
# RUN ./configure --prefix=$INSTALL_LOC --with-momentum=GEV --with-length=MM
# RUN make -j$(nproc)
# RUN make check
# RUN make install
# ### Install GSL
# ENV GLS_LOC=$INSTALL_LOC/gsl
# RUN mkdir $GLS_LOC
# WORKDIR $GLS_LOC
# RUN wget "http://ftp.heanet.ie/mirrors/gnu/gsl/gsl-2.2.1.tar.gz"
# RUN tar -xvf gsl-2.2.1.tar.gz
# WORKDIR gsl-2.2.1
# RUN ./configure --prefix=$INSTALL_LOC
# RUN make -j$(nproc)
# RUN make check
# RUN make install
# ### Install FastJet
# ENV FASTJET_LOC=$INSTALL_LOC/fastjet
# RUN mkdir $FASTJET_LOC
# WORKDIR $FASTJET_LOC
# RUN wget http://fastjet.fr/repo/fastjet-3.2.1.tar.gz
# RUN tar -xvf fastjet-3.2.1.tar.gz
# WORKDIR fastjet-3.2.1
# RUN ./configure --prefix=$INSTALL_LOC --enable-allplugins
# RUN make -j$(nproc)
# RUN make check
# RUN make install
# ### Install LHAPDF
# ENV LHAPDF_LOC=$INSTALL_LOC/fastjet
# RUN mkdir $LHAPDF_LOC
# WORKDIR $LHAPDF_LOC
# RUN wget "https://lhapdf.hepforge.org/downloads/LHAPDF-6.1.6.tar.gz"
# RUN tar -xvf LHAPDF-6.1.6.tar.gz
# WORKDIR LHAPDF-6.1.6
# RUN ./configure --prefix=$INSTALL_LOC --with-boost=$INSTALL_LOC
# RUN make -j$(nproc)
# RUN make check
# RUN make install
# ### Install ThePEG
# ENV PEG_LOC=$INSTALL_LOC/thepeg
# RUN mkdir $PEG_LOC
# WORKDIR $PEG_LOC
# RUN wget "https://thepeg.hepforge.org/downloads/ThePEG-2.1.0.tar.bz2"
# RUN tar xjf ThePEG-2.1.0.tar.bz2
# RUN cd ThePEG-2.1.0
# RUN ./configure --prefix=$INSTALL_LOC --with-fastjet=$INSTALL_LOC \
# --with-gsl=$INSTALL_LOC --with-rivet=$INSTALL_LOC \
# --with-hepmc=$INSTALL_LOC --with-lhapdf=$INSTALL_LOC \
# --with-boost=$INSTALL_LOC
# RUN make -j$(nproc)
# RUN make check
# RUN make install
### install HERWIG
WORKDIR
$INSTALL_LOC
RUN
wget https://herwig.hepforge.org/downloads/herwig-bootstrap
RUN
cat
herwig-bootstrap
RUN
chmod
+x herwig-bootstrap
RUN
./herwig-bootstrap
-j
4 /herwig
RUN
ls
/herwig
RUN
source
/herwig/bin/activate
USER
$NBUSER
USER
$NBUSER
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment