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

Update genie:3.0.2

parent 58d4a535
No related branches found
No related tags found
No related merge requests found
......@@ -27,10 +27,16 @@ FROM docker.km3net.de/base/centos-full:7
#GENIE
#it looks for libgfortran in /usr/lib64, otherwise linking will fail
RUN ln -s /lib64/libgfortran.so.3 /usr/lib64/libgfortran.so
RUN cd / && git clone https://github.com/GENIE-MC/Generator.git genie &&\
cd /genie && git checkout R-3_00_02 && \
echo "export GENIE=/genie" >> /etc/profile.d/genie.sh && \
RUN cd / && mkdir genie && cd genie && git clone https://github.com/GENIE-MC/Generator.git genie_generator && \
cd genie_generator && git checkout R-3_00_02 && \
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 && \
./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 && \
./configure && make && make install
\ No newline at end of file
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