[gmx-developers] invsqrt declaration warning

Jochen Hub jochen at xray.bmc.uu.se
Fri Nov 27 10:15:28 CET 2009


Ups, never mind. I was on the 405 release, I found that in the master 
branch the issue has been fixed.

Sorry for the list spamming...

Cheers, Jochen


Jochen Hub wrote:
> Hi,
>
> I am getting a warning when compiling the latest git gromacs on that 
> system:
>
> Linux neolith1 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:12:36 EST 2009 
> x86_64 x86_64 x86_64 GNU/Linux
>
> The problem comes from an invsqrt declaration by the intel compiler:
>
> ../../include/vec.h(152): warning #147: declaration is incompatible 
> with "double invsqrt(double)" (declared at line 623 of 
> "/software/intel/cce/10.1.017/include/math.h")
>  static inline real invsqrt(real x)
>                     ^
>
> Probably it will not cause errors, but you never know. Possibly it 
> would make sense to rename invsqrt to gmx_invsqrt or similar?
>
> Cheers,
>
> Jochen
>
>


-- 
---------------------------------------------------
Dr. Jochen Hub
Molecular Biophysics group
Dept. of Cell & Molecular Biology
Uppsala University. Box 596, 75124 Uppsala, Sweden.
Phone: +46-18-4714451 Fax: +46-18-511755
---------------------------------------------------




More information about the gromacs.org_gmx-developers mailing list