diff --git a/docker/rivet-herwig/Dockerfile b/docker/rivet-herwig/Dockerfile --- a/docker/rivet-herwig/Dockerfile +++ b/docker/rivet-herwig/Dockerfile @@ -1,38 +1,38 @@ FROM hepstore/rivet:3.0.2 MAINTAINER Andy Buckley RUN dnf install -y boost-devel RUN mkdir /code && cd /code \ - && wget https://www.hepforge.org/archive/lhapdf/LHAPDF-6.2.3.tar.gz -O- | tar xz \ + && wget https://lhapdf.hepforge.org/downloads/?f=LHAPDF-6.2.3.tar.gz -O- | tar xz \ && cd LHAPDF-*/ && ./configure --prefix=/usr/local \ && make -j5 && make install \ && cd ../.. && rm -rf /code RUN lhapdf install MMHT2014{,n}lo68cl # RUN cd /usr/local/share/LHAPDF/ && \ # for pdf in MMHT2014{,n}lo68cl; do \ # wget https://lhapdf.hepforge.org/downloads?f=pdfsets/current/$pdf.tar.gz -O- | tar xz; \ # done RUN dnf install -y mercurial libtool RUN mkdir /code && cd /code \ && wget https://www.hepforge.org/archive/thepeg/ThePEG-2.1.5.tar.bz2 -O- | tar xj \ && cd ThePEG-*/ && ./configure --enable-shared --{prefix,with-{fastjet,hepmc,lhapdf}}=/usr/local \ && make -j5 && make install \ && cd ../.. && rm -rf /code #&& hg clone https://phab.hepforge.org/source/thepeghg ThePEG-hg -b release-2-1 -r 15cd9c8ceac1 \ #&& (cd ThePEG-*/ && hg up 15cd9c8ceac1 && autoreconf -i) \ #&& cd ThePEG-*/ && ./configure --enable-shared --{prefix,with-{fastjet,hepmc,lhapdf,rivet}}=/usr/local \ RUN mkdir /code && cd /code \ && wget https://www.hepforge.org/archive/herwig/Herwig-7.1.5.tar.bz2 -O- | tar xj \ && cd Herwig-*/ \ && ./configure --{prefix,with-{thepeg,fastjet}}=/usr/local \ && make -j5 && make install \ && cd ../.. && rm -rf /code WORKDIR /work diff --git a/docker/rivet-pythia/Dockerfile b/docker/rivet-pythia/Dockerfile --- a/docker/rivet-pythia/Dockerfile +++ b/docker/rivet-pythia/Dockerfile @@ -1,25 +1,25 @@ FROM hepstore/rivet:3.0.2 MAINTAINER Andy Buckley RUN dnf install -y rsync RUN mkdir /code && cd /code \ - && wget https://www.hepforge.org/archive/lhapdf/LHAPDF-6.2.3.tar.gz -O- | tar xz \ + && wget https://lhapdf.hepforge.org/downloads/?f=LHAPDF-6.2.3.tar.gz -O- | tar xz \ && cd LHAPDF-*/ && ./configure --prefix=/usr/local \ && make -j5 && make install \ && cd ../.. && rm -r /code RUN mkdir /code && cd /code \ && wget http://home.thep.lu.se/~torbjorn/pythia8/pythia8243.tgz -O- | tar xz \ && cd pythia*/ && ./configure --enable-shared --{prefix,with-{hepmc2,lhapdf6}}=/usr/local \ && make -j5 && make install \ && cd ../.. && rm -r /code RUN mkdir /code && cd /code \ && wget https://agile.hepforge.org/downloads/?f=Sacrifice-1.1.2.tar.gz -O- | tar xz \ && cd Sacrifice-*/ \ && ./configure --{prefix,with-{pythia,hepmc,LHAPDF}}=/usr/local \ && make -j5 && make install \ && cd ../.. && rm -r /code WORKDIR /work diff --git a/docker/rivet-sherpa/Dockerfile b/docker/rivet-sherpa/Dockerfile --- a/docker/rivet-sherpa/Dockerfile +++ b/docker/rivet-sherpa/Dockerfile @@ -1,44 +1,44 @@ FROM hepstore/rivet:3.0.2 MAINTAINER Andy Buckley RUN mkdir /code && cd /code \ - && wget https://www.hepforge.org/archive/lhapdf/LHAPDF-6.2.3.tar.gz -O- | tar xz \ + && wget https://lhapdf.hepforge.org/downloads/?f=LHAPDF-6.2.3.tar.gz -O- | tar xz \ && cd LHAPDF-*/ && ./configure --prefix=/usr/local \ && make -j5 && make install \ && cd ../.. && rm -r /code RUN dnf install -y rsync git pypy \ && cd /usr/local \ && git clone https://gitlab.com/openloops/OpenLoops.git \ && cd OpenLoops && ./scons \ && ./openloops libinstall ppll pptt RUN dnf install -y libtool texinfo sqlite-devel swig pypy openmpi openmpi-devel ENV PATH="${PATH}:/usr/lib64/openmpi/bin" RUN mkdir /code && cd /code \ && git clone -b rel-2-2-7 https://gitlab.com/sherpa-team/sherpa.git && cd sherpa && autoreconf -fi \ && ./configure --prefix=/usr/local \ --enable-lhapdf=/usr/local --enable-fastjet=/usr/local \ --enable-hepmc2=/usr/local --enable-openloops=/usr/local/OpenLoops \ --enable-pyext --enable-gzip --enable-analysis \ --enable-mpi CC=mpicc CXX=mpic++ \ && make -j1 CXXFLAGS="-O2 -std=c++11" AM_CXXFLAGS="-O2 -std=c++11" \ && make install \ && mkdir /usr/local/Sherpa \ && mv Examples /usr/local/Sherpa \ && cd ../.. && rm -r /code # wget https://sherpa.hepforge.org/downloads/?f=SHERPA-MC-2.2.7.tar.gz -O - | tar xf && cd SHERPA-MC-2.2.7 # RUN apt-get update; \ # apt-get -q -y --no-install-recommends install pypy; \ # apt autoremove; apt-get autoclean; \ # rm -rf /var/lib/apt/lists /var/cache/apt; \ # rm -rf $(find / -name doc 2>&1 | grep -v Permission) # RUN echo "export PATH=/usr/local/bin:\$PATH\n\ # export LD_LIBRARY_PATH=/usr/local/lib:\$LD_LIBRARY_PATH\n\ # . /usr/local/rivetenv.sh\n\ # if [ "\$PS1" ]; then PS1='\\h:\\w\\$ '; fi" > /etc/bash.bashrc WORKDIR /work