The logic for checking if the runtime has already been provided in the command-line seems inverted.
Thus, the runtime value is never read from hpcg.dat if no value has been provided in the command-line.
The correct logic seems to be the following : set rt=0 only if iparams[3] is different from 0.
The logic for checking if the runtime has already been provided in the command-line seems inverted. Thus, the runtime value is never read from hpcg.dat if no value has been provided in the command-line. The correct logic seems to be the following : set rt=0 only if iparams[3] is different from 0.