Ifpack2 - SIMD/Vectorization Intrinsics Error with Type Conversion on HSW/Kepler37 Optimized Build
Created by: nmhamster
@trilinos/ifpack2 :
Running an optimized build for HSW/Kepler37 with GCC 4.9.3 and CUDA 9.0. The following error is created. If this code is using STK::SIMD or SIMD Types, its possible there is a invalid type conversion present in this library. This particular file generates all kinds of warnings.
Compile line is (lots of stuff) and:
-pedantic -Wall -Wno-long-long -Wwrite-strings -fPIC -lineinfo --std=c++11 -expt-extended-lambda -march=core-avx2 -mtune=core-avx2 -arch=sm_37 -g -O0 -o CMakeFiles/ifpack2.dir/Ifpack2_BlockTriDiContainer_Serial.cpp.o -c /home/sdhammo/git/trilinos-sparc-gitlab-repo/build-sparc-493-90176-arch/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_Serial.cpp
Produces the following error when using KOKKOS_ARCH=HSW;Kepler37
...
/home/sdhammo/git/trilinos-sparc-gitlab-repo/packages/kokkos-kernels/src/batched/KokkosBatched_InnerTrsm_Serial_Impl.hpp(1367): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/home/sdhammo/git/trilinos-sparc-gitlab-repo/packages/kokkos-kernels/src/batched/KokkosBatched_InnerTrsm_Serial_Impl.hpp(1380): warning: calling a __host__ function from a __host__ __device__ function is not allowed
/home/projects/x86-64/gcc/4.9.3/lib/gcc/x86_64-unknown-linux-gnu/4.9.3/include/avxintrin.h(54): error: Internal Compiler Error (codegen): "unsupported type during translation!"
make[2]: *** [packages/ifpack2/src/CMakeFiles/ifpack2.dir/build.make:927: packages/ifpack2/src/CMakeFiles/ifpack2.dir/Ifpack2_BlockTriDiContainer_Serial.cpp.o] Error 2
make[1]: *** [CMakeFiles/Makefile2:11785: packages/ifpack2/src/CMakeFiles/ifpack2.dir/all] Error 2
make: *** [Makefile:161: all] Error 2