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 18 Error: "simd pragma has been deprecated" #1210

Closed
ndellingwood opened this issue Nov 2, 2017 · 5 comments
Closed

Intel 18 Error: "simd pragma has been deprecated" #1210

ndellingwood opened this issue Nov 2, 2017 · 5 comments
Assignees
Labels
Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)
Milestone

Comments

@ndellingwood
Copy link
Contributor

Reported by Jenkins:

/home/jenkins/bowman/workspace/Kokkos_SLURM_inner_test/core/unit_test/TestCompilerMacros.hpp(88): error #3948: simd pragma has been deprecated, and will be removed in a future release.  Please refer to release notes for details and recommended alternatives
      #pragma simd
              ^
          detected during:
            instantiation of "std::enable_if<std::is_same<TagType, void>::value, void>::type Kokkos::Impl::ParallelFor<FunctorType, Kokkos::RangePolicy<Traits...>, Kokkos::OpenMP>::exec_range<TagType>(const FunctorType &, Kokkos::Impl::ParallelFor<FunctorType, Kokkos::RangePolicy<Traits...>, Kokkos::OpenMP>::Member, Kokkos::Impl::ParallelFor<FunctorType, Kokkos::RangePolicy<Traits...>, Kokkos::OpenMP>::Member) [with FunctorType=TestCompilerMacros::AddFunctor<Kokkos::OpenMP>,
                      Traits=<Kokkos::OpenMP>, TagType=void]" at line 124 of "/home/jenkins/bowman/workspace/Kokkos_SLURM_inner_test/core/src/OpenMP/Kokkos_OpenMP_Parallel.hpp"
            instantiation of "void Kokkos::Impl::ParallelFor<FunctorType, Kokkos::RangePolicy<Traits...>, Kokkos::OpenMP>::execute() const [with FunctorType=TestCompilerMacros::AddFunctor<Kokkos::OpenMP>, Traits=<Kokkos::OpenMP>]" at line 224 of "/home/jenkins/bowman/workspace/Kokkos_SLURM_inner_test/core/src/Kokkos_Parallel.hpp"
            instantiation of "void Kokkos::parallel_for(size_t={unsigned long}, const FunctorType &, const std::string &) [with FunctorType=TestCompilerMacros::AddFunctor<Kokkos::OpenMP>]" at line 104
            instantiation of "bool TestCompilerMacros::Test<DeviceType>() [with DeviceType=Kokkos::OpenMP]" at line 115

compilation aborted for /home/jenkins/bowman/workspace/Kokkos_SLURM_inner_test/core/unit_test/openmp/TestOpenMP_Init.cpp (code 2)
@ndellingwood
Copy link
Contributor Author

#ifdef KOKKOS_ENABLE_PRAGMA_SIMD
#pragma simd
#endif

@ibaned
Copy link
Contributor

ibaned commented Nov 3, 2017

@nmhamster @crtrott

@ibaned
Copy link
Contributor

ibaned commented Nov 3, 2017

Despite what the error message says, a quick search of the release notes doesn't give clear guidance on this. My guess is that #pragma omp simd is the replacement...

@ndellingwood
Copy link
Contributor Author

Here's a reference to intel 18 c++ release notes and intel 17 c++ release notes, at a quick scan I didn't see anything about this being deprecated either

@ibaned ibaned added this to the 2017 December milestone Nov 6, 2017
@ibaned ibaned added the Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos) label Nov 6, 2017
@crtrott
Copy link
Member

crtrott commented Nov 6, 2017

I actually have already a fix for this on bowman. Just didn't submit it yet because when I wrote it the compute nodes were down to run the test.

@crtrott crtrott self-assigned this Nov 6, 2017
crtrott added a commit that referenced this issue Nov 20, 2017
Also fix compiler list for nightly testing.
crtrott added a commit that referenced this issue Nov 20, 2017
@crtrott crtrott closed this as completed Dec 15, 2017
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

3 participants