Skip to content

Commit

Permalink
[build] add sparse-ir for doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed May 27, 2024
1 parent d0b64ec commit 16038a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Docker/github_ci_dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/maxen
&& cmake ../ \
&& make -j$NCORES && ctest -j$NCORES && make install

# install sparse-ir into triqs pythonpath
RUN pip install --target /triqs/lib/python3.10/site-packages sparse-ir[xprec]

# remove source
RUN cd / && rm -rf source

4 changes: 4 additions & 0 deletions Docker/openmpi_dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
libmkl-dev \
libnfft3-dev \
libomp-${LLVM}-dev \
libomp-dev \
libopenblas-dev \
libopenmpi-dev \
libpmi2-0-dev \
Expand Down Expand Up @@ -224,6 +225,9 @@ RUN cd /source && git clone -b unstable --depth 1 https://github.com/TRIQS/hartr
&& cmake ../hartree_fock.src \
&& make -j$NCORES && ctest -j$NCORES && make install

# install sparse-ir into triqs pythonpath
RUN pip install --target /triqs/lib/python3.10/site-packages sparse-ir[xprec]

# download solid_dmft and install
RUN cd /source && git clone -b unstable --depth 1 https://github.com/flatironinstitute/solid_dmft.git solid_dmft.src \
&& mkdir -p solid_dmft.build && cd solid_dmft.build \
Expand Down

0 comments on commit 16038a7

Please sign in to comment.