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

Add new file

parent 459461a6
Branches
No related tags found
No related merge requests found
FROM docker.km3net.de/base/centos-full-root6-pythia:7
MAINTAINER Vladimir Kulikovskiy <vkulikovskiy@km3net.de>
#Now we are going to install GENIE-HEDIS (needed for gSeaGen)
RUN cd / && mkdir genie && cd genie && \
git clone -b apfel https://github.com/pochoarus/GENIE-HEDIS.git genie_generator && \
mv genie_generator && mkdir install && \
echo "export GENIE=/genie/genie_generator" >> /etc/profile.d/genie.sh && \
echo 'export PATH=$PATH:$GENIE/bin' >> /etc/profile.d/genie.sh && \
echo 'if [ -z "$LD_LIBRARY_PATH" ]; then export LD_LIBRARY_PATH=$GENIE/lib; else LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GENIE/lib; fi' >> /etc/profile.d/genie.sh && \
source /etc/profile.d/root_env.sh && source /etc/profile.d/genie.sh && cd $GENIE && \
./configure --prefix=${GENIE}/install --enable-geom-drivers --enable-flux-drivers && \
make && make install
#Now we are going to install GENIE-Reweight (needed for gSeaGen)
RUN cd /genie && \
git clone -b R-1_00_00 https://github.com/GENIE-MC/Reweight.git genie_reweight && \
cd genie_reweight && \
echo "export GENIE_REWEIGHT=/genie/genie_reweight" >> /etc/profile.d/genie.sh && \
source /etc/profile.d/root_env.sh && source /etc/profile.d/genie.sh && cd /genie/genie_reweight \
./configure && make && make install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment