[gmx-users] FFTW compiler error: no such instruction

Mateusz Bieniek bieniekmat at gmail.com
Thu Jun 21 13:58:45 CEST 2018


A quick update. FFTW is supposed to create fat binaries and ignore the AVX
that it cannot use. Regardless, this did not happen the right way. I've
modified the src/contrib/fftw/CMakeFiles/fftwBuild.dir/build.make and
removed the --enable- "512avx" and other terms and this removed the issue.

Thanks, Mat

On Thu, Jun 21, 2018 at 11:04 AM Mateusz Bieniek <bieniekmat at gmail.com>
wrote:

> Dear Gromacsers,
>
> After compiling gromacs successfully with SSE4.1 it suggested AVX_256
> instead. With AVX_256 the compilation is interrupted with the FFTW error
> below. In this case I am in need of more CPU power due to the multiple GPUs
> installed.
>
> ----------------------------------------------------------
> libtool: compile:  /opt/apps/compilers/gcc/5.3.0/bin/gcc -DHAVE_CONFIG_H
> -I.
> -I/.../gromacs-2018.2/buildavx/src/contrib/fftw/fftwBuild-prefix/src/fftwBuild/dft/simd/avx2-128
> -I../../.. -I
> /.../gromacs-2018.2/buildavx/src/contrib/fftw/fftwBuild-prefix/src/fftwBuild
> -march=core-avx2 -mfma -O3 -fomit-frame-pointer -mtune=native
> -malign-double -fstrict-aliasing -fno-schedule-insns -MT n2sv_32.lo -MD -MP
> -MF .deps/n2sv_32.Tpo -c
> /gromacs-2018.2/buildavx/src/contrib/fftw/fftwBuild-prefix/src/fftwBuild/dft/simd/avx2-128/n2sv_32.c
> -fPIC -DPIC -o n2sv_32.o
> /tmp/cczju8Es.s: Assembler messages:
> /tmp/cczju8Es.s:33: Error: no such instruction: `shlx %rbx,56(%rsp),%rbx'
> make[8]: *** [n2sv_4.lo] Error 1
> make[8]: *** Waiting for unfinished jobs....
> /tmp/ccsZIbpx.s: Assembler messages:
> /tmp/ccsZIbpx.s:35: Error: no such instruction: `shlx %rbx,64(%rsp),%rbp'
> make[8]: *** [n2sv_8.lo] Error 1
> /tmp/ccdxksFN.s: Assembler messages:
> /tmp/ccdxksFN.s:50: Error: no such instruction: `shlx %rbx,400(%rsp),%rbx'
> make[8]: *** [n2sv_16.lo] Error 1
> /tmp/ccTdLLjQ.s: Assembler messages:
> /tmp/ccTdLLjQ.s:68: Error: no such instruction: `shlx %rbx,1168(%rsp),%rbx'
>
> Any suggestions are welcome.
>
> Thanks, Mateusz
>
>
> Linux: Scientific Linux release 6.6 (Carbon)
> gcc 5.3.0
>
>
>


More information about the gromacs.org_gmx-users mailing list