[gmx-developers] no such instruction compiling master
David van der Spoel
spoel at xray.bmc.uu.se
Sun Nov 4 12:17:52 CET 2012
Hi,
there may be an issue with compiling the master tree on newer Intel
CPUs, possibly due to architecture detection?
Using gcc-4.7.2 on:
Model Identifier: MacBookPro10,2
Processor Name: Intel Core i7
Processor Speed: 2,9 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 4 MB
cmake output:
-- Performing Test GNU_AVX_CFLAG
-- Performing Test GNU_AVX_CFLAG - Success
-- Performing Test GNU_AVX_CXXFLAG
-- Performing Test GNU_AVX_CXXFLAG - Success
-- Looking for immintrin.h
-- Looking for immintrin.h - found
-- Looking for x86intrin.h
-- Looking for x86intrin.h - found
-- Enabling 256-bit AVX Gromacs acceleration, and it will help compiler
optimization.
make output:
[ 0%] Building C object
src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/add_par.c.o
/var/folders/_v/rw8xh1v11bq3n17fq1g__s3c0000gn/T//ccDA0rxn.s:392:no such
instruction: `vmovss %xmm0, -28(%rbp)'
It seems to compile fine when using SSE4.1.
Any clues?
--
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
spoel at xray.bmc.uu.se http://folding.bmc.uu.se
More information about the gromacs.org_gmx-developers
mailing list