From f01c545fa27e68148f81df96e62b37ecfe4e20b2 Mon Sep 17 00:00:00 2001 From: Vanessasaurus <814322+vsoch@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:36:32 -0700 Subject: [PATCH] update cabana (#34) Signed-off-by: vsoch Co-authored-by: vsoch --- cabanaPIC/Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cabanaPIC/Dockerfile b/cabanaPIC/Dockerfile index db57d07..49d7cf5 100644 --- a/cabanaPIC/Dockerfile +++ b/cabanaPIC/Dockerfile @@ -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 && \