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

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


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

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

i believve the problem might be that i try using a gcc that is not in the
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:
and even if i precede the cmake command by:
i get exactly the same error ...
what am i missing?


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