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

intel/16.0.1 debug build errors #2863

Closed
ndellingwood opened this issue Mar 12, 2020 · 3 comments
Closed

intel/16.0.1 debug build errors #2863

ndellingwood opened this issue Mar 12, 2020 · 3 comments
Labels
Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)

Comments

@ndellingwood
Copy link
Contributor

intel/16.0.1 builds (any backend) fail to compile with error message:

/ascldap/users/ndellin/kokkos/containers/unit_tests/TestOffsetView.hpp(290): error: braces cannot be omitted for this subobject initializer
      Kokkos::Array<int64_t, 1> begins1{2};
                                        ^
          detected during instantiation of "void Test::test_offsetview_unmanaged_construction<Scalar,Device>() [with Scalar=int, Device=Kokkos::Serial]" at line 683

/ascldap/users/ndellin/kokkos/containers/unit_tests/TestOffsetView.hpp(291): error: braces cannot be omitted for this subobject initializer
      Kokkos::Array<int64_t, 1> ends1{3};
                                      ^
          detected during instantiation of "void Test::test_offsetview_unmanaged_construction<Scalar,Device>() [with Scalar=int, Device=Kokkos::Serial]" at line 683
...
/ascldap/users/ndellin/kokkos/containers/unit_tests/TestOffsetView.hpp(305): error: braces cannot be omitted for this subobject initializer
      Kokkos::Array<int64_t, 2> begins2{-2, -7};
                                        ^
          detected during instantiation of "void Test::test_offsetview_unmanaged_construction<Scalar,Device>() [with Scalar=int, Device=Kokkos::Serial]" at line 683

/ascldap/users/ndellin/kokkos/containers/unit_tests/TestOffsetView.hpp(306): error: braces cannot be omitted for this subobject initializer
      Kokkos::Array<int64_t, 2> ends2{5, -3};
                                      ^
          detected during instantiation of "void Test::test_offsetview_unmanaged_construction<Scalar,Device>() [with Scalar=int, Device=Kokkos::Serial]" at line 683

/ascldap/users/ndellin/kokkos/containers/unit_tests/TestOffsetView.hpp(335): error: braces cannot be omitted for this subobject initializer
      Kokkos::Array<int64_t, 1> begins{-3};
                                       ^
          detected during instantiation of "void Test::test_offsetview_unmanaged_construction<Scalar,Device>() [with Scalar=int, Device=Kokkos::Serial]" at line 683

/ascldap/users/ndellin/kokkos/containers/unit_tests/TestOffsetView.hpp(336): error: braces cannot be omitted for this subobject initializer
      Kokkos::Array<int64_t, 1> ends{2};
                                     ^
          detected during instantiation of "void Test::test_offsetview_unmanaged_construction<Scalar,Device>() [with Scalar=int, Device=Kokkos::Serial]" at line 683
...
etc

Reproducer sample instructions:

  #   Load modules:
        module load sems-env sems-cmake/3.12.2 sems-intel/16.0.1

  #   Use generate_makefile line below to call cmake which generates makefile for this build:
        <KOKKOS_PATH>/generate_makefile.bash --with-devices=Serial  --compiler=/projects/sems/install/rhel6-x86_64/sems/compiler/intel/16.0.1/base/bin/icpc --cxxflags="-g -Wall -Wshadow -pedantic -Werror -Wsign-compare -Wtype-limits -Wuninitialized " --cxxstandard="11" --ldflags=""  --kokkos-path=<KOKKOS_PATH> --no-examples --with-options=enable_large_mem_tests --debug
@ndellingwood ndellingwood added Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos) Blocks Promotion Overview issue for release-blocking bugs DevelopOnly labels Mar 12, 2020
@ndellingwood ndellingwood added this to the Tentative 3.1 Release milestone Mar 12, 2020
@ndellingwood
Copy link
Contributor Author

Replace begins1{2} by begins1{{2}} etc. should resolve, I can put in a PR with the simple fix.

ndellingwood added a commit to ndellingwood/kokkos that referenced this issue Mar 12, 2020
@ndellingwood
Copy link
Contributor Author

PR #2864

@crtrott crtrott added InDevelop and removed Blocks Promotion Overview issue for release-blocking bugs labels Mar 12, 2020
@ndellingwood
Copy link
Contributor Author

Closing this issue as the reported bug is resolved, new problems are occurring in the intel/16.0.1 debug builds but I opened a new issue for that #2867

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)
Projects
None yet
Development

No branches or pull requests

2 participants