User Tools

Site Tools


dev:error_handling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dev:error_handling [2015/12/14 10:37]
31.52.176.83
dev:error_handling [2018/10/08 19:59] (current)
oschuett
Line 1: Line 1:
 ====== Error Handling ====== ====== Error Handling ======
  
-In CP2K there exist three convenient macros for error handling. They are defined in [[src>cp2k/src/​base/​base_uses.f90]],​ and are therefore always available. However, these macros can only be used for **short messages** (approximately less than 7 words), because of Fortran'​s line length limitation.+In CP2K there exist three convenient macros for error handling. They are defined in [[src>​src/​base/​base_uses.f90]],​ and are therefore always available. However, these macros can only be used for **short messages** (approximately less than 7 words), because of Fortran'​s line length limitation.
 <code Fortran> <code Fortran>
    ​CPWARN("​A short warning message"​)    ​CPWARN("​A short warning message"​)
dev/error_handling.txt ยท Last modified: 2018/10/08 19:59 by oschuett