[gmx-users] Gromacs-4.6-beta3 compile warnings intel-suite 2011 and 2013

Richard Broadbent richard.broadbent09 at imperial.ac.uk
Tue Jan 15 15:34:28 CET 2013

Dear All,

I've just installed 4.6-beta3 on my ubuntu linux (Intel Xeon [sandy 
bridge]) box using both intel-suite/64/2011.10/319, and 
intel-suite/64/2013.0/079 with mkl

Using either compiler I received several hundred warnings of type #120, 
#167, and #556 (see bellow for examples). I thought this might be 
vaguely related to Bug #1074, as these all appear to be casting 
warnings. A small test md simulation ran as expected so the executable 
seems to be working and it is using AVX_256 acceleration. I therefore 
don't think this justifies a bug report but I did think it might be 
worth flagging up that these warnings occur and asking if other people 
had seen them. If anyone has any recommendations for how to get rid of 
them or thinks that they are significant I would also be interested.



my cmake line was:

$ export CC=icc  ; export CXX=icpc ;  cmake -DGMX_MPI=OFF 

and I then built it with:

$ make -j8 mdrun
$ make install-mdrun

the Warnings are of the form:

warning #120: return value type does not match the function type
       return gmx_mm256_set_m128(t2,t1);

warning #167: argument of type "__m128d" is incompatible with parameter 
of type "__m128"
       t1   = gmx_mm256_set_m128(_mm_loadu_pd(p3),_mm_loadu_pd(p1)); /* 
c12c  c6c | c12a  c6a */

warning #556: a value of type "__m256" cannot be assigned to an entity 
of type "__m256d"
       *x1 = gmx_mm256_set_m128(tx,tx);

More information about the gromacs.org_gmx-users mailing list