adaptive-cfd / WABBIT

Wavelet Adaptive Block-Based solver for Interactions with Turbulence
https://www.cfd.tu-berlin.de/
GNU General Public License v3.0
56 stars 27 forks source link

Use ABORT instead of STOP! #20

Closed Philipp137 closed 2 months ago

Philipp137 commented 6 years ago

ERROR Messaging in WABBIT

Please avoid using the stop command! Using stop instead of MPI_abortcan leave some processes on the computation nodes, without aborting them. If you see it in any of the modules replace it by one of the following routines (use module_globals):

call abort( <some ID>, <your error message>) call abort( <your error message>) call abort( <some ID>)

Example: call abort(10092018, "Error: this is my error message")

This routine is a wrapper for MPI_ABORT, which is awesome because your module does not need to know the MPI Communicator or any other extra variable needed for error messaging.

Arcadia197 commented 2 months ago

No stop routine left in code