Dear Lawrence,
When I run the attached file TOC2.py on a remote machine with a firedrake version updated from one week ago, I get the error that I sent to you in my previous email. When I run it on my laptop with an old version of Firedrake, it runs for a while and then stops with the error:
...
230
231
232
[math-mc1096:02125] mca_sharedfp_sm_file_open: Error, unable to open file for mmap: /tmp/OMPIO_h_232.h5_-43450367_.sm
Exception petsc4py.PETSc.Error: 76 in 'petsc4py.PETSc.Object.__dealloc__' ignored
Traceback (most recent call last):
File "TOC2.py", line 84, in <module>
dumb_file_medium = DumbCheckpoint(save_path+"medium/h_"+str(i_dt), mode=FILE_READ)
File "/Users/mmfg/firedrake/src/firedrake/firedrake/checkpointing.py", line 65, in __init__
self.new_file()
File "/Users/mmfg/firedrake/src/firedrake/firedrake/checkpointing.py", line 144, in new_file
comm=self.comm)
File "PETSc/Viewer.pyx", line 365, in petsc4py.PETSc.ViewerHDF5.create (src/petsc4py.PETSc.c:76259)
petsc4py.PETSc.Error: error code 76
[0] PetscObjectDestroy() line 69 in /private/var/folders/7h/wbj8xp7n3g5cfbr32ctcmwzcy3jf53/T/pip-yGXqPh-build/src/sys/objects/destroy.c
[0] PetscViewerDestroy() line 100 in /private/var/folders/7h/wbj8xp7n3g5cfbr32ctcmwzcy3jf53/T/pip-yGXqPh-build/src/sys/classes/viewer/interface/view.c
[0] PetscViewerDestroy_HDF5() line 49 in /private/var/folders/7h/wbj8xp7n3g5cfbr32ctcmwzcy3jf53/T/pip-yGXqPh-build/src/sys/classes/viewer/impls/hdf5/hdf5v.c
[0] PetscViewerFileClose_HDF5() line 39 in /private/var/folders/7h/wbj8xp7n3g5cfbr32ctcmwzcy3jf53/T/pip-yGXqPh-build/src/sys/classes/viewer/impls/hdf5/hdf5v.c
[0] Error in external library
[0] Error in HDF5 call H5Fclose() Status -1