Adios4dolfinx out of memory

Hi, I’m using adios4dolfinx to create checkpoints in FENICSX 0.11, and I regularly get “out of memory” errors when reading the checkpoint on meshes ranging from moderate to large. My checkpoints contain a 6-component CG1 function; I’m using meshes ranging from 3 million to 10 million points with many MPI processes on a cluster. I use the functions :
adios4dolfinx.write_function_on_input_mesh(checkpoint_path, Qh, mode=adios4dolfinx.adios2_helpers.adios2.Mode.Write)
and
adios4dolfinx.read_function(checkpoint_path, Qh), since I sometimes change the number of MPI processes.
Are there any settings or tips I can use to avoid running out of memory? For example, with a mesh of 3 million points, I get out-of-memory errors on 2 nodes (~700 GB total).

Thank you very much!

The first tip is to try io4dolfinx instead of adios4dolfinx. adios4dolfinx is essentially deprecated, superseded by io4dolfinx. It might not fix your memory error, but it’s more likely to work more reliably in general.