Skip to content

Instantly share code, notes, and snippets.

@aragon999
Forked from daknuett/Dockerfile
Created April 9, 2020 15:11
Show Gist options
  • Save aragon999/01ff4f5b4fc53aadca60e63ffc659c01 to your computer and use it in GitHub Desktop.
Save aragon999/01ff4f5b4fc53aadca60e63ffc659c01 to your computer and use it in GitHub Desktop.
Dockerfile for gpt
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