9.1 General Debugging

To debug HPF programs, Digital suggests a two-step process:

  1. Compile and link a non-parallel version of your program with -g (produce traceback and symolic debugging information) option and without the -wsf switch. This lets you test and debug the program on a single processor, using any debugger that supports Digital Fortran 90.
  2. Once the program is working correctly on a single node, you can then compile and link the program with the -wsf switch.

Usually, the code runs without error. However, there may be cases where there are errors when the HPF program runs in parallel. If this happens (and the program runs without error on a single node), you must debug the program while it is running within PSE.