Hello,
I have been recently trying to use the adios4dolfinx
library for checkpointing with FEniCSx.
To test the checkpointing functionality, I have done a completely fresh install of FEniCSx
, PyVista
and adios4dolfinx@v0.1.0
both on a MacOS laptop and on a Linux computer. On the MacOS laptop everything works flawless. However, on the Linux machine I have not been able to save any checkpoint since the function write_function
of adios4dolfinx@v0.1.0
keeps throwing me the following segmentation error:
[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.
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 59.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
I have also tried with different adios2
engines and adios4dolfinx
versions but I continue getting the same error. Conversely, the function write_mesh
of adios4dolfinx
works perfectly on the Linux machine. Any idea of what may be causing this behavior of write_function
?
Thank you,
Daniel