All,

>> FFTW 3.3.5 (at least for this toolchain) should be compiled with
>> --enable-sse2 --enable-avx --enable-avx2
>> and preferably with --enable-avx512 too.
> I'm looking into this, but even though the FFTW documentation clearly
> states that an FFTW library compiled with AVX2 will run just fine on a
> system without AVX2, it seems like *building* FFTW with --enable-avx2 on
> a system that doesn't support AVX2 doesn't work...
>
> Here's what I'm seeing on a Sandy Bridge systems:
>
> configure flags:
>
>     --enable-threads --enable-openmp --with-pic --enable-single
> --enable-mpi --enable-sse2 --enable-avx --enable-avx2 --enable-avx512
>
> fails with:
>
> In file included from ../../../dft/simd/n1f.h:21:0,
>                  from ../common/n1fv_12.c:35,
>                  from n1fv_12.c:3:
> ../../../simd-support/simd-avx2.h:43:2: error: #error "compiling
> simd-avx2.h without avx2 support"
>  #error "compiling simd-avx2.h without avx2 support"
>   ^~~~~
>
>
> So, I don't think that including all of these --enable-avx* flags is
> going to work out well, unless we implement an FFTW easyblock that
> auto-detects *what* is really supported and injects the corresponding
> --enable-avx* flags.

Thinking cross-platform:  None of the '--enable-sse2' or '--enable-avx*'
flags will work on POWER or ARM...

Markus


--
Dr. Markus Geimer
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone:  +49-2461-61-1773
Fax:    +49-2461-61-6656
E-mail: [email protected]
WWW:    http://www.fz-juelich.de/jsc/



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to