Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trsv - internal compiler error with intel/19 #607

Closed
ndellingwood opened this issue Feb 18, 2020 · 4 comments
Closed

trsv - internal compiler error with intel/19 #607

ndellingwood opened this issue Feb 18, 2020 · 4 comments

Comments

@ndellingwood
Copy link
Contributor

ndellingwood commented Feb 18, 2020

Reported by Mike Glass, observed on the mutrino testbed

Error message

/lscratch1/ndellin/kokkos-kernels/src/sparse/impl/KokkosSparse_trsv_spec.hpp(138) (col. 11): internal error: 04010002_12261

compilation aborted for /lscratch1/ndellin/kokkos-kernels/src/impl/generated_specializations_cpp/trsv/KokkosSparse_trsv_eti_spec_inst_Kokkos_cmplx_dbl__int_int_LayoutLeft_Serial_HostSpace.cpp (code 4)
src/CMakeFiles/kokkoskernels.dir/build.make:18062: recipe for target 'src/CMakeFiles/kokkoskernels.dir/impl/generated_specializations_cpp/trsv/KokkosSparse_trsv_eti_spec_inst_Kokkos_cmplx_dbl__int_int_LayoutLeft_Serial_HostSpace.cpp.o' failed
make[2]: *** [src/CMakeFiles/kokkoskernels.dir/impl/generated_specializations_cpp/trsv/KokkosSparse_trsv_eti_spec_inst_Kokkos_cmplx_dbl__int_int_LayoutLeft_Serial_HostSpace.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs....
/lscratch1/ndellin/kokkos-kernels/src/sparse/impl/KokkosSparse_trsv_spec.hpp(138) (col. 11): internal error: 04010002_12261

compilation aborted for /lscratch1/ndellin/kokkos-kernels/src/impl/generated_specializations_cpp/trsv/KokkosSparse_trsv_eti_spec_inst_Kokkos_cmplx_dbl__size_t_int_LayoutLeft_Serial_HostSpace.cpp (code 4)
src/CMakeFiles/kokkoskernels.dir/build.make:18254: recipe for target 'src/CMakeFiles/kokkoskernels.dir/impl/generated_specializations_cpp/trsv/KokkosSparse_trsv_eti_spec_inst_Kokkos_cmplx_dbl__size_t_int_LayoutLeft_Serial_HostSpace.cpp.o' failed

Reproducer instructions:
Clone kokkos, kokkos-kernels

module load intel/19.0.4  cmake/3.10.2
export KOKKOS_PATH=${SCRATCH}/kokkos
export KOKKOSKERNELS_PATH=${SCRATCH}/kokkos-kernels

${KOKKOSKERNELS_PATH}/cm_generate_makefile.bash --compiler=icpc --kokkos-path=${KOKKOS_PATH} --kokkoskernels-path=${KOKKOSKERNELS_PATH} --arch=KNL --with-scalars=complex_double
ndellingwood added a commit to ndellingwood/kokkos-kernels that referenced this issue Feb 19, 2020
addresses issue kokkos#607 reported by Mike Glass
replace /= compound assignment operators
ndellingwood added a commit to trilinos/Trilinos that referenced this issue Feb 19, 2020
addresses issue kokkos/kokkos-kernels#607 reported by @mwglass
replace /= compound assignment operators
@ndellingwood
Copy link
Contributor Author

Workaround PR issued #608 and Trilinos patch submitted in PR trilinos/Trilinos#6858

@ndellingwood ndellingwood self-assigned this Feb 19, 2020
@ndellingwood
Copy link
Contributor Author

PR #608 merged.

@ndellingwood
Copy link
Contributor Author

@ndellingwood
Copy link
Contributor Author

For reference I should mention the issue here - internal compiler errors were occurring in the trsv routine, turned out the compiler was dying on the /= operators. Replacing calls like a /= b; with a = a / b; served as a functional workaround allowing compilation of code to complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants