DO NOT SQUASH Add PyOP2 to Firedrake repository #6556
7958 tests run, 7112 passed, 771 skipped, 75 failed.
Annotations
Check failure on line 3 in tests/firedrake/supermesh/test_assemble_mixed_mass_matrix.py
github-actions / Firedrake real
test_assemble_mixed_mass_matrix.tests.firedrake.supermesh.test_assemble_mixed_mass_matrix
collection failure
Raw output
ImportError while importing test module '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_assemble_mixed_mass_matrix.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/firedrake/supermesh/test_assemble_mixed_mass_matrix.py:3: in <module>
from firedrake.supermeshing import *
firedrake/supermeshing.py:5: in <module>
from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Check failure on line 3 in tests/firedrake/supermesh/test_galerkin_projection.py
github-actions / Firedrake real
test_galerkin_projection.tests.firedrake.supermesh.test_galerkin_projection
collection failure
Raw output
ImportError while importing test module '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_galerkin_projection.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/firedrake/supermesh/test_galerkin_projection.py:3: in <module>
from firedrake.supermeshing import *
firedrake/supermeshing.py:5: in <module>
from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Check failure on line 2 in tests/firedrake/supermesh/test_intersection_finder_nested.py
github-actions / Firedrake real
test_intersection_finder_nested.tests.firedrake.supermesh.test_intersection_finder_nested
collection failure
Raw output
ImportError while importing test module '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_intersection_finder_nested.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/firedrake/supermesh/test_intersection_finder_nested.py:2: in <module>
from firedrake.supermeshing import *
firedrake/supermeshing.py:5: in <module>
from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[CG1-CG1]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('CG', 1), fine = ('CG', 1)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[CG1-CG2]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('CG', 1), fine = ('CG', 2)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[CG1-DG1]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('CG', 1), fine = ('DG', 1)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[CG2-CG2]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('CG', 2), fine = ('CG', 2)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[DG0-CG1]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('DG', 0), fine = ('CG', 1)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[DG0-CG2]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('DG', 0), fine = ('CG', 2)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[DG0-DG0]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('DG', 0), fine = ('DG', 0)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[DG0-DG1]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('DG', 0), fine = ('DG', 1)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[DG1-CG1]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('DG', 1), fine = ('CG', 1)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[DG1-CG2]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('DG', 1), fine = ('CG', 2)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 63 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project[DG1-DG1]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
hierarchy = <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>
coarse = ('DG', 1), fine = ('DG', 1)
def test_project(hierarchy, coarse, fine):
cmesh, fmesh = hierarchy
Vc = FunctionSpace(cmesh, *coarse)
Vf = FunctionSpace(fmesh, *fine)
c = Function(Vc)
c.interpolate(SpatialCoordinate(cmesh)**2)
expect = assemble(c*dx)
> actual = project(c, Vf)
tests/firedrake/supermesh/test_nonnested_project.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 1 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project_parallel[CG1-CG1]
subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_nonnested_project.py::test_project_parallel[CG1-CG1]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_nonnested_project.py::test_project_parallel[CG1-CG1]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'coarse': ('CG', 1), 'fine': ('CG', 1), 'hierarchy': <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>}
def parallel_callback(*args, **kwargs):
> subprocess.run(cmd, check=True)
../firedrake_venv/src/pytest-mpi/pytest_mpi.py:233:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
or pass capture_output=True to capture both.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_nonnested_project.py::test_project_parallel[CG1-CG1]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_nonnested_project.py::test_project_parallel[CG1-CG1]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
/usr/lib/python3.12/subprocess.py:571: CalledProcessError
Check failure on line 1 in tests/firedrake/supermesh/test_nonnested_project.py
github-actions / Firedrake real
test_nonnested_project.test_project_parallel[CG1-CG2]
subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_nonnested_project.py::test_project_parallel[CG1-CG2]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_nonnested_project.py::test_project_parallel[CG1-CG2]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
Raw output
args = ()
kwargs = {'coarse': ('CG', 1), 'fine': ('CG', 2), 'hierarchy': <firedrake.mg.mesh.HierarchyBase object at 0x7fc7cac888f0>}
def parallel_callback(*args, **kwargs):
> subprocess.run(cmd, check=True)
../firedrake_venv/src/pytest-mpi/pytest_mpi.py:233:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
input = None, capture_output = False, timeout = None, check = True
popenargs = (['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', ...],)
kwargs = {}
process = <Popen: returncode: 1 args: ['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHI...>
stdout = None, stderr = None, retcode = 1
def run(*popenargs,
input=None, capture_output=False, timeout=None, check=False, **kwargs):
"""Run command with arguments and return a CompletedProcess instance.
The returned instance will have attributes args, returncode, stdout and
stderr. By default, stdout and stderr are not captured, and those attributes
will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them,
or pass capture_output=True to capture both.
If check is True and the exit code was non-zero, it raises a
CalledProcessError. The CalledProcessError object will have the return code
in the returncode attribute, and output & stderr attributes if those streams
were captured.
If timeout is given, and the process takes too long, a TimeoutExpired
exception will be raised.
There is an optional argument "input", allowing you to
pass bytes or a string to the subprocess's stdin. If you use this argument
you may not also use the Popen constructor's "stdin" argument, as
it will be used internally.
By default, all communication is in bytes, and therefore any "input" should
be bytes, and the stdout and stderr will be bytes. If in text mode, any
"input" should be a string, and stdout and stderr will be strings decoded
according to locale encoding, or by "encoding" if set. Text mode is
triggered by setting any of text, encoding, errors or universal_newlines.
The other arguments are the same as for the Popen constructor.
"""
if input is not None:
if kwargs.get('stdin') is not None:
raise ValueError('stdin and input arguments may not both be used.')
kwargs['stdin'] = PIPE
if capture_output:
if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None:
raise ValueError('stdout and stderr arguments may not be used '
'with capture_output.')
kwargs['stdout'] = PIPE
kwargs['stderr'] = PIPE
with Popen(*popenargs, **kwargs) as process:
try:
stdout, stderr = process.communicate(input, timeout=timeout)
except TimeoutExpired as exc:
process.kill()
if _mswindows:
# Windows accumulates the output in a single blocking
# read() call run on child threads, with the timeout
# being done in a join() on those threads. communicate()
# _after_ kill() is required to collect that and add it
# to the exception.
exc.stdout, exc.stderr = process.communicate()
else:
# POSIX _communicate already populated the output so
# far into the TimeoutExpired exception.
process.wait()
raise
except: # Including KeyboardInterrupt, communicate handled that.
process.kill()
# We don't call process.wait() as .__exit__ does that for us.
raise
retcode = process.poll()
if check and retcode:
> raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
E subprocess.CalledProcessError: Command '['mpiexec', '-n', '1', '-genv', '_PYTEST_MPI_CHILD_PROCESS', '1', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_nonnested_project.py::test_project_parallel[CG1-CG2]', ':', '-n', '2', '/__w/firedrake/firedrake_venv/bin/python', '-m', 'pytest', '--runxfail', '-s', '-q', '/__w/firedrake/firedrake/tests/firedrake/supermesh/test_nonnested_project.py::test_project_parallel[CG1-CG2]', '--tb=no', '--no-summary', '--no-header', '--disable-warnings', '--show-capture=no']' returned non-zero exit status 1.
/usr/lib/python3.12/subprocess.py:571: CalledProcessError
Check failure on line 585 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_self_supermesh_project
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_self_supermesh_project():
source, target_space = supermesh_setup()
control = Control(source)
target = Function(target_space)
> target.project(source)
tests/firedrake/regression/test_adjoint_operators.py:585:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/function.py:39: in wrapper
block = SupermeshProjectBlock(b, self.function_space(), self, bcs, ad_block_tag=ad_block_tag)
firedrake/adjoint_utils/blocks/solving.py:847: in __init__
import firedrake.supermeshing as supermesh
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 607 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_supermesh_project_function
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_supermesh_project_function():
source, target_space = supermesh_setup()
control = Control(source)
target = Function(target_space)
> project(source, target)
tests/firedrake/regression/test_adjoint_operators.py:607:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:29: in wrapper
block = SupermeshProjectBlock(args[0], V, output, bcs, ad_block_tag=ad_block_tag, **sb_kwargs)
firedrake/adjoint_utils/blocks/solving.py:847: in __init__
import firedrake.supermeshing as supermesh
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 628 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_supermesh_project_to_function_space
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_supermesh_project_to_function_space():
source, target_space = supermesh_setup()
control = Control(source)
> target = project(source, target_space)
tests/firedrake/regression/test_adjoint_operators.py:628:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 650 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_supermesh_project_gradient[True]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
vector = True
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_supermesh_project_gradient(vector):
source, target_space = supermesh_setup()
source_space = source.function_space()
control = Control(source)
> target = project(source, target_space)
tests/firedrake/regression/test_adjoint_operators.py:650:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 650 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_supermesh_project_gradient[False]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
vector = False
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_supermesh_project_gradient(vector):
source, target_space = supermesh_setup()
source_space = source.function_space()
control = Control(source)
> target = project(source, target_space)
tests/firedrake/regression/test_adjoint_operators.py:650:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 665 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_supermesh_project_tlm[True]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
vector = True
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_supermesh_project_tlm(vector):
source, target_space = supermesh_setup()
control = Control(source)
> target = project(source, target_space)
tests/firedrake/regression/test_adjoint_operators.py:665:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 665 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_supermesh_project_tlm[False]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
vector = False
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_supermesh_project_tlm(vector):
source, target_space = supermesh_setup()
control = Control(source)
> target = project(source, target_space)
tests/firedrake/regression/test_adjoint_operators.py:665:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 685 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_supermesh_project_hessian[True]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
vector = True
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_supermesh_project_hessian(vector):
source, target_space = supermesh_setup()
control = Control(source)
> target = project(source, target_space)
tests/firedrake/regression/test_adjoint_operators.py:685:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError
Check failure on line 685 in tests/firedrake/regression/test_adjoint_operators.py
github-actions / Firedrake real
test_adjoint_operators.test_supermesh_project_hessian[False]
ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Raw output
vector = False
@pytest.mark.skipcomplex # Taping for complex-valued 0-forms not yet done
def test_supermesh_project_hessian(vector):
source, target_space = supermesh_setup()
control = Control(source)
> target = project(source, target_space)
tests/firedrake/regression/test_adjoint_operators.py:685:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
petsc4py/PETSc/Log.pyx:188: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
petsc4py/PETSc/Log.pyx:189: in petsc4py.PETSc.Log.EventDecorator.decorator.wrapped_func
???
firedrake/adjoint_utils/projection.py:34: in wrapper
output = project(*args, **kwargs)
firedrake/projection.py:113: in project
).project()
firedrake/projection.py:223: in project
self.apply_massinv(self.target, self.rhs)
firedrake/projection.py:286: in rhs
self.mixed_mass.mult(u, v)
/usr/lib/python3.12/functools.py:995: in __get__
val = self.func(instance)
firedrake/projection.py:279: in mixed_mass
from firedrake.supermeshing import assemble_mixed_mass_matrix
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
# Code for projections and other fun stuff involving supermeshes.
import firedrake
import ctypes
import sys
> from firedrake.cython.supermeshimpl import assemble_mixed_mass_matrix as ammm, intersection_finder
E ImportError: supermesh.cpython-312-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
firedrake/supermeshing.py:5: ImportError