| | 1 | = PDAF_abort = |
| | 2 | |
| | 3 | This page documents the routine `PDAF_abort` of PDAF, which was introduced with PDAF V3.1. |
| | 4 | |
| | 5 | This routine can be used to exit the assimilation program in case of an error. Since PDAF uses MPI parallelization one cannot use 'exit' to stop all processes of the program. `PDAF_abort` performs the correct exiting of the program. |
| | 6 | |
| | 7 | The interface is the following: |
| | 8 | {{{ |
| | 9 | SUBROUTINE PDAF_abort(error) |
| | 10 | |
| | 11 | INTEGER, INTENT(in) :: error ! Error value |
| | 12 | }}} |
| | 13 | |
| | 14 | Note: |
| | 15 | * The error value can be freely chosen. It is the value with which the program exits. |