Skip to content

Commit abfffea

Browse files
authored
Merge pull request #2550 from MODFLOW-ORG/v6.6.3
Release 6.6.3
2 parents 7cb7958 + bfb493c commit abfffea

533 files changed

Lines changed: 43134 additions & 17373 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.build_rtd_docs/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ PROJECT_NAME = "MODFLOW 6"
3737
# could be handy for archiving the generated documentation or if some version
3838
# control system is used.
3939

40-
PROJECT_NUMBER = "version 6.6.2"
40+
PROJECT_NUMBER = "version 6.6.3"
4141

4242
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4343
# for a project that appears at the top of each page and should give viewer a

.build_rtd_docs/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,16 @@
9191
dst = os.path.join(dstdir, fpth)
9292
shutil.copy(src, dst)
9393

94+
fpth = "README.md"
95+
src = os.path.join("..", "distribution", fpth)
96+
dst = os.path.join(dstdir, "DISTRIBUTION.md")
97+
shutil.copy(src, dst)
98+
99+
fpth = "IDM.md"
100+
src = os.path.join("..", fpth)
101+
dst = os.path.join(dstdir, fpth)
102+
shutil.copy(src, dst)
103+
94104
dstdir = "_migration"
95105
if os.path.isdir(dstdir):
96106
shutil.rmtree(dstdir)

.build_rtd_docs/dev.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ This section contains developer documentation, including contributor conventions
1111
_dev/CONTRIBUTING.md
1212
_dev/DEVELOPER.md
1313
_dev/EXTENDED.md
14+
_dev/DISTRIBUTION.md
1415
_dev/styleguide.md
1516
_dev/dfn.md
17+
_dev/IDM.md

.codespell.ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Alph
22
wel
33
nam
44
gage
5+
DisUtils
56
drob
67
delt
78
lke
@@ -24,3 +25,4 @@ rin
2425
checkin
2526
exchng
2627
welp
28+
alog

.github/actions/build-netcdf-win/action.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,24 @@ runs:
1717
- name: Download NetCDF-C
1818
shell: bash
1919
run: |
20-
mkdir -p netcdf/netCDF4.9.2-NC4-64
21-
cd netcdf/netCDF4.9.2-NC4-64
22-
curl https://downloads.unidata.ucar.edu/netcdf-c/4.9.2/netCDF4.9.2-NC4-64.exe -O -J
23-
7z x netCDF4.9.2-NC4-64.exe -aou
20+
mkdir -p netcdf/netCDF4.9.3-NC4-64
21+
cd netcdf/netCDF4.9.3-NC4-64
22+
curl https://downloads.unidata.ucar.edu/netcdf-c/4.9.3/netCDF4.9.3-NC4-64.exe -O -J
23+
7z x netCDF4.9.3-NC4-64.exe -aou
24+
# disable checks specific to standard install locations
25+
sed -i '32,34s/^/#/' lib/cmake/netCDF/netCDFConfig.cmake
26+
# disable system hdf5 library check
27+
sed -i '67,70s/^/#/' lib/cmake/netCDF/netCDFConfig.cmake
2428
2529
- name: Download NetCDF-Fortran
2630
shell: bash
2731
run: |
28-
mkdir -p netcdf/netcdf-fortran-4.6.1/build
29-
cd netcdf/netcdf-fortran-4.6.1
30-
curl https://downloads.unidata.ucar.edu/netcdf-fortran/4.6.1/netcdf-fortran-4.6.1.zip -O -J
31-
unzip netcdf-fortran-4.6.1.zip
32+
mkdir -p netcdf/netcdf-fortran-4.6.2/build
33+
cd netcdf/netcdf-fortran-4.6.2
34+
curl https://downloads.unidata.ucar.edu/netcdf-fortran/4.6.2/netcdf-fortran-4.6.2.zip -O -J
35+
unzip netcdf-fortran-4.6.2.zip
36+
# disable system hdf5 library check
37+
sed -i '485s/^/#/' netcdf-fortran-4.6.2/CMakeLists.txt
3238
3339
- name: Setup oneAPI
3440
uses: ./modflow6/.github/actions/setup-par-oneapi
@@ -41,6 +47,6 @@ runs:
4147
- name: Update path for NetCDF libs
4248
shell: bash
4349
run: |
44-
echo "$GITHUB_WORKSPACE/netcdf/netCDF4.9.2-NC4-64/bin" >> $GITHUB_PATH
45-
echo "$GITHUB_WORKSPACE/netcdf/netCDF4.9.2-NC4-64/lib" >> $GITHUB_PATH
46-
echo "$GITHUB_WORKSPACE/netcdf/netcdf-fortran-4.6.1/build/fortran" >> $GITHUB_PATH
50+
echo "$GITHUB_WORKSPACE/netcdf/netCDF4.9.3-NC4-64/bin" >> $GITHUB_PATH
51+
echo "$GITHUB_WORKSPACE/netcdf/netCDF4.9.3-NC4-64/lib" >> $GITHUB_PATH
52+
echo "$GITHUB_WORKSPACE/netcdf/netcdf-fortran-4.6.2/build/fortran" >> $GITHUB_PATH

.github/actions/test-extended-win/action.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,12 @@ runs:
2323
run: |
2424
unix2dos -n "%GITHUB_WORKSPACE%\modflow6\.github\common\test_modflow6_extended.bat" "%TEMP%\test_modflow6_extended.bat"
2525
26-
- name: Test programs (extended)
27-
if: github.ref_name != 'master'
28-
shell: cmd
29-
env:
30-
REPOS_PATH: ${{ github.workspace }}
31-
run: |
32-
"%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\test_modflow6_extended.bat"
33-
3426
- name: Test programs (extended)
3527
if: github.ref_name == 'master'
3628
shell: cmd
3729
env:
3830
REPOS_PATH: ${{ github.workspace }}
39-
MARKERS: not developmode
31+
MARKERS: ${{ env.MARKERS }}
32+
FILTERS: ${{ env.FILTERS }}
4033
run: |
4134
"%ONEAPI_ROOT%\setvars.bat" intel64 vs2022 && "%TEMP%\test_modflow6_extended.bat"

.github/actions/test-extended/action.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,28 @@ description: Build and test Extended MODFLOW 6
33
runs:
44
using: "composite"
55
steps:
6+
- name: Install netcdf
7+
if: runner.os == 'Linux'
8+
shell: bash
9+
run: |
10+
sudo apt-get update
11+
sudo apt-get install build-essential \
12+
libnetcdf-dev \
13+
libnetcdff-dev \
14+
netcdf-bin
15+
nc-config --all
16+
nf-config --all
17+
18+
- name: Install netcdf
19+
if: runner.os == 'macOS'
20+
shell: bash
21+
run: |
22+
brew install netcdf-fortran
23+
nc-config --all
24+
nf-config --all
25+
626
- name: Setup GNU Fortran
27+
if: runner.os != 'macOS'
728
uses: fortran-lang/setup-fortran@v1
829
with:
930
compiler: gcc
@@ -20,6 +41,7 @@ runs:
2041
shell: bash
2142
run: |
2243
echo "PKG_CONFIG_PATH=$GITHUB_WORKSPACE/petsc/arch-gcc-opt/lib/pkgconfig" >> $GITHUB_ENV
44+
echo "LD_LIBRARY_PATH=$GITHUB_WORKSPACE/petsc/arch-gcc-opt/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
2345
echo "$GITHUB_WORKSPACE/petsc/arch-gcc-opt/bin" >> $GITHUB_PATH
2446
2547
- name: Configure PETSc
@@ -30,26 +52,6 @@ runs:
3052
sudo ./configure PETSC_ARCH=arch-gcc-opt --download-fblaslapack --download-openmpi=$GITHUB_WORKSPACE/petsc/openmpi-5.0.2.tar.gz --with-debugging=0
3153
sudo make all
3254
33-
- name: Install netcdf
34-
if: runner.os == 'Linux'
35-
shell: bash
36-
run: |
37-
sudo apt-get update
38-
sudo apt-get install build-essential \
39-
libnetcdf-dev \
40-
libnetcdff-dev \
41-
netcdf-bin
42-
nc-config --all
43-
nf-config --all
44-
45-
- name: Install netcdf
46-
if: runner.os == 'macOS'
47-
shell: bash
48-
run: |
49-
brew install netcdf-fortran
50-
nc-config --all
51-
nf-config --all
52-
5355
- name: Build modflow6
5456
shell: bash
5557
working-directory: modflow6

.github/common/check_format.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424
]
2525

2626
# exclude these files from checks
27-
excludefiles = [PROJ_ROOT / "src" / "Idm" / "gwf-stoidm.f90"]
27+
excludefiles = [
28+
PROJ_ROOT / "src" / "Idm" / "gwf-csubidm.f90",
29+
PROJ_ROOT / "src" / "Idm" / "gwf-stoidm.f90",
30+
PROJ_ROOT / "src" / "Idm" / "gwf-vscidm.f90",
31+
]
2832

2933
# commands
3034
fprettify = "fprettify -c .fprettify.yaml"

.github/common/compile_netcdf.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
cd "%GITHUB_WORKSPACE%\netcdf\netcdf-fortran-4.6.1\build"
1+
cd "%GITHUB_WORKSPACE%\netcdf\netcdf-fortran-4.6.2\build"
22

33
:: build/install static libs
4-
cmake --fresh -G Ninja -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/ifort.exe" -DCMAKE_BUILD_TYPE=Release -DNETCDF_C_LIBRARY="%GITHUB_WORKSPACE%/netcdf/netCDF4.9.2-NC4-64/lib/netcdf.lib" -DNETCDF_C_INCLUDE_DIR="%GITHUB_WORKSPACE%/netcdf/netCDF4.9.2-NC4-64/include" -DBUILD_SHARED_LIBS=0 -DCMAKE_INSTALL_PREFIX="%GITHUB_WORKSPACE%/netcdf/netcdf-fortran-4.6.1/build" ../netcdf-fortran-4.6.1
4+
cmake --fresh -G Ninja -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/ifort.exe" -DCMAKE_BUILD_TYPE=Release -DNETCDF_C_LIBRARY="%GITHUB_WORKSPACE%/netcdf/netCDF4.9.3-NC4-64/lib/netcdf.lib" -DNETCDF_C_INCLUDE_DIR="%GITHUB_WORKSPACE%/netcdf/netCDF4.9.3-NC4-64/include" -DBUILD_SHARED_LIBS=0 -DCMAKE_INSTALL_PREFIX="%GITHUB_WORKSPACE%/netcdf/netcdf-fortran-4.6.2/build" ../netcdf-fortran-4.6.2
55
cmake --build .
66
cmake –-install .
77

88
:: build/install shared libs
9-
cmake --fresh -G Ninja -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/ifort.exe" -DCMAKE_BUILD_TYPE=Release -DNETCDF_C_LIBRARY="%GITHUB_WORKSPACE%/netcdf/netCDF4.9.2-NC4-64/lib/netcdf.lib" -DNETCDF_C_INCLUDE_DIR="%GITHUB_WORKSPACE%/netcdf/netCDF4.9.2-NC4-64/include" -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX="%GITHUB_WORKSPACE%/netcdf/netcdf-fortran-4.6.1/build" ../netcdf-fortran-4.6.1
9+
cmake --fresh -G Ninja -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/ifort.exe" -DCMAKE_BUILD_TYPE=Release -DNETCDF_C_LIBRARY="%GITHUB_WORKSPACE%/netcdf/netCDF4.9.3-NC4-64/lib/netcdf.lib" -DNETCDF_C_INCLUDE_DIR="%GITHUB_WORKSPACE%/netcdf/netCDF4.9.3-NC4-64/include" -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX="%GITHUB_WORKSPACE%/netcdf/netcdf-fortran-4.6.2/build" ../netcdf-fortran-4.6.2
1010
cmake --build .
1111
cmake –-install .
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cd "%GITHUB_WORKSPACE%\modflow6\autotest"
2-
pixi run autotest -m "%MARKERS%" --netcdf --parallel
2+
pixi run autotest -m "%MARKERS%" -k "%FILTERS%" --netcdf --parallel

0 commit comments

Comments
 (0)