hpcg-benchmark / hpcg

Official HPCG benchmark source code
http://www.hpcg-benchmark.org/
BSD 3-Clause "New" or "Revised" License
293 stars 123 forks source link

Fix runtime reading in hpcg.dat #58

Open nbenoit opened 6 years ago

nbenoit commented 6 years ago

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.