dev:error_handling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:error_handling [2015/10/23 14:24] – oschuett | dev:error_handling [2015/12/14 10:37] – 31.52.176.83 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Error Handling ====== | ====== Error Handling ====== | ||
- | In CP2K there exist three convenient macros for error handling. They are defined in [[src> | + | In CP2K there exist three convenient macros for error handling. They are defined in [[src> |
<code Fortran> | <code Fortran> | ||
| | ||
Line 10: | Line 10: | ||
For longer messages one can use these two routines: | For longer messages one can use these two routines: | ||
<code Fortran> | <code Fortran> | ||
- | CALL cp_warn(__LOCATION__," | + | CALL cp_warn(__LOCATION__," |
- | "which can span multiple lines and contains "\\& | + | "which can span multiple lines and contains "//& |
"some valuable advice for the user." | "some valuable advice for the user." | ||
- | CALL cp_abort(__LOCATION__," | + | CALL cp_abort(__LOCATION__," |
" | " | ||
</ | </ |
dev/error_handling.txt · Last modified: 2022/08/16 16:02 by oschuett