[gmx-developers] Re: tpr-files
Berk Hess
hessb at mpip-mainz.mpg.de
Tue Aug 23 13:58:48 CEST 2005
Rainer Böckmann wrote:
> Dear Berk,
>
> I changed now the statement
>
> long npair,npair_ij;
>
> to
>
> long long npair,npair_ij;
>
> This seems to work, at least the C6 term is positive and the
> dispersion energy negative.
>
> Thanks a lot!
> Rainer
>
Ah, that's exactly what I (thought to have) fixed some time ago!
But I see now in /usr/include/limits.h that on 64bit x86 machines long
is larger than int, but on 32bit x86 machines long is equal to int.
I guess we have to use long long, but is this always supported?
Berk.
More information about the gromacs.org_gmx-developers
mailing list