[gmx-developers] nflops in do_coul

Erik Lindahl lindahl at stanford.edu
Thu Aug 8 19:44:51 CEST 2002

Vishal Vaidyanathan wrote:
> Hi,
>   Just a quick question - in do_coul() in mkinl_interactions.c, should
> the line
>    	  nflop = 1;
> actually read
>    	  nflop += 1;
> or not ?
>   I don't think it makes much difference either way, but ...
>   Thanks,
> 								Vishal

It should be +=, but it won't affect anything. These flopcounts are only
used if you enable all the comments when building the inner loops, and 
in that case we will ge a report of the number of flops used in each 
inner loop (so we can enter it in src/gmxlib/nrnb.c to get the right



More information about the gromacs.org_gmx-developers mailing list