Skip to content
Snippets Groups Projects
Commit a3047e14 authored by Vladimir Kulikovskiy's avatar Vladimir Kulikovskiy
Browse files

Update genie-hedis:km3net

parent e3e9242a
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,6 @@ FROM docker.km3net.de/base/centos:7 ...@@ -7,7 +7,6 @@ FROM docker.km3net.de/base/centos:7
RUN yum install -y bzip2-devel gzip && yum clean -y all RUN yum install -y bzip2-devel gzip && yum clean -y all
RUN yum install -y fftw-devel libgpg-error libproxy openssh-server && yum clean -y all RUN yum install -y fftw-devel libgpg-error libproxy openssh-server && yum clean -y all
RUN yum install -y gtk2-devel libX11 libX11-common libX11-devel libXext libXext-devel libXft libXft-devel libXpm libXpm-devel && yum clean -y all RUN yum install -y gtk2-devel libX11 libX11-common libX11-devel libXext libXext-devel libXft libXft-devel libXpm libXpm-devel && yum clean -y all
RUN yum install -y doxygen texlive texlive-*.noarch && yum clean -y all
RUN curl -L http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.2.0.8-x86_64-cc7-gcc48-opt.tgz > clhep.tgz && tar -C /usr/local/ --strip-components=1 -xvzf clhep.tgz RUN curl -L http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.2.0.8-x86_64-cc7-gcc48-opt.tgz > clhep.tgz && tar -C /usr/local/ --strip-components=1 -xvzf clhep.tgz
...@@ -27,12 +26,14 @@ FROM docker.km3net.de/base/centos:7 ...@@ -27,12 +26,14 @@ FROM docker.km3net.de/base/centos:7
RUN yum install -y log4cpp log4cpp-devel libxml2 libxml2-devel gsl gsl-devel RUN yum install -y log4cpp log4cpp-devel libxml2 libxml2-devel gsl gsl-devel
#lhapdf #lhapdf
RUN cd / && curl -L https://lhapdf.hepforge.org/downloads/\?f\=LHAPDF-6.1.6.tar.gz > LHAPDF-6.1.6.tar.gz && \ RUN source /etc/profile.d/python36.sh && cd / && \
curl -L https://lhapdf.hepforge.org/downloads/\?f\=LHAPDF-6.1.6.tar.gz > LHAPDF-6.1.6.tar.gz && \
tar xzvf LHAPDF-6.1.6.tar.gz && cd LHAPDF-6.1.6 && \ tar xzvf LHAPDF-6.1.6.tar.gz && cd LHAPDF-6.1.6 && \
./configure --prefix=/usr/local && make && make install ./configure --prefix=/usr/local && make && make install
#Pythia 6.4.28 (using script in GENIE) #Pythia 6.4.28 (using script in GENIE)
#https://root-forum.cern.ch/t/root-with-pythia6-and-pythia8/19211/4 #https://root-forum.cern.ch/t/root-with-pythia6-and-pythia8/19211/4
RUN cd / && wget https://root.cern.ch/download/pythia6.tar.gz && \ RUN source /etc/profile.d/python36.sh && cd / && wget https://root.cern.ch/download/pythia6.tar.gz && \
tar zxvf pythia6.tar.gz && rm -rf 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 && \ 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 && \ gzip -d pythia-6.4.28.f.gz && mv pythia-6.4.28.f pythia6/pythia6428.f && rm -rf pythia6/pythia6416.f && \
...@@ -40,7 +41,7 @@ FROM docker.km3net.de/base/centos:7 ...@@ -40,7 +41,7 @@ FROM docker.km3net.de/base/centos:7
./makePythia6.linuxx8664 && echo "export PYTHIA6=/pythia6428" > /etc/profile.d/genie.sh ./makePythia6.linuxx8664 && echo "export PYTHIA6=/pythia6428" > /etc/profile.d/genie.sh
#ROOT6 #ROOT6
RUN source /etc/profile.d/genie.sh && cd / && rm -rf /usr/local/root && \ RUN source /etc/profile.d/python36.sh && source /etc/profile.d/genie.sh && cd / && rm -rf /usr/local/root && \
export ROOT_VERSION=6.14.06 && \ export ROOT_VERSION=6.14.06 && \
cd /tmp && \ cd /tmp && \
wget https://root.cern.ch/download/root_v$ROOT_VERSION.source.tar.gz && \ wget https://root.cern.ch/download/root_v$ROOT_VERSION.source.tar.gz && \
...@@ -79,7 +80,6 @@ FROM docker.km3net.de/base/centos:7 ...@@ -79,7 +80,6 @@ FROM docker.km3net.de/base/centos:7
cp $GENIE/config/UnstableParticleDecayer.xml $GXMLPATH && \ cp $GENIE/config/UnstableParticleDecayer.xml $GXMLPATH && \
echo "export GXMLPATH=$GENIE/genie_xsec/v3_00_02/NULL/G1802a00000-k500-e1000/data" >> /etc/profile.d/genie.sh echo "export GXMLPATH=$GENIE/genie_xsec/v3_00_02/NULL/G1802a00000-k500-e1000/data" >> /etc/profile.d/genie.sh
#Now we are going to install GENIE-Reweight (needed for gSeaGen) #Now we are going to install GENIE-Reweight (needed for gSeaGen)
RUN cd /genie && \ RUN cd /genie && \
git clone -b R-1_00_00 https://github.com/GENIE-MC/Reweight.git genie_reweight && \ git clone -b R-1_00_00 https://github.com/GENIE-MC/Reweight.git genie_reweight && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment