Skip to content

Commit

Permalink
Merge pull request #4496 from ESMCI/update-docker
Browse files Browse the repository at this point in the history
Updates libnetcdf to 4.9.1.

Test suite:
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes [CIME Github issue #]
User interface changes?:
Update gh-pages html (Y/N)?:
  • Loading branch information
jasonb5 authored Oct 10, 2023
2 parents d1b1074 + dea5ede commit 66f96f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ FROM condaforge/mambaforge:${MAMBAFORGE_VERSION} AS base
ARG PNETCDF_VERSION=1.12.3
ENV PNETCDF_VERSION=${PNETCDF_VERSION}

ARG LIBNETCDF_VERSION=4.8.1
ARG LIBNETCDF_VERSION=4.9.1
ENV LIBNETCDF_VERSION=${LIBNETCDF_VERSION}

ARG NETCDF_FORTRAN_VERSION=4.6.0
ARG NETCDF_FORTRAN_VERSION=*
ENV NETCDF_FORTRAN_VERSION=${NETCDF_FORTRAN_VERSION}

ARG ESMF_VERSION=8.4.0
ARG ESMF_VERSION=*
ENV ESMF_VERSION=${ESMF_VERSION}

ARG GCC_VERSION=10.*
Expand Down
3 changes: 2 additions & 1 deletion docker/docker.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
string(APPEND CXXFLAGS " -std=c++14")
string(APPEND CXX_LIBS " -lstdc++")
string(APPEND FFLAGS " -I/opt/conda/include")
string(APPEND SLIBS " -L/opt/conda/lib")
# required for grid generation tests that use make
string(APPEND SLIBS " -L/opt/conda/lib -lnetcdf -lnetcdff")
set(MPI_PATH "/opt/conda")
if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
string(APPEND FFLAGS " -fallow-argument-mismatch -fallow-invalid-boz ")
Expand Down

0 comments on commit 66f96f1

Please sign in to comment.