From 0e532816130ea07c096e9f7e30ff969011c6e832 Mon Sep 17 00:00:00 2001 From: Torben Schiz Date: Wed, 22 May 2024 15:45:46 +0200 Subject: [PATCH 1/2] Add documentation for handling of crashing micro simulations --- docs/running.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/running.md b/docs/running.md index 4b5f0c8b..98589906 100644 --- a/docs/running.md +++ b/docs/running.md @@ -16,3 +16,7 @@ The Micro Manager can also be run in parallel ```bash mpiexec -n micro-manager-precice micro-manager-config.json ``` + +## Handling Micro Simulation Crashes + +In case of a micro simulation crash, the occurrence of an error with specific macro location of the crash and the error message itself are logged in the Micro Manager log-file. To continue a complete simulation run after a crash, results of the crashed micro simulation are interpolated using [Inverse Distance Weighting](https://en.wikipedia.org/wiki/Inverse_distance_weighting). If more than 20% of global micro simulations crash or if locally no neighbors are available for interpolation, the simulation run is terminated. From f2cde01b0e96b71e1d3ce1fe7acfc34471722abf Mon Sep 17 00:00:00 2001 From: Ishaan Desai Date: Wed, 22 May 2024 17:25:39 +0200 Subject: [PATCH 2/2] Rewording --- docs/running.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/running.md b/docs/running.md index 98589906..39665bed 100644 --- a/docs/running.md +++ b/docs/running.md @@ -17,6 +17,6 @@ The Micro Manager can also be run in parallel mpiexec -n micro-manager-precice micro-manager-config.json ``` -## Handling Micro Simulation Crashes +## What Happens When a Micro Simulation Crashes? -In case of a micro simulation crash, the occurrence of an error with specific macro location of the crash and the error message itself are logged in the Micro Manager log-file. To continue a complete simulation run after a crash, results of the crashed micro simulation are interpolated using [Inverse Distance Weighting](https://en.wikipedia.org/wiki/Inverse_distance_weighting). If more than 20% of global micro simulations crash or if locally no neighbors are available for interpolation, the simulation run is terminated. +If a micro simulation crashes, the Micro Manager attempts to continue running. The error message from the micro simulation, along with the macro location are logged in the Micro Manager log file. The Micro Manager continues the simulation run even if a micro simulation crashes. Results of the crashed micro simulation are generated by interpolating results of a certain number of similar running simulations. The [inverse distance weighed](https://en.wikipedia.org/wiki/Inverse_distance_weighting) method is used. If more than 20% of global micro simulations crash or if locally no neighbors are available for interpolation, the Micro Manager terminates.