File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ RUN dnf -y update && \
3333 echo "module load mpi/mpich-x86_64" > /etc/profile.d/mpich.sh
3434
3535# Run interactively using a bash login shell
36+ COPY --chown=root:root kokkos-kernels/99-kokkos-kernels-env.sh /etc/profile.d/
37+ COPY kokkos-kernels/kokkos-kernels-install.sh kokkos-kernels-install.sh
38+ RUN ./kokkos-kernels-install.sh && rm kokkos-kernels-install.sh
39+
3640COPY --chown=root:root ginkgo/99-ginkgo-env.sh /etc/profile.d/
3741COPY ginkgo/ginkgo-install.sh ginkgo-install.sh
3842RUN ./ginkgo-install.sh && rm ginkgo-install.sh
Original file line number Diff line number Diff line change 1+ # Copy this file into /etc/profile.d/
2+
3+ export KokkosKernels_DIR=/kokkos-kernels/build
4+
5+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$KokkosKernels_DIR /lib
6+ export CPATH=$CPATH :$KokkosKernels_DIR /include
Original file line number Diff line number Diff line change 1+ # This script installs Kokkos-Kernels
2+ VERSION=$( rpm -q --qf ' %{VERSION}' kokkos-devel)
3+ echo " Installing Kokkos-Kernels version ${VERSION} "
4+
5+ wget -c https://github.com/kokkos/kokkos-kernels/archive/refs/tags/$VERSION .zip
6+ unzip $VERSION .zip && mv kokkos-kernels-$VERSION kokkos-kernels
7+ cd kokkos-kernels && mkdir build && cd build
8+ cmake -DBUILD_TESTING=" OFF" -DBUILD_SHARED_LIBS=" ON" .. && make -j 4
You can’t perform that action at this time.
0 commit comments