jorgensd / dolfinx-tutorial

A reimplementation of the Springer book: https://github.com/hplgit/fenics-tutorial/, covering new topics as well as transitioning from dolfin to dolfinx
https://jorgensd.github.io/dolfinx-tutorial/
112 stars 63 forks source link

Issue on page /chapter2/hyperelasticity.html #174

Closed AntonioBilotta-StructuralEngineer closed 9 months ago

AntonioBilotta-StructuralEngineer commented 9 months ago

At the first step, at line num_its, converged = solver.solve(u) I get the following message

2024-01-25 11:59:10.984 ( 0.966s) [main ] petsc.cpp:698 INFO| PETSc Krylov solver starting to solve system. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger [0]PETSC ERROR: or see https://petsc.org/release/faq/#valgrind and https://petsc.org/release/faq/ [0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run [0]PETSC ERROR: to get more information on the crash. [0]PETSC ERROR: Run with -malloc_debug to check if memory corruption is causing the crash. Abort(59) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0

jorgensd commented 9 months ago

Please add some more context. How did you install dolfinx? What version are you running?

AntonioBilotta-StructuralEngineer commented 9 months ago

Hi, thank you for answering. I installed dolfinx using conda

fenics-basix 0.7.0 py312ha2fc93b_1 conda-forge fenics-basix-pybind11-abi 0.4.16 h60f76af_1 conda-forge fenics-dolfinx 0.7.2 py312hae130cc_103 conda-forge fenics-ffcx 0.7.0 pyh4af843d_0 conda-forge fenics-libbasix 0.7.0 h8074f5a_1 conda-forge fenics-libdolfinx 0.7.2 h9158aaa_103 conda-forge fenics-ufcx 0.7.0 h4af843d_0 conda-forge fenics-ufl 2023.2.0 pyhd8ed1ab_0 conda-forge mpi 1.0 mpich conda-forge mpi4py 3.1.5 py312h9f63fdf_0 conda-forge mpich 4.1.2 hd33e60e_101 conda-forge petsc 3.20.3 real_h80cde9a_100 conda-forge petsc4py 3.20.3 real_he2a4a3c_100 conda-forge

AntonioBilotta-StructuralEngineer commented 9 months ago

Updating to DOLFINx 0.7.3 the problem was solved