illinois-ceesd / mirgecom

MIRGE-Com is the workhorse simulation application for the Center for Exascale-Enabled Scramjet Design at the University of Illinois.
Other
11 stars 19 forks source link

logging: save logpyle DB on SIGTERM #979

Closed matthiasdiener closed 10 months ago

matthiasdiener commented 10 months ago

Questions for the review:

majosm commented 10 months ago

Works ok on lassen?

matthiasdiener commented 10 months ago

Works ok on lassen?

Yes, after https://github.com/illinois-ceesd/logpyle/pull/151. A simple way to try it out:

$ python -m mpi4py examples/wave.py & sleep 10 ; kill %1  # or kill -INT %1

The resulting *.sqlite file(s) should contain data up to the point Python was terminated.