Wrong logic in netcdf output determination
In readcommand
#ifdef USE_NCF
lnetcdfout = 1
#endif
if (iout.ge.8) then
lnetcdfout = 1
iout = iout - 8
This means that if netcdf support is compiled in, netcdf output will be produce even if not set in iout. Delete the first 3 lines of the code snippet.