Skip to content

Commit 4d6873c

Browse files
committed
misc: Drop petscsection branch from dockerfile
1 parent a1b1bcb commit 4d6873c

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/docker-petsc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
push:
88
branches:
99
- petsc
10-
# will be dropped after merge into petsc branch
11-
- petscsection
1210

1311
jobs:
1412
build-and-push:

tests/test_petsc.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,10 +1479,6 @@ class TestMPI:
14791479
def test_laplacian_1d(self, nx, unorm, mode):
14801480
"""
14811481
"""
1482-
# configuration['compiler'] = 'custom'
1483-
# os.environ['CC'] = 'mpicc'
1484-
# PetscInitialize()
1485-
14861482
class SubSide(SubDomain):
14871483
def __init__(self, side='left', grid=None):
14881484
self.side = side
@@ -2204,11 +2200,7 @@ def test_get_ksp_type(self):
22042200
@skipif('petsc')
22052201
def test_get_ksp_type_large_grid(self):
22062202
"""
2207-
Test for a dangling-pointer segfault when reading KSPGetType
2208-
after op.apply(). KSPType is ``const char*`` into KSP-owned memory;
2209-
after SNESDestroy that pointer is invalid. The crash only appeared
2210-
reliably on large grids (n=257) because the freed KSP memory must be
2211-
reclaimed by the heap before Python reads the profiler struct.
2203+
Test for no segfault when reading KSPGetType after op.apply().
22122204
"""
22132205
get_info = ['kspgettype']
22142206
grid = Grid(shape=(257, 257), dtype=np.float64)

0 commit comments

Comments
 (0)