Skip to content

Commit

Permalink
update cabana (#34)
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
Co-authored-by: vsoch <[email protected]>
  • Loading branch information
vsoch and vsoch committed Nov 27, 2023
1 parent 84cf73c commit f01c545
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions cabanaPIC/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,17 @@ RUN git clone https://github.com/ECP-copa/Cabana.git /opt/Cabana && \
-D Cabana_ENABLE_CAJITA=ON .. && \
make install

# Examples are here
WORKDIR /opt/Cabana/build/example
# Basic Examples are here
# /opt/Cabana/build/example
RUN git clone https://github.com/ECP-copa/CabanaPIC /opt/cabanaPIC && \
cd /opt/cabanaPIC && \
mkdir build && cd build && \
cmake -DCMAKE_PREFIX_PATH=$CABANA_INSTALL_DIR .. && \
make && make install
# executable is cbnpic (uses kokkos)

WORKDIR /opt/cabanaPIC/build

# Hack for ssh for now...
RUN echo " LogLevel ERROR" >> /etc/ssh/ssh_config && \
echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config && \
Expand Down

0 comments on commit f01c545

Please sign in to comment.