[gmx-users] compilation error with gcc in non-standard location

michael.b mbx0009 at yahoo.com
Wed Mar 26 14:22:43 CET 2014


Hi,

trying to install gmx-4.6.5 i use cmake as in

CMAKE_PREFIX_PATH=/home/micb/local cmake ../gromacs-4.6.5 -DGMX_GPU=OFF
-DGMX_MPI=OFF -DCMAKE_INSTALL_PREFIX=/home/micb/local
-DGMX_BUILD_OWN_FFTW=ON -DCMAKE_CPU_ACCELERATION=SSE2

this gives me:
[...]
-- Performing Test GNU_SSE4_CFLAG
-- Performing Test GNU_SSE4_CFLAG - Failed
CMake Warning at CMakeLists.txt:708 (message):
  No C SSE4.1 flag found.  Consider a newer compiler, or use SSE2 for
  slightly lower performance
-- Looking for smmintrin.h
-- Looking for smmintrin.h - not found
CMake Error at CMakeLists.txt:731 (message):
  Cannot find smmintrin.h, which is required for SSE4.1 intrinsics support.
-- Configuring incomplete, errors occurred!

i get the same kind of error both with and w/o the
-DCMAKE_CPU_ACCELERATION=SSE2 flag.

i believve the problem might be that i try using a gcc that is not in the
standard
location. Because gcc-4.8 was not available on the machine in question (a
rocks cluster)
i installed gcc-4.8 with the prefix /home/micb/local and set the PATH so
that gcc, g++, etc
version 4.8 are used ...  smmintrin.h is actually there but it is in:
/home/micb/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include
and even if i precede the cmake command by:
CMAKE_INCLUDE_PATH=/home/micb/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include
i get exactly the same error ...
what am i missing?

thanks!
michael











--
View this message in context: http://gromacs.5086.x6.nabble.com/compilation-error-with-gcc-in-non-standard-location-tp5015385.html
Sent from the GROMACS Users Forum mailing list archive at Nabble.com.


More information about the gromacs.org_gmx-users mailing list