[gmx-users] compilation error with gcc in non-standard location
ckutzne at gwdg.de
Wed Mar 26 14:36:44 CET 2014
On 26 Mar 2014, at 14:21, michael.b <mbx0009 at yahoo.com> wrote:
> 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
I think it needs to be GMX_CPU_ACCELERATION instead of CMAKE_…
> 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
> 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.
> Gromacs Users mailing list
> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request at gromacs.org.
More information about the gromacs.org_gmx-users