[gmx-developers] no such instruction compiling master

Teemu Murtola teemu.murtola at gmail.com
Sun Nov 4 13:03:33 CET 2012


Hi,

On Sun, Nov 4, 2012 at 1:17 PM, David van der Spoel
<spoel at xray.bmc.uu.se> wrote:
> 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
>
> [clip]
>
> Any clues?

This is a known issue, and also affects release-4-6 branch, but only
with Mac OS X + gcc from MacPorts (possibly from other sources as
well). See http://redmine.gromacs.org/issues/1021 for some discussion.
Basically, gcc from MacPorts is using a very old assembler, which does
not support AVX instructions. With this information, Google should
give some hacks to replace the GNU assembler with, e.g., the one that
Apple clang is using.

Teemu



More information about the gromacs.org_gmx-developers mailing list