Skip to content
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

[BUG]: Failure to write tensor valued function with non standard value shape to xdmf file #2843

Closed
atouminet opened this issue Oct 31, 2023 · 0 comments · Fixed by #2848
Closed
Labels
bug Something isn't working

Comments

@atouminet
Copy link
Contributor

atouminet commented Oct 31, 2023

How to reproduce the bug

This is a new bug I encountered while upgrading my codebase to the latest conda release (0.7.0).

Minimal Example (Python)

from mpi4py import MPI
import dolfinx.fem as fem, dolfinx.mesh, dolfinx.io

mesh = dolfinx.mesh.create_unit_square(MPI.COMM_SELF, 3, 3)
V = fem.functionspace(mesh, ("CG", 1, (4, 3)))
f = fem.Function(V)
with dolfinx.io.XDMFFile(mesh.comm, "/tmp/debug.xdmf", "w") as file:
    file.write_mesh(mesh)
    file.write_function(f)

Output (Python)

malloc(): invalid size (unsorted)

Version

main branch

DOLFINx git commit

2244eee852d6aa070a2bbbd76215ef78d84911e1

Installation

conda

Additional information

This is a regression from previous conda release (0.6.*)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant