Next: 7. References
Up: 6. Introduction
Previous: 6.6.2 Calling FORTRAN routines
Apart from the usual debugging methods that everybody knows about, NEMO
programs usually have the following additional properties which can cut
down in debugging time. If not conclusive during runtime, you can either
decide to compile the program with debugging flags turned on, and run
the program through the debugger, or add more dprintf or error function
- During runtime you can set the value for the debug= (or use the equivalent DEBUG environment variable)
system keyword to increase the amount of output. Note that only levels
0 (the default) through 9 are supported. 9 should produce a lot of output.
- During runtime you can set the value for the error= (or use the equivalent ERROR environment variable)
system keyword to bypass a number of fatal error messages that you
know are not important. For example, to overwrite an existing file
you would need to increase error by 1.
(c) Peter Teuben