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

Update genie-root5:3.0.2

parent 47aec402
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,8 @@ FROM docker.km3net.de/base/centos-full:7
tar xvf root.tar.gz -C /usr/local/ && rm root.tar.gz && cd /usr/local/root && \
./configure --fail-on-missing --with-pythia6-libdir=$PYTHIA6 --enable-pythia6 --enable-cxx11 && \
make && \
echo "cd /usr/local/root && source bin/thisroot.sh && cd" > /etc/profile.d/root_env.sh && cd
echo "cd /usr/local/root && source bin/thisroot.sh && cd -" >> /etc/profile.d/root_env.sh && cd
#GENIE
#it looks for libgfortran in /usr/lib64, otherwise linking will fail
RUN ln -s /lib64/libgfortran.so.3 /usr/lib64/libgfortran.so
......@@ -33,12 +33,12 @@ FROM docker.km3net.de/base/centos-full:7
echo "export GENIE=/genie/genie_generator" >> /etc/profile.d/genie.sh && \
echo "export PATH=$PATH:$GENIE/bin" >> /etc/profile.d/genie.sh && \
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GENIE/lib" >> /etc/profile.d/genie.sh && \
source /etc/profile.d/root_env.sh && source /etc/profile.d/genie.sh && \
source /etc/profile.d/root_env.sh && source /etc/profile.d/genie.sh && cd $GENIE && \
./configure && make && make install
#GENIE REWEIGHT
RUN cd /genie && git clone https://github.com/GENIE-MC/Reweight.git genie_reweight && \
cd genie_reweight && git checkout R-1_00_00 && \
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 && \
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.
Finish editing this message first!
Please register or to comment