I'm attempting to debug some code which I'm writing as an extension to a much larger program. I'm pretty sure I'm corrupting memory somewhere, but for practical reasons (long run time), it's not really possible for me to run it through valgrind.
Instead, I'm trying to locate the source of my error using the -fcheck=bounds option for the gfortran compiler. Unfortunately, this picks up some fairly innocuous errors in the main program and halts before reaching any of my own code.
Is it possible to have the program continue operation after finding one of these runtime errors? In other words, can runtime error checks be turned into warnings rather than fatal errors?