Skip to content

Commit 3e09395

Browse files
committed
get examples running (but failing) in ci
1 parent df7d31c commit 3e09395

21 files changed

+619
-194
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
build/
22
docs/examples/*.ipynb
3+
docs/examples/twri/*
34
venv/
45
.DS_Store
56
.ruff_cache

docs/examples/advanced_packages.py

Whitespace-only changes.

docs/examples/quickstart/mfsim.lst

Lines changed: 45 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
MODFLOW 6
22
U.S. GEOLOGICAL SURVEY MODULAR HYDROLOGIC MODEL
3-
VERSION 6.6.1 02/10/2025
3+
VERSION 6.7.0.dev3 (preliminary) 10/16/2025
4+
***DEVELOP MODE***
45

5-
MODFLOW 6 compiled Feb 14 2025 13:38:43 with Intel(R) Fortran Intel(R) 64
6+
MODFLOW 6 compiled Oct 16 2025 14:05:53 with Intel(R) Fortran Intel(R) 64
67
Compiler Classic for applications running on Intel(R) 64, Version 2021.7.0
78
Build 20220726_000000
89

9-
This software has been approved for release by the U.S. Geological
10-
Survey (USGS). Although the software has been subjected to rigorous
11-
review, the USGS reserves the right to update the software as needed
12-
pursuant to further analysis and review. No warranty, expressed or
13-
implied, is made by the USGS or the U.S. Government as to the
14-
functionality of the software and related material nor shall the
15-
fact of release constitute any such warranty. Furthermore, the
16-
software is released on condition that neither the USGS nor the U.S.
17-
Government shall be held liable for any damages resulting from its
18-
authorized or unauthorized use. Also refer to the USGS Water
19-
Resources Software User Rights Notice for complete use, copyright,
20-
and distribution information.
10+
This software is preliminary or provisional and is subject to
11+
revision. It is being provided to meet the need for timely best
12+
science. The software has not received final approval by the U.S.
13+
Geological Survey (USGS). No warranty, expressed or implied, is made
14+
by the USGS or the U.S. Government as to the functionality of the
15+
software and related material nor shall the fact of release
16+
constitute any such warranty. The software is provided on the
17+
condition that neither the USGS nor the U.S. Government shall be held
18+
liable for any damages resulting from the authorized or unauthorized
19+
use of the software.
2120

2221

2322
As a work of the United States Government, this USGS product is
@@ -52,12 +51,15 @@ The following BSD-3 License libraries are used in this USGS product:
5251
All rights reserved.
5352
(https://github.com/jacobwilliams/daglib)
5453

55-
MODFLOW 6 compiler options: -Imac/obj_mf6 -O2 -no-heap-arrays -fpe0
56-
-traceback -Qdiag-disable:7416 -Qdiag-disable:7025 -Qdiag-disable:5268 -fpp
57-
-module mac/mod_mf6/ -c -o mac/obj_mf6/compilerversion.o
54+
MODFLOW 6 compiler options: -Isrc/libmf6_external.a.p -Isrc/libmf6core.a.p
55+
-Isrc -I../src -warn general -warn truncated_source -stand=f18 -O2 -fpe0
56+
-no-heap-arrays -traceback -diag-disable:7416 -diag-disable:7025
57+
-diag-disable:5268 -module src/libmf6core.a.p
58+
-gen-dep=src/libmf6core.a.p/Utilities_compilerversion.F90.o
59+
-gen-depformat=make -o src/libmf6core.a.p/Utilities_compilerversion.F90.o -c
5860

5961
System command used to initiate simulation:
60-
/Users/wbonelli/dev/flopy/.venv/bin/mf6
62+
mf6
6163

6264
MODFLOW was compiled using uniform precision.
6365

@@ -88,42 +90,36 @@ Logical Variables
8890
FORMAT:FORMATTED ACCESS:SEQUENTIAL
8991
ACTION:READ
9092

91-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
9293

93-
OPENED mymodel.tdis
94+
OPENED quickstart.tdis
9495
FILE TYPE:TDIS6 UNIT 1002 STATUS:OLD
9596
FORMAT:FORMATTED ACCESS:SEQUENTIAL
9697
ACTION:READ
9798

98-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
9999

100100
OPENED mymodel.nam
101101
FILE TYPE:GWF6 UNIT 1003 STATUS:OLD
102102
FORMAT:FORMATTED ACCESS:SEQUENTIAL
103103
ACTION:READ
104104

105-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
106105

107106
OPENED mymodel.dis
108107
FILE TYPE:DIS6 UNIT 1004 STATUS:OLD
109108
FORMAT:FORMATTED ACCESS:SEQUENTIAL
110109
ACTION:READ
111110

112-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
113111

114112
OPENED mymodel.npf
115113
FILE TYPE:NPF6 UNIT 1005 STATUS:OLD
116114
FORMAT:FORMATTED ACCESS:SEQUENTIAL
117115
ACTION:READ
118116

119-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
120117

121118
OPENED mymodel.ic
122119
FILE TYPE:IC6 UNIT 1006 STATUS:OLD
123120
FORMAT:FORMATTED ACCESS:SEQUENTIAL
124121
ACTION:READ
125122

126-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
127123

128124
OPENED mymodel.oc
129125
FILE TYPE:OC6 UNIT 1007 STATUS:OLD
@@ -132,11 +128,10 @@ Logical Variables
132128

133129

134130
OPENED mymodel.chd
135-
FILE TYPE:CHD6 UNIT 1008 STATUS:OLD
131+
FILE TYPE:CHD6 UNIT 1009 STATUS:OLD
136132
FORMAT:FORMATTED ACCESS:SEQUENTIAL
137133
ACTION:READ
138134

139-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
140135

141136
READING SIMULATION OPTIONS
142137
MAXIMUM NUMBER OF ERRORS THAT WILL BE STORED IS 1000
@@ -148,6 +143,7 @@ Logical Variables
148143
VERSION 1 : 11/13/2014 - INPUT READ FROM MEMPATH: __INPUT__/SIM/TDIS
149144
PROCESSING TDIS OPTIONS
150145
SIMULATION TIME UNIT IS UNDEFINED
146+
SIMULATION STARTING DATE AND TIME IS 1970-01-01T00:00:00
151147
END OF TDIS OPTIONS
152148
PROCESSING TDIS DIMENSIONS
153149
1 STRESS PERIOD(S) IN SIMULATION
@@ -172,8 +168,8 @@ Logical Variables
172168

173169
Creating solution: SLN_1
174170

175-
OPENED mymodel.ims
176-
FILE TYPE:IMS UNIT 1010 STATUS:OLD
171+
OPENED solution.ims
172+
FILE TYPE:IMS UNIT 1011 STATUS:OLD
177173
FORMAT:FORMATTED ACCESS:SEQUENTIAL
178174
ACTION:READ
179175

@@ -182,13 +178,20 @@ Logical Variables
182178
PROCESSING MODEL CONNECTIONS
183179

184180
IMS -- ITERATIVE MODEL SOLUTION PACKAGE, VERSION 6, 4/28/2017
185-
INPUT READ FROM UNIT 1010
186-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
181+
INPUT READ FROM UNIT 1011
187182

188183
PROCESSING IMS OPTIONS
184+
SIMPLE OPTION:
185+
DEFAULT SOLVER INPUT VALUES FOR FAST SOLUTIONS
189186
END OF IMS OPTIONS
187+
188+
PROCESSING IMS NONLINEAR
189+
END OF IMS NONLINEAR DATA
190190
***UNDER-RELAXATION WILL NOT BE USED***
191191

192+
193+
PROCESSING LINEAR DATA
194+
END OF LINEAR DATA
192195
***IMS LINEAR SOLVER WILL BE USED***
193196

194197
IMSLINEAR -- UNSTRUCTURED LINEAR SOLUTION PACKAGE, VERSION 8, 04/28/2017
@@ -227,22 +230,29 @@ PROCESSING MODEL CONNECTIONS
227230
MULTIPLIER FOR DELT = 1.000
228231
INITIAL TIME STEP SIZE = 1.000000
229232

233+
234+
Solution SLN_1 summary
235+
----------------------------------------------------------------------
236+
Total formulate time: .3899999999999737E-04 seconds
237+
Total solution time: .4830000000000043E-03 seconds
238+
239+
230240
MEMORY MANAGER TOTAL STORAGE BY DATA TYPE, IN KILOBYTES
231241
-------------------------------
232242
ALLOCATED
233243
DATA TYPE MEMORY
234244
-------------------------------
235-
Character 6.8550000
245+
Character 7.1550000
236246
Logical 4.80000000E-02
237247
Integer 18.988000
238248
Real 43.160000
239249
-------------------------------
240-
Total 69.051000
250+
Total 69.351000
241251
Virtual 0.0000000
242252
-------------------------------
243253

244254

245255

246-
Run end date and time (yyyy/mm/dd hh:mm:ss): 2025/04/04 9:50:03
247-
Elapsed run time: 0.057 Seconds
256+
Run end date and time (yyyy/mm/dd hh:mm:ss): 2025/11/06 20:09:14
257+
Elapsed run time: 0.032 Seconds
248258
Normal termination of simulation.

docs/examples/quickstart/mfsim.nam

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
2-
BEGIN options
3-
END options
1+
BEGIN TIMING
2+
TDIS6 quickstart.tdis tdis
3+
END TIMING
44

5-
BEGIN timing
6-
TDIS6 mymodel.tdis
7-
END timing
5+
BEGIN MODELS
6+
GWF6 mymodel.nam mymodel
7+
END MODELS
88

9-
BEGIN models
10-
gwf6 mymodel.nam mymodel
11-
END models
9+
BEGIN EXCHANGES
1210

13-
BEGIN exchanges
14-
END exchanges
11+
END EXCHANGES
1512

16-
BEGIN solutiongroup 1
17-
ims6 mymodel.ims mymodel
18-
END solutiongroup 1
13+
BEGIN SOLUTIONGROUP 1
14+
ims6 solution.ims mymodel
15+
END SOLUTIONGROUP 1
1916

-7.91 KB
Binary file not shown.
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
2-
BEGIN options
3-
END options
1+
BEGIN OPTIONS
2+
END OPTIONS
43

5-
BEGIN dimensions
6-
MAXBOUND 2
7-
END dimensions
4+
BEGIN DIMENSIONS
5+
MAXBOUND 2
6+
END DIMENSIONS
87

9-
BEGIN period 1
10-
1 1 1 1.00000000E+00
11-
1 10 10 0.00000000E+00
12-
END period 1
8+
BEGIN PERIOD 1
9+
1 1 1 1.0
10+
1 10 10 0.0
11+
END PERIOD 1
1312

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
2-
BEGIN options
3-
END options
1+
BEGIN OPTIONS
2+
END OPTIONS
43

5-
BEGIN dimensions
6-
NLAY 1
7-
NROW 10
8-
NCOL 10
9-
END dimensions
4+
BEGIN DIMENSIONS
5+
NLAY 1
6+
NCOL 10
7+
NROW 10
8+
END DIMENSIONS
109

11-
BEGIN griddata
12-
delr
13-
CONSTANT 1.00000000
14-
delc
15-
CONSTANT 1.00000000
16-
top
17-
CONSTANT 1.00000000
18-
botm
19-
CONSTANT 0.00000000
20-
END griddata
10+
BEGIN GRIDDATA
11+
DELR
12+
CONSTANT 1.00000000
13+
14+
DELC
15+
CONSTANT 1.00000000
16+
17+
TOP
18+
CONSTANT 1.00000000
19+
20+
BOTM
21+
CONSTANT 0.00000000
22+
23+
END GRIDDATA
2124

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# File generated by Flopy version 3.10.0.dev2 on 04/04/2025 at 09:49:59.
2-
BEGIN options
3-
END options
1+
BEGIN OPTIONS
2+
END OPTIONS
43

5-
BEGIN griddata
6-
strt
7-
CONSTANT 1.00000000
8-
END griddata
4+
BEGIN GRIDDATA
5+
STRT
6+
CONSTANT 1.00000000
7+
8+
END GRIDDATA
99

0 commit comments

Comments
 (0)