Skip to content

Commit

Permalink
set ENABLE_RAPIDJSON=ON in dockerfile to output abacus.json (#3788)
Browse files Browse the repository at this point in the history
Co-authored-by: wqzhou <33364058+WHUweiqingzhou@users.noreply.github.com>
  • Loading branch information
pxlxingliang and WHUweiqingzhou committed Mar 26, 2024
1 parent 056911e commit 9391a3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/deve

RUN git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
cd abacus-develop && \
cmake -B build -DUSE_CUDA=ON && \
cmake -B build -DUSE_CUDA=ON -DENABLE_RAPIDJSON=ON && \
cmake --build build -j`nproc` && \
cmake --install build && \
rm -rf build && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/deve

RUN git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
cd abacus-develop && \
cmake -B build -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON && \
cmake -B build -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON -DENABLE_RAPIDJSON=ON && \
cmake --build build -j`nproc` && \
cmake --install build && \
rm -rf build && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.intel
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ADD https://api.github.com/repos/deepmodeling/abacus-develop/git/refs/heads/deve
RUN source /opt/intel/oneapi/setvars.sh && \
git clone https://github.com/deepmodeling/abacus-develop.git --depth 1 && \
cd abacus-develop && \
cmake -B build -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON && \
cmake -B build -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON -DENABLE_RAPIDJSON=ON && \
cmake --build build -j`nproc` && \
cmake --install build && \
rm -rf build && \
Expand Down

0 comments on commit 9391a3d

Please sign in to comment.