next up previous contents
Next: 9.7 Unit 50 Error Up: 9 Troubleshooting Previous: 9.5 NX does not   Contents

9.6 Enabling the Debugger

This section explains how to set some compiler options for debugging. For the coupled model, set DEBUG to TRUE in the env_run script. For the uncoupled ice model, set setenv DEBUG TRUE in csim.setup.csh. Before running the model, be sure to delete the object files so that the source code will be recompiled. If a core file is created, it will be in the executable directory. Use dbx to look at the core file. Useful information may also appear in the standard error and output files.