<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="h5"><div>Please try </div><div>cmake -DGMX_ACCELERATION=SSE4.1</div><div>and if that doesn&#39;t work</div>
<div>...=SSE2</div><div><br></div><div>If you could provide us more information of why your gcc doesn&#39;t understand -mavx that would be useful. Is gcc really 4.7 as cmake prints? Gcc 4.7 should support 4.7 thus this is confusing. How did you obtain gcc? Is it from your distribution (if so which one) or did you download and compile gcc yourself? If so how?</div>


<div><br></div></div></blockquote><div><br>Yes, its the precompiled gcc 4.7 from Fedora 17 86_64 repositories.<br><br>Both command lines failed. cmake is looking for a file a library named &quot;libfftw3f&quot; which does not exist in my fftw installation. What configure options do you use to compile fftw?<br>
</div><div> </div><div>$cmake ../gromacs -DGMX_ACCELERATION=SSE4.1<br>-- Checking for isfinite<br>-- Performing Test isfinite_compile_ok<br>-- Performing Test isfinite_compile_ok - Success<br>-- Checking for isfinite - yes<br>
-- Checking for _isfinite<br>-- Performing Test _isfinite_compile_ok<br>-- Performing Test _isfinite_compile_ok - Failed<br>-- Checking for _isfinite - no<br>-- Checking for _finite<br>-- Performing Test _finite_compile_ok<br>
-- Performing Test _finite_compile_ok - Failed<br>-- Checking for _finite - no<br>-- Checking for system XDR support<br>-- Checking for system XDR support - present<br>-- Performing Test GNU_SSE4_CFLAG<br>-- Performing Test GNU_SSE4_CFLAG - Success<br>
-- Performing Test GNU_SSE4_CXXFLAG<br>-- Performing Test GNU_SSE4_CXXFLAG - Success<br>-- Looking for smmintrin.h<br>-- Looking for smmintrin.h - found<br>-- Enabling SSE4.1 Gromacs acceleration, and it will help compiler optimization.<br>
-- Found PkgConfig: /usr/bin/pkg-config (found version &quot;0.25&quot;) <br>-- checking for module &#39;fftw3f&#39;<br>--   package &#39;fftw3f&#39; not found<br>Could not find fftw3f library named libfftw3f, please specify its location in FFTW_LIBRARY by hand (e.g. -DFFTW_LIBRARY=&#39;/path/to/libfftw3f.so&#39;)<br>
CMake Error at CMakeLists.txt:863 (MESSAGE):<br>  Cannot find FFTW3 (with correct precision - libfftw3f for single precision<br>  GROMACS or libfftw3 for double precision GROMACS).  Fix it, choose another<br>  FFT library, or use the Gromacs built-in fftpack (slower)!<br>
<br><br>$ cmake ../gromacs -DGMX_ACCELERATION=SSE2<br>-- Performing Test GNU_SSE2_CFLAG<br>-- Performing Test GNU_SSE2_CFLAG - Success<br>-- Performing Test GNU_SSE2_CXXFLAG<br>-- Performing Test GNU_SSE2_CXXFLAG - Success<br>
-- Looking for emmintrin.h<br>-- Looking for emmintrin.h - found<br>Could not find fftw3f library named libfftw3f, please specify its location in FFTW_LIBRARY by hand (e.g. -DFFTW_LIBRARY=&#39;/path/to/libfftw3f.so&#39;)<br>
CMake Error at CMakeLists.txt:863 (MESSAGE):<br>  Cannot find FFTW3 (with correct precision - libfftw3f for single precision<br>  GROMACS or libfftw3 for double precision GROMACS).  Fix it, choose another<br>  FFT library, or use the Gromacs built-in fftpack (slower)!<br>
</div></div>