[gmx-developers] _mm_castsi128_pd

Michel Cuendet michel.cuendet at isb-sib.ch
Mon Oct 18 21:32:04 CEST 2010


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/
==========================================================







More information about the gromacs.org_gmx-developers mailing list