-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(par_nur_has_converged): set mpi_world using get_mpi_world() #1304
fix(par_nur_has_converged): set mpi_world using get_mpi_world() #1304
Conversation
jdhughes-usgs
commented
Jul 19, 2023
- add test of ex-gwf-bump with and without being split into two models with the flopy model splitter
- add parallel test of of ex-gwf-bump for one and two processors
* add test of ex-gwf-bump with and without being split into two models with the flopy model splitter * add parallel test of of ex-gwf-bump for one and two processors
* add test of ex-gwf-bump with and without being split into two models with the flopy model splitter * add parallel test of of ex-gwf-bump for one and two processors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
hclose = 1e-8 | ||
hclose_outer = hclose * 10. | ||
rclose = 1e-3 | ||
botm = np.loadtxt(pl.Path("data/ex-gwf-bump/bottom.txt")).reshape(shape3d) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may be fine, but I think we have a project_root_path
approach for accessing data paths. This is from the prudic example:
import os
import sys
import flopy
import numpy as np
import pytest
from conftest import project_root_path
from framework import TestFramework
from simulation import TestSimulation
ex = ["prudic2004t2"]
data_path = project_root_path / "autotest" / "data"
model_path = data_path / "prudic2004test2"
fname = str(model_path / "lakibd.dat")
lakibd = np.loadtxt(fname, dtype=int)
chd_spd = [[0, i, 0, H1] for i in range(nrow)] | ||
chd_spd += [[0, i, ncol - 1, H2] for i in range(nrow)] | ||
base_heads = flopy.utils.HeadFile( | ||
pl.Path("data/ex-gwf-bump/results.hds.cmp") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same project_root_path
issue here
* add test of ex-gwf-bump with and without being split into two models with the flopy model splitter * add parallel test of of ex-gwf-bump for one and two processors