Skip to content

Commit

Permalink
fix triqs ver to 3.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed Apr 22, 2022
1 parent 61ee57e commit 2d9d83c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions Docker/mpich_dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ ENV FFLAGS="-m64 -O3"
# triqs
RUN cd / && mkdir -p triqs && mkdir -p source

RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/triqs triqs.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/triqs triqs.src \
&& mkdir -p triqs.build && cd triqs.build \
&& cmake ../triqs.src -DCMAKE_INSTALL_PREFIX=/triqs \
-DBLAS_LIBRARIES=/lib/x86_64-linux-gnu/libmkl_rt.so \
Expand All @@ -127,19 +127,19 @@ ENV CMAKE_PREFIX_PATH=/triqs/share/cmake:${CMAKE_PREFIX_PATH}
ENV TRIQS_ROOT=/triqs

# dft_tools
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/dft_tools.git dft_tools.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/dft_tools.git dft_tools.src \
&& mkdir -p dft_tools.build && cd dft_tools.build \
&& cmake ../dft_tools.src -DCMAKE_INSTALL_PREFIX=/triqs \
&& make -j2 && make -j2 test && make install

# cthyb
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/cthyb.git cthyb.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/cthyb.git cthyb.src \
&& mkdir -p cthyb.build && cd cthyb.build \
&& cmake ../cthyb.src -DCMAKE_INSTALL_PREFIX=/triqs \
&& make -j2 && make -j2 test && make install

# maxent
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/maxent.git maxent.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/maxent.git maxent.src \
&& mkdir -p maxent.build && cd maxent.build \
&& cmake ../maxent.src -DCMAKE_INSTALL_PREFIX=/triqs \
&& make -j2 && make -j2 test && make install
Expand All @@ -151,13 +151,13 @@ RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/maxen
# && make -j2 && make -j2 test && make install

# hubbardI
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/hubbardI hubbardI.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/hubbardI hubbardI.src \
&& mkdir -p hubbardI.build && cd hubbardI.build \
&& cmake ../hubbardI.src -DCMAKE_INSTALL_PREFIX=/triqs \
&& make -j2 && make -j2 test && make install

# solid_dmft
RUN cd /source && git clone -b unstable --depth 1 https://github.com/flatironinstitute/solid_dmft.git solid_dmft.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/flatironinstitute/solid_dmft.git solid_dmft.src \
&& mkdir -p solid_dmft.build && cd solid_dmft.build \
&& cmake ../solid_dmft.src -DCMAKE_INSTALL_PREFIX=/triqs \
&& make -j2 && make -j2 test && make install
Expand Down
14 changes: 7 additions & 7 deletions Docker/openmpi_dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,43 +134,43 @@ ENV CPATH=/triqs/include:${CPATH} \
CMAKE_PREFIX_PATH=/triqs/share/cmake:${CMAKE_PREFIX_PATH} \
TRIQS_ROOT=/triqs

RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/triqs triqs.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/triqs triqs.src \
&& mkdir -p triqs.build && cd triqs.build \
&& cmake ../triqs.src -DCMAKE_INSTALL_PREFIX=/triqs -DMPIEXEC_PREFLAGS='--allow-run-as-root' -DBLA_VENDOR=Intel10_64_dyn \
&& make -j$NCORES && ctest -j$NCORES && make install

# dft_tools
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/dft_tools.git dft_tools.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/dft_tools.git dft_tools.src \
&& mkdir -p dft_tools.build && cd dft_tools.build \
&& cmake ../dft_tools.src -DMPIEXEC_PREFLAGS='--allow-run-as-root' \
&& make -j$NCORES && make test && make install

# cthyb
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/cthyb.git cthyb.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/cthyb.git cthyb.src \
&& mkdir -p cthyb.build && cd cthyb.build \
&& cmake ../cthyb.src -DMPIEXEC_PREFLAGS='--allow-run-as-root' \
&& make -j$NCORES && ctest -j$NCORES && make install

# maxent
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/maxent.git maxent.src \
RUN cd /source && git clone -b 1.1.x --depth 1 https://github.com/TRIQS/maxent.git maxent.src \
&& mkdir -p maxent.build && cd maxent.build \
&& cmake ../maxent.src \
&& make -j$NCORES && ctest -j$NCORES && make install

# TPRF
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/tprf.git tprf.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/tprf.git tprf.src \
&& mkdir -p tprf.build && cd tprf.build \
&& cmake ../tprf.src -DMPIEXEC_PREFLAGS='--allow-run-as-root' \
&& make -j$NCORES && make test && make install

# hubbardI
RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/hubbardI.git hubbardI.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/TRIQS/hubbardI.git hubbardI.src \
&& mkdir -p hubbardI.build && cd hubbardI.build \
&& cmake ../hubbardI.src \
&& make -j$NCORES && ctest -j$NCORES && make install

# download solid_dmft and install
RUN cd /source && git clone -b unstable --depth 1 https://github.com/flatironinstitute/solid_dmft.git solid_dmft.src \
RUN cd /source && git clone -b 3.1.x --depth 1 https://github.com/flatironinstitute/solid_dmft.git solid_dmft.src \
&& mkdir -p solid_dmft.build && cd solid_dmft.build \
&& cmake ../solid_dmft.src -DMPIEXEC_PREFLAGS='--allow-run-as-root' \
&& make test && make install
Expand Down

0 comments on commit 2d9d83c

Please sign in to comment.