Hi,<br><br>ICC can actually sometimes be (a lot) faster than gcc on AMD.<br>The issue here seems to be that the configuration didn&#39;t add a compiler flag for fma4.<br><br>Cheers,<br><br>Berk<br><br>----- Reply message -----<br>From: &quot;Alexey Shvetsov&quot; &lt;alexxy@omrb.pnpi.spb.ru&gt;<br>To: &lt;gmx-developers@gromacs.org&gt;<br>Subject: [gmx-developers] warning Emulating FMA instructions - this is        probably not what you want!<br>Date: Wed, Oct 17, 2012 14:00<br><br><br>Hi all!<br><br>Well ICC isnt good with AMD CPUs especialy with new ones. Try to use <br>recent gcc versions like gcc-4.7.<br><br><br>Jochen Hub писал 17-10-2012 13:14:<br>&gt; Hi developers,<br>&gt;<br>&gt; does anyone know how to interpret this icc warning:<br>&gt;<br>&gt; [ &nbsp;8%] /home/jhub/src/gromacs/include/gmx_x86_avx_128_fma.h(88):<br>&gt; warning #1224: #warning directive: Emulating FMA instructions - this<br>&gt; is probably not what you want!<br>&gt;<br>&gt; &nbsp; #warning Emulating FMA instructions - this is probably not what you <br>&gt; want!<br>&gt;<br>&gt; I am compiling 46-release on a Interlagos 6378 with OpenMPI and icc<br>&gt; 13.0.0 20120731. My cmake line is:<br>&gt;<br>&gt; cmake $gmxsrc \<br>&gt; &nbsp; &nbsp; -DFFTW_LIBRARY=$FFTW_LOCATION/lib/libfftw3f.a \<br>&gt; &nbsp; &nbsp; -DFFTW3F_INCLUDE_DIR=$FFTW_LOCATION/include \<br>&gt; &nbsp; &nbsp; -DFFTW3F_LIBRARIES=$FFTW_LOCATION/lib/libfftw3f.a \<br>&gt; &nbsp; &nbsp; -DCMAKE_INSTALL_PREFIX=$(pwd) \<br>&gt; &nbsp; &nbsp; -DGMX_X11=OFF \<br>&gt; &nbsp; &nbsp; -DCMAKE_CXX_COMPILER=$MPICXX \<br>&gt; &nbsp; &nbsp; -DCMAKE_C_COMPILER=$MPICC \<br>&gt; &nbsp; &nbsp; -DGMX_MPI=ON \<br>&gt; &nbsp; &nbsp; -DGMX_PREFER_STATIC_LIBS=ON \<br>&gt; &nbsp; &nbsp; -DGMX_GPU=OFF<br>&gt;<br>&gt; and cmake reported:<br>&gt;<br>&gt; -- Performing Test GNU_AVX_CFLAG<br>&gt; -- Performing Test GNU_AVX_CFLAG - Success<br>&gt; -- Enabling 128-bit AVX Gromacs acceleration (with fused-multiply<br>&gt; add), and it will help compiler optimization.<br>&gt;<br>&gt; Thanks a lot,<br>&gt; Jochen<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; ---------------------------------------------------<br>&gt; Dr. Jochen Hub<br>&gt; Computational Molecular Biophysics Group<br>&gt; Institute for Microbiology and Genetics<br>&gt; Georg-August-University of Göttingen<br>&gt; Justus-von-Liebig-Weg 11, 37077 Göttingen, Germany.<br>&gt; Phone: +49-551-39-14189<br>&gt; http://cmb.bio.uni-goettingen.de/<br>&gt; ---------------------------------------------------<br><br>-- <br>Best Regards,<br>Alexey &#39;Alexxy&#39; Shvetsov<br>Petersburg Nuclear Physics Institute, NRC Kurchatov Institute, <br>Gatchina, Russia<br>Department of Molecular and Radiation Biophysics<br>Gentoo Team Ru<br>Gentoo Linux Dev<br>mailto:alexxyum@gmail.com<br>mailto:alexxy@gentoo.org<br>mailto:alexxy@omrb.pnpi.spb.ru<br>-- <br>gmx-developers mailing list<br>gmx-developers@gromacs.org<br>http://lists.gromacs.org/mailman/listinfo/gmx-developers<br>Please don&#39;t post (un)subscribe requests to the list. Use the <br>www interface or send it to gmx-developers-request@gromacs.org.<br>