-
-
Save aragon999/01ff4f5b4fc53aadca60e63ffc659c01 to your computer and use it in GitHub Desktop.
Dockerfile for gpt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:latest | |
RUN apt-get update | |
RUN apt-get install -y gcc cmake libmpfr-dev libgmp-dev git build-essential autoconf | |
WORKDIR /install | |
RUN git clone https://github.com/usqcd-software/c-lime.git | |
RUN (cd c-lime && ./autogen.sh && ./configure && make && make install) | |
RUN git clone https://github.com/lehner/grid --branch feature/gpt | |
RUN apt-get install -y wget libssl-dev zlib1g-dev | |
RUN apt-get install -y rpm | |
RUN wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.3-1.src.rpm | |
RUN rpm -i openmpi-4.0.3-1.src.rpm | |
RUN (cd grid && ./bootstrap.sh) | |
RUN (cd grid/ && ./configure CXXFLAGS=-fPIC --enable-precision=double --enable-simd=AVX --enable-comms=none && cd Grid && make version-cache Version.h && make && make install) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment