kokkos / kokkos-kernels

Kokkos C++ Performance Portability Programming Ecosystem: Math Kernels - Provides BLAS, Sparse BLAS and Graph Kernels
Other
313 stars 98 forks source link

Nightly build failure, intel/19.0.5 debug, KokkosKernels_default_types.hpp(33): error #2651: attribute does not apply to any entity #2390

Closed ndellingwood closed 1 month ago

ndellingwood commented 1 month ago

Nightly intel/19.0.5 builds fail to compile with output:

11:01:03 /data/jenkins/workspace/KokkosKernels_OSRHEL8_Intel19_0_5_cpp17-dbg/kokkos-kernels/common/src/KokkosKernels_default_types.hpp(33): error #2651: attribute does not apply to any entity
11:01:03   KK_IMPL_MAKE_TYPE_ALIAS(default_lno_t, int)
...

Related to #2341 ? @cwpearson

Reproducer notes:


module load sems-cmake sems-intel/19.0.5

$KOKKOSKERNELS_PATH/cm_generate_makefile.bash --with-devices=Serial --arch=SNB --compiler=icpc --cxxflags="-g -Wall -Wunused-parameter -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized -diag-disable=1011 -diag-disable=869 " --cxxstandard="17"  --kokkos-path=$KOKKOS_PATH --kokkoskernels-path=$KOKKOSKERNELS_PATH --with-scalars='double,complex_double' --with-ordinals=int --with-offsets=int,size_t --with-layouts=LayoutLeft --with-options=disable_deprecated_code --debug --disable-perftests
cwpearson commented 1 month ago

Almost certainly 2341. Maybe intel 19 doesn't like deprecating a type alias.

cwpearson commented 1 month ago

@ndellingwood I think 2393 did the trick, okay to close?