We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
test_assemble_domains
test_assemble_domains fails with segfault on 6 processes
mpirun -n 6 python3 -m pytest test_assemble_domains.py
No response
main branch
The text was updated successfully, but these errors were encountered:
Traceback is:
test_assemble_domains.py::test_assembly_dx_domains[meshtags-none] python3: /usr/local/dolfinx-real64/include/dolfinx/fem/DirichletBC.h:593: void dolfinx::fem::DirichletBC<T, U>::mark_dofs(std::span<signed char>) const [with T = double; U = double]: Assertion `_dofs0[i] < (std::int32_t)markers.size()' failed. Fatal Python error: Aborted
Sorry, something went wrong.
This makes sense, as the test uses:
bc = dirichletbc(Function(V), np.arange(30))
which I guess is out of range on 6 processes. How about using np.arange(V.dofmap.index_map.size_local // 2, dtype=np.int32)?
np.arange(V.dofmap.index_map.size_local // 2, dtype=np.int32)
Generalize bounds of bc for arbitrary partitioning. Resolves #3117
1ebd8ca
test_assembly_domains.py
Generalize bounds of bc for arbitrary partitioning in `test_assembly_…
f55ca1a
…domains.py` (#3118) * Generalize bounds of bc for arbitrary partitioning. Resolves #3117 * Ruff formatting
Successfully merging a pull request may close this issue.
Summarize the issue
test_assemble_domains
fails with segfault on 6 processesHow to reproduce the bug
mpirun -n 6 python3 -m pytest test_assemble_domains.py
Minimal Example (Python)
No response
Output (Python)
No response
Version
main branch
DOLFINx git commit
No response
Installation
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: