135. ERROR STOP vs. STOP.#
topic: Basics
Note
This tip is a draft1.
Fortran 2008 introduced the ERROR STOP statement, which can be used in PURE procedures, unlike STOP. Error stop or stop can be followed by an integer or string that is printed. Error stop on one coarray image will terminate the entire program.
Fortran 2008 introduced the ERROR STOP statement, which can be used in PURE procedures,
— FortranTip (@fortrantip) February 25, 2022
unlike STOP. Error stop or stop can be followed by an integer or string that is printed. Error stop on one coarray image will terminate the entire program.pic.twitter.com/M1lajeSZvp
- 1
From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.