[gmx-users] compilation error with gcc in non-standard location
Carsten Kutzner
ckutzne at gwdg.de
Wed Mar 26 14:36:44 CET 2014
Hi,
On 26 Mar 2014, at 14:21, michael.b <mbx0009 at yahoo.com> wrote:
> 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
I think it needs to be GMX_CPU_ACCELERATION instead of CMAKE_…
Carsten
>
> 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.
> --
> 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
mailing list