Skip to content

Commit

Permalink
Add magma library
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Jul 11, 2024
1 parent c15e811 commit e29c009
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Script/Rocky.Pre.CUDA.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ RUN mkdir vtk-build && cd vtk-build && \
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ./VTK-9.2.6 && \
make install -j"$(nproc)" && cd .. && rm -r vtk-build

RUN dnf install -y procps
RUN mkdir magma-build && cd magma-build && \
wget -q https://icl.utk.edu/projectsfiles/magma/downloads/magma-2.8.0.tar.gz && tar xf magma-2.8.0.tar.gz && \
source /opt/intel/oneapi/setvars.sh && cmake -DCMAKE_BUILD_TYPE=Release -DGPU_TARGET="Turing Ampere Hopper" -DBUILD_SHARED_LIBS=OFF -DFORTRAN_CONVENTION="-DADD_" -DBLA_STATIC=ON -DBLA_VENDOR="Intel10_64lp" ./magma-2.8.0 && \
make install -j"$(nproc)" && cd .. && rm -r magma-build

ARG USERNAME=nonroot
ARG USER_UID=1000
ARG USER_GID=$USER_UID
Expand Down

0 comments on commit e29c009

Please sign in to comment.