Similar to the coupling option, if you wish to create a non-optimized pop executable for use with a debugging tool, you must specify this on the make command line:
gmake OPTIMIZE=no.
By default, this will create an executable named pop_db rather than the usual pop.
For short debugging and port-validation runs, it is often useful to generate double-precision netCDF time-averaged (tavg) history files. In order to invoke this option, compile your case with the CCSM4 POP2 option, -DTAVG_R8, by editing the $CASE/Buildconf/pop2.buildnml.csh script on the gmake command line and adding -DTAVG_R8.