Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Piotr Kalaczynski
Dockerfiles
Commits
efe8bec7
Commit
efe8bec7
authored
5 years ago
by
Vladimir Kulikovskiy
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
bd4c668a
No related branches found
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
base/centos-full-root6-pythia
+31
-0
31 additions, 0 deletions
base/centos-full-root6-pythia
with
31 additions
and
0 deletions
base/centos-full-root6-pythia
0 → 100644
+
31
−
0
View file @
efe8bec7
FROM docker.km3net.de/base/centos-full:7
MAINTAINER Vladimir Kulikovskiy <vkulikovskiy@km3net.de>
RUN yum install -y log4cpp log4cpp-devel libxml2 libxml2-devel gsl gsl-devel
#lhapdf
RUN cd / && curl -L https://lhapdf.hepforge.org/downloads/\?f\=lhapdf-5.9.1.tar.gz > lhapdf-5.9.1.tar.gz && \
tar xzvf lhapdf-5.9.1.tar.gz && cd lhapdf-5.9.1 && \
./configure --prefix=/usr/local && make && make install
#Pythia 6.4.28 (using script in GENIE)
#https://root-forum.cern.ch/t/root-with-pythia6-and-pythia8/19211/4
RUN cd / && wget https://root.cern.ch/download/pythia6.tar.gz && \
tar zxvf pythia6.tar.gz && rm -rf pythia6.tar.gz && \
wget --no-check-certificate http://www.hepforge.org/archive/pythia6/pythia-6.4.28.f.gz && \
gzip -d pythia-6.4.28.f.gz && mv pythia-6.4.28.f pythia6/pythia6428.f && rm -rf pythia6/pythia6416.f && \
mv pythia6 pythia6428 && cd pythia6428 && \
./makePythia6.linuxx8664 && echo "export PYTHIA6=/pythia6428" > /etc/profile.d/genie.sh
#ROOT6
RUN yum install -y cmake3
RUN source /etc/profile.d/genie.sh && cd / && rm -rf /usr/local/root && \
export ROOT_VERSION=6.14.06 && \
cd /tmp && \
wget https://root.cern.ch/download/root_v$ROOT_VERSION.source.tar.gz && \
tar xvzf root_v$ROOT_VERSION.source.tar.gz && cd root-$ROOT_VERSION && \
mkdir obj && cd obj && \
cmake3 .. -Dpythia6=ON -DPYTHIA6_LIBRARY=/pythia6428/libPythia6.so && \
make && \
cd .. && \
mv obj /opt/root-$ROOT_VERSION && \
rm -rf /tmp/root* && \
echo "cd /opt/root-$ROOT_VERSION && source bin/thisroot.sh && cd -" >> /etc/profile.d/root_env.sh && cd
\ No newline at end of file
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