[gmx-developers] _mm_castsi128_pd

Per Larsson per.larsson at sbc.su.se
Tue Oct 19 07:09:07 CEST 2010


Hi!

You are right, I will commit a fix for this asap.

Cheers
/Per

Skickat från min iPhone

18 okt 2010 kl. 21:32 skrev Michel Cuendet <michel.cuendet at isb-sib.ch>:

> 
> Hi all,
> 
> Doing this with gromacs 4.5.1on a Xeon x86_64 :
> 
>    ./configure  --without-x --disable-float  --enable-shared --program-suffix="_d"
> 
> and then compiling, I get errors of the sort shown below.
> 
> The problem is solved if in file include/gmx_sse2_double.h I replace replace function _mm_castsi128_pd with gmx_mm_castsi128_pd at the lines specified below. Is this correct? The same issue was already brought up for gmx_sse2_single.h a long time ago.
> 
> http://lists.gromacs.org/pipermail/gmx-developers/2009-September/003659.html
> 
> Cheers,
> Michel
> 
> 
> ----------------------------------------------------------------------------------------------------------------------------
> [ ... ]
> In file included from genborn_sse2_double.c:67:
> ../../include/gmx_sse2_double.h: In function `gmx_mm_sincos_pd':
> ../../include/gmx_sse2_double.h:457: warning: implicit declaration of function `_mm_castsi128_pd'
> ../../include/gmx_sse2_double.h:457: error: invalid initializer
> ../../include/gmx_sse2_double.h:514: error: incompatible type for argument 1 of `_mm_and_pd'
> ../../include/gmx_sse2_double.h:515: error: incompatible type for argument 1 of `_mm_andnot_pd'
> ../../include/gmx_sse2_double.h:516: error: incompatible type for argument 1 of `_mm_and_pd'
> ../../include/gmx_sse2_double.h:517: error: incompatible type for argument 1 of `_mm_andnot_pd'
> [ ... ]
> ----------------------------------------------------------------------------------------------------------------------------
> 
> 
> ==========================================================
> Michel Cuendet, Ph.D
> Molecular Modeling Group
> Swiss Institute of Bioinformatics
> CH-1015 Lausanne
> Switzerland
> http://lausanne.isb-sib.ch/~mcuendet/
> ==========================================================
> 
> 
> 
> 
> -- 
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-developers-request at gromacs.org.



More information about the gromacs.org_gmx-developers mailing list