Skip to content

Commit

Permalink
Update Tools/machines/perlmutter-nersc/Containerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
  • Loading branch information
sinha-r and ax3l authored Dec 13, 2024
1 parent 28419a0 commit fc8f29b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tools/machines/perlmutter-nersc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ ENV DEBIAN_FRONTEND=noninteractive \
SW_DIR=/opt/software \
FORCE_UNSAFE_CONFIGURE=1

# Perlmutter A100 compilation optimization
ENV AMREX_CUDA_ARCH=8.0 \
CUDAARCHS=80 \
CXXFLAGS="-march=znver3" \
CFLAGS="-march=znver3"

# Install essential system dependencies including MPI libraries
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
Expand Down

0 comments on commit fc8f29b

Please sign in to comment.