Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [satacker@medusa00 build]$ ninja -j1
- [65/256] Building CXX object examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o
- FAILED: examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o
- /opt/apps/llvm/14.0.4/bin/clang++ -DHPX_APPLICATION_EXPORTS -DHPX_APPLICATION_NAME=1d_stencil_channel -DHPX_APPLICATION_NAME_DEFAULT=1d_stencil_channel -DHPX_APPLICATION_STRING=\"1d_stencil_channel\" -DHPX_PREFIX_DEFAULT=\"/usr/local\" -DNDEBUG -D_GNU_SOURCE -I../ -I. -I../libs/full/actions/include -Ilibs/full/actions/include -Ilibs/full/actions/include_compatibility -I../libs/full/actions_base/include -Ilibs/full/actions_base/include -Ilibs/full/actions_base/include_compatibility -I../libs/full/agas/include -Ilibs/full/agas/include -Ilibs/full/agas/include_compatibility -I../libs/full/agas_base/include -Ilibs/full/agas_base/include -Ilibs/full/agas_base/include_compatibility -I../libs/full/async_colocated/include -Ilibs/full/async_colocated/include -Ilibs/full/async_colocated/include_compatibility -I../libs/full/async_distributed/include -Ilibs/full/async_distributed/include -Ilibs/full/async_distributed/include_compatibility -I../libs/full/checkpoint/include -Ilibs/full/checkpoint/include -Ilibs/full/checkpoint/include_compatibility -I../libs/full/checkpoint_base/include -Ilibs/full/checkpoint_base/include -I../libs/full/collectives/include -Ilibs/full/collectives/include -Ilibs/full/collectives/include_compatibility -I../libs/full/command_line_handling/include -Ilibs/full/command_line_handling/include -Ilibs/full/command_line_handling/include_compatibility -I../libs/full/components/include -Ilibs/full/components/include -Ilibs/full/components/include_compatibility -I../libs/full/components_base/include -Ilibs/full/components_base/include -Ilibs/full/components_base/include_compatibility -I../libs/full/compute/include -Ilibs/full/compute/include -Ilibs/full/compute/include_compatibility -I../libs/full/distribution_policies/include -Ilibs/full/distribution_policies/include -Ilibs/full/distribution_policies/include_compatibility -I../libs/full/executors_distributed/include -Ilibs/full/executors_distributed/include -Ilibs/full/executors_distributed/include_compatibility -I../libs/full/include/include -Ilibs/full/include/include -I../libs/full/init_runtime/include -Ilibs/full/init_runtime/include -I../libs/full/lcos_distributed/include -Ilibs/full/lcos_distributed/include -Ilibs/full/lcos_distributed/include_compatibility -I../libs/full/naming/include -Ilibs/full/naming/include -Ilibs/full/naming/include_compatibility -I../libs/full/naming_base/include -Ilibs/full/naming_base/include -Ilibs/full/naming_base/include_compatibility -I../libs/full/parcelport_tcp/include -Ilibs/full/parcelport_tcp/include -I../libs/full/parcelset/include -Ilibs/full/parcelset/include -Ilibs/full/parcelset/include_compatibility -I../libs/full/parcelset_base/include -Ilibs/full/parcelset_base/include -Ilibs/full/parcelset_base/include_compatibility -I../libs/full/performance_counters/include -Ilibs/full/performance_counters/include -I../libs/full/plugin_factories/include -Ilibs/full/plugin_factories/include -Ilibs/full/plugin_factories/include_compatibility -I../libs/full/resiliency_distributed/include -Ilibs/full/resiliency_distributed/include -I../libs/full/runtime_components/include -Ilibs/full/runtime_components/include -Ilibs/full/runtime_components/include_compatibility -I../libs/full/runtime_distributed/include -Ilibs/full/runtime_distributed/include -Ilibs/full/runtime_distributed/include_compatibility -I../libs/full/segmented_algorithms/include -Ilibs/full/segmented_algorithms/include -Ilibs/full/segmented_algorithms/include_compatibility -I../libs/full/statistics/include -Ilibs/full/statistics/include -Ilibs/full/statistics/include_compatibility -I../libs/core/affinity/include -Ilibs/core/affinity/include -Ilibs/core/affinity/include_compatibility -I../libs/core/algorithms/include -Ilibs/core/algorithms/include -Ilibs/core/algorithms/include_compatibility -I../libs/core/allocator_support/include -Ilibs/core/allocator_support/include -Ilibs/core/allocator_support/include_compatibility -I../libs/core/asio/include -Ilibs/core/asio/include -Ilibs/core/asio/include_compatibility -I../libs/core/assertion/include -Ilibs/core/assertion/include -Ilibs/core/assertion/include_compatibility -I../libs/core/async_base/include -Ilibs/core/async_base/include -Ilibs/core/async_base/include_compatibility -I../libs/core/async_combinators/include -Ilibs/core/async_combinators/include -Ilibs/core/async_combinators/include_compatibility -I../libs/core/async_local/include -Ilibs/core/async_local/include -I../libs/core/batch_environments/include -Ilibs/core/batch_environments/include -Ilibs/core/batch_environments/include_compatibility -I../libs/core/cache/include -Ilibs/core/cache/include -Ilibs/core/cache/include_compatibility -I../libs/core/command_line_handling_local/include -Ilibs/core/command_line_handling_local/include -I../libs/core/compute_local/include -Ilibs/core/compute_local/include -Ilibs/core/compute_local/include_compatibility -I../libs/core/concepts/include -Ilibs/core/concepts/include -Ilibs/core/concepts/include_compatibility -I../libs/core/concurrency/include -Ilibs/core/concurrency/include -Ilibs/core/concurrency/include_compatibility -I../libs/core/config/include -Ilibs/core/config/include -I../libs/core/config_registry/include -Ilibs/core/config_registry/include -I../libs/core/coroutines/include -Ilibs/core/coroutines/include -Ilibs/core/coroutines/include_compatibility -I../libs/core/datastructures/include -Ilibs/core/datastructures/include -Ilibs/core/datastructures/include_compatibility -I../libs/core/debugging/include -Ilibs/core/debugging/include -Ilibs/core/debugging/include_compatibility -I../libs/core/errors/include -Ilibs/core/errors/include -Ilibs/core/errors/include_compatibility -I../libs/core/execution/include -Ilibs/core/execution/include -Ilibs/core/execution/include_compatibility -I../libs/core/execution_base/include -Ilibs/core/execution_base/include -Ilibs/core/execution_base/include_compatibility -I../libs/core/executors/include -Ilibs/core/executors/include -Ilibs/core/executors/include_compatibility -I../libs/core/filesystem/include -Ilibs/core/filesystem/include -Ilibs/core/filesystem/include_compatibility -I../libs/core/format/include -Ilibs/core/format/include -Ilibs/core/format/include_compatibility -I../libs/core/functional/include -Ilibs/core/functional/include -Ilibs/core/functional/include_compatibility -I../libs/core/futures/include -Ilibs/core/futures/include -Ilibs/core/futures/include_compatibility -I../libs/core/hardware/include -Ilibs/core/hardware/include -Ilibs/core/hardware/include_compatibility -I../libs/core/hashing/include -Ilibs/core/hashing/include -Ilibs/core/hashing/include_compatibility -I../libs/core/include_local/include -Ilibs/core/include_local/include -I../libs/core/ini/include -Ilibs/core/ini/include -I../libs/core/init_runtime_local/include -Ilibs/core/init_runtime_local/include -I../libs/core/io_service/include -Ilibs/core/io_service/include -Ilibs/core/io_service/include_compatibility -I../libs/core/iterator_support/include -Ilibs/core/iterator_support/include -Ilibs/core/iterator_support/include_compatibility -I../libs/core/itt_notify/include -Ilibs/core/itt_notify/include -Ilibs/core/itt_notify/include_compatibility -I../libs/core/lcos_local/include -Ilibs/core/lcos_local/include -Ilibs/core/lcos_local/include_compatibility -I../libs/core/lock_registration/include -Ilibs/core/lock_registration/include -I../libs/core/logging/include -Ilibs/core/logging/include -Ilibs/core/logging/include_compatibility -I../libs/core/memory/include -Ilibs/core/memory/include -Ilibs/core/memory/include_compatibility -I../libs/core/pack_traversal/include -Ilibs/core/pack_traversal/include -Ilibs/core/pack_traversal/include_compatibility -I../libs/core/plugin/include -Ilibs/core/plugin/include -Ilibs/core/plugin/include_compatibility -I../libs/core/prefix/include -Ilibs/core/prefix/include -Ilibs/core/prefix/include_compatibility -I../libs/core/preprocessor/include -Ilibs/core/preprocessor/include -Ilibs/core/preprocessor/include_compatibility -I../libs/core/program_options/include -Ilibs/core/program_options/include -I../libs/core/properties/include -Ilibs/core/properties/include -I../libs/core/resiliency/include -Ilibs/core/resiliency/include -I../libs/core/resource_partitioner/include -Ilibs/core/resource_partitioner/include -Ilibs/core/resource_partitioner/include_compatibility -I../libs/core/runtime_configuration/include -Ilibs/core/runtime_configuration/include -Ilibs/core/runtime_configuration/include_compatibility -I../libs/core/runtime_local/include -Ilibs/core/runtime_local/include -Ilibs/core/runtime_local/include_compatibility -I../libs/core/schedulers/include -Ilibs/core/schedulers/include -Ilibs/core/schedulers/include_compatibility -I../libs/core/serialization/include -Ilibs/core/serialization/include -Ilibs/core/serialization/include_compatibility -I../libs/core/static_reinit/include -Ilibs/core/static_reinit/include -Ilibs/core/static_reinit/include_compatibility -I../libs/core/string_util/include -Ilibs/core/string_util/include -I../libs/core/synchronization/include -Ilibs/core/synchronization/include -Ilibs/core/synchronization/include_compatibility -I../libs/core/tag_invoke/include -Ilibs/core/tag_invoke/include -Ilibs/core/tag_invoke/include_compatibility -I../libs/core/testing/include -Ilibs/core/testing/include -Ilibs/core/testing/include_compatibility -I../libs/core/thread_pool_util/include -Ilibs/core/thread_pool_util/include -I../libs/core/thread_pools/include -Ilibs/core/thread_pools/include -Ilibs/core/thread_pools/include_compatibility -I../libs/core/thread_support/include -Ilibs/core/thread_support/include -Ilibs/core/thread_support/include_compatibility -I../libs/core/threading/include -Ilibs/core/threading/include -Ilibs/core/threading/include_compatibility -I../libs/core/threading_base/include -Ilibs/core/threading_base/include -Ilibs/core/threading_base/include_compatibility -I../libs/core/threadmanager/include -Ilibs/core/threadmanager/include -Ilibs/core/threadmanager/include_compatibility -I../libs/core/timed_execution/include -Ilibs/core/timed_execution/include -Ilibs/core/timed_execution/include_compatibility -I../libs/core/timing/include -Ilibs/core/timing/include -Ilibs/core/timing/include_compatibility -I../libs/core/topology/include -Ilibs/core/topology/include -Ilibs/core/topology/include_compatibility -I../libs/core/type_support/include -Ilibs/core/type_support/include -Ilibs/core/type_support/include_compatibility -I../libs/core/util/include -Ilibs/core/util/include -Ilibs/core/util/include_compatibility -I../libs/core/version/include -Ilibs/core/version/include -I../init/include -I../wrap/include -isystem /opt/apps/llvm14/boost/1.79.0/release -isystem _deps/asio-src/asio/include -stdlib=libc++ -O3 -DNDEBUG -pthread -Wall -Wextra -Wpedantic -Wno-strict-aliasing -Wno-sign-promo -Wno-attributes -Wno-cast-align -Wno-noexcept-type -Wformat=2 -Wno-format-nonliteral -Winit-self -Wdouble-promotion -Wcast-qual -Werror=parentheses -Werror=reorder -Werror=return-type -Werror=sequence-point -Werror=uninitialized -Werror=format -Werror=missing-braces -Werror=sign-compare -fdiagnostics-show-option -Werror=vla -std=c++20 -MD -MT examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o -MF examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o.d -o examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o -c ../examples/1d_stencil/1d_stencil_channel.cpp
- In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:16:
- In file included from ../examples/1d_stencil/stencil.hpp:11:
- In file included from ../libs/full/include/include/hpx/include/compute.hpp:10:
- In file included from ../libs/full/compute/include/hpx/compute/host.hpp:11:
- In file included from ../libs/full/compute/include/hpx/compute/host/distributed_target.hpp:15:
- In file included from ../libs/full/compute/include/hpx/compute/host/get_targets.hpp:14:
- In file included from libs/core/compute_local/include/hpx/modules/compute_local.hpp:14:
- In file included from ../libs/core/compute_local/include/hpx/compute_local/host.hpp:11:
- In file included from ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:25:
- In file included from ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:418:
- ../libs/core/algorithms/include/hpx/parallel/algorithms/for_each.hpp:524:17: error: 'decltype(auto)' in return type deduced as 'hpx::execution::experimental::detail::then_sender<std::vector<hpx::future<void>>, (lambda at ../libs/core/algorithms/include/hpx/parallel/util/foreach_partitioner.hpp:164:21)>' here but deduced as 'hpx::util::counting_iterator<unsigned long>' in earlier return statement
- return result_t::get(util::foreach_partitioner<ExPolicy>::call(
- ^
- ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:180:46: note: in instantiation of function template specialization 'hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>::parallel<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
- using result = decltype(Derived::parallel(
- ^
- ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:201:20: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call2<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
- return call2(HPX_FORWARD(ExPolicy, policy), is_seq(),
- ^
- ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:540:64: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
- return parallel::detail::for_each<iterator_type>().call(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:133:33: note: in instantiation of function template specialization 'hpx::ranges::tag_fallback_invoke<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity, 42, 0>' requested here
- -> decltype(tag_fallback_invoke(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:28:17: note: while substituting deduced template arguments into function template 'operator()' [with Tag = hpx::ranges::for_each_t, Ts = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>]
- HPX_INVOKE(std::declval<F>(), std::declval<Ts>()...))>>
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/invoke.hpp:141:6: note: expanded from macro 'HPX_INVOKE'
- (::hpx::util::detail::invoke<decltype((F))>(F)(__VA_ARGS__))
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: during template argument deduction for class template partial specialization 'invoke_result_impl<F (Ts...)>' [with F = const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&, Ts = <hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>]
- struct invoke_result : detail::invoke_result_impl<F && (Ts && ...)>
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: in instantiation of template class 'hpx::util::detail::invoke_result_impl<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&(hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&)>' requested here
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:220:5: note: in instantiation of template class 'hpx::util::invoke_result<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t, hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>' requested here
- using tag_fallback_invoke_result_t =
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:293:24: note: in instantiation of template type alias 'tag_fallback_invoke_result_t' requested here
- -> tag_fallback_invoke_result_t<Tag, Args&&...>
- ^
- ../examples/1d_stencil/1d_stencil_channel.cpp:140:30: note: while substituting deduced template arguments into function template 'operator()' [with Args = <rebound_type &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>, $1 = (no value)]
- hpx::ranges::for_each(
- ^
- In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:15:
- In file included from ../examples/1d_stencil/communicator.hpp:10:
- In file included from ../libs/full/include/include/hpx/include/lcos.hpp:22:
- In file included from ../libs/full/collectives/include/hpx/collectives/reduce.hpp:226:
- In file included from ../libs/core/algorithms/include/hpx/parallel/algorithms/reduce.hpp:362:
- ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:191:44: error: no matching function for call to 'parallel'
- return result_handler::get(Derived::parallel(
- ^~~~~~~~~~~~~~~~~
- ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:201:20: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call2<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
- return call2(HPX_FORWARD(ExPolicy, policy), is_seq(),
- ^
- ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:540:64: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
- return parallel::detail::for_each<iterator_type>().call(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:133:33: note: in instantiation of function template specialization 'hpx::ranges::tag_fallback_invoke<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity, 42, 0>' requested here
- -> decltype(tag_fallback_invoke(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:28:17: note: while substituting deduced template arguments into function template 'operator()' [with Tag = hpx::ranges::for_each_t, Ts = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>]
- HPX_INVOKE(std::declval<F>(), std::declval<Ts>()...))>>
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/invoke.hpp:141:6: note: expanded from macro 'HPX_INVOKE'
- (::hpx::util::detail::invoke<decltype((F))>(F)(__VA_ARGS__))
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: during template argument deduction for class template partial specialization 'invoke_result_impl<F (Ts...)>' [with F = const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&, Ts = <hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>]
- struct invoke_result : detail::invoke_result_impl<F && (Ts && ...)>
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: in instantiation of template class 'hpx::util::detail::invoke_result_impl<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&(hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&)>' requested here
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:220:5: note: in instantiation of template class 'hpx::util::invoke_result<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t, hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>' requested here
- using tag_fallback_invoke_result_t =
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:293:24: note: in instantiation of template type alias 'tag_fallback_invoke_result_t' requested here
- -> tag_fallback_invoke_result_t<Tag, Args&&...>
- ^
- ../examples/1d_stencil/1d_stencil_channel.cpp:140:30: note: while substituting deduced template arguments into function template 'operator()' [with Args = <rebound_type &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>, $1 = (no value)]
- hpx::ranges::for_each(
- ^
- ../libs/core/algorithms/include/hpx/parallel/algorithms/for_each.hpp:503:35: note: candidate template ignored: substitution failure [with ExPolicy = hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, FwdIterB = hpx::util::counting_iterator<unsigned long>, FwdIterE = hpx::util::counting_iterator<unsigned long>, F = (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), Proj = hpx::identity]
- static decltype(auto) parallel(ExPolicy&& policy, FwdIterB first,
- ^
- ../examples/1d_stencil/1d_stencil_channel.cpp:140:9: error: no matching function for call to object of type 'const struct for_each_t'
- hpx::ranges::for_each(
- ^~~~~~~~~~~~~~~~~~~~~
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:275:60: note: candidate template ignored: requirement 'is_tag_invocable_v<hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<hpx::parallel::execution::restricted_policy_executor<hpx::launch>>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>' was not satisfied [with Args = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>]
- HPX_HOST_DEVICE HPX_FORCEINLINE constexpr auto operator()(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:290:60: note: candidate template ignored: substitution failure [with Args = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>, $1 = void]: no type named 'type' in 'hpx::util::invoke_result<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t, hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>'
- HPX_HOST_DEVICE HPX_FORCEINLINE constexpr auto operator()(
- ^
- In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:16:
- In file included from ../examples/1d_stencil/stencil.hpp:11:
- In file included from ../libs/full/include/include/hpx/include/compute.hpp:10:
- In file included from ../libs/full/compute/include/hpx/compute/host.hpp:11:
- In file included from ../libs/full/compute/include/hpx/compute/host/distributed_target.hpp:15:
- In file included from ../libs/full/compute/include/hpx/compute/host/get_targets.hpp:14:
- In file included from libs/core/compute_local/include/hpx/modules/compute_local.hpp:14:
- In file included from ../libs/core/compute_local/include/hpx/compute_local/host.hpp:11:
- In file included from ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:25:
- In file included from ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:418:
- ../libs/core/algorithms/include/hpx/parallel/algorithms/for_each.hpp:524:17: error: 'decltype(auto)' in return type deduced as 'hpx::execution::experimental::detail::then_sender<std::vector<hpx::future<void>>, (lambda at ../libs/core/algorithms/include/hpx/parallel/util/foreach_partitioner.hpp:164:21)>' here but deduced as 'hpx::util::counting_iterator<unsigned long>' in earlier return statement
- return result_t::get(util::foreach_partitioner<ExPolicy>::call(
- ^
- ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:180:46: note: in instantiation of function template specialization 'hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>::parallel<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
- using result = decltype(Derived::parallel(
- ^
- ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:201:20: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call2<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
- return call2(HPX_FORWARD(ExPolicy, policy), is_seq(),
- ^
- ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:540:64: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
- return parallel::detail::for_each<iterator_type>().call(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:133:33: note: in instantiation of function template specialization 'hpx::ranges::tag_fallback_invoke<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity, 42, 0>' requested here
- -> decltype(tag_fallback_invoke(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:28:17: note: while substituting deduced template arguments into function template 'operator()' [with Tag = hpx::ranges::for_each_t, Ts = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21)>]
- HPX_INVOKE(std::declval<F>(), std::declval<Ts>()...))>>
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/invoke.hpp:141:6: note: expanded from macro 'HPX_INVOKE'
- (::hpx::util::detail::invoke<decltype((F))>(F)(__VA_ARGS__))
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- struct invoke_result : detail::invoke_result_impl<F && (Ts && ...)>
- ^
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:202:23: note: in instantiation of function template specialization 'hpx::compute::host::detail::policy_allocator<double, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size>, void>::bulk_destroy<double>' requested here
- alloc.bulk_destroy(p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:211:27: note: in instantiation of function template specialization 'hpx::compute::traits::detail::bulk_destroy::call<hpx::compute::host::block_allocator<double>>' requested here
- bulk_destroy::call(0, alloc, p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:295:25: note: in instantiation of function template specialization 'hpx::compute::traits::detail::call_bulk_destroy<hpx::compute::host::block_allocator<double>>' requested here
- detail::call_bulk_destroy(alloc, p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/vector.hpp:157:31: note: in instantiation of member function 'hpx::compute::traits::allocator_traits<hpx::compute::host::block_allocator<double>>::bulk_destroy' requested here
- alloc_traits::bulk_destroy(alloc_, data_, size_);
- ^
- /opt/apps/llvm/14.0.4/bin/../include/c++/v1/array:129:29: note: in instantiation of member function 'hpx::compute::vector<double, hpx::compute::host::block_allocator<double>>::~vector' requested here
- struct _LIBCPP_TEMPLATE_VIS array
- ^
- In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:15:
- In file included from ../examples/1d_stencil/communicator.hpp:10:
- In file included from ../libs/full/include/include/hpx/include/lcos.hpp:22:
- In file included from ../libs/full/collectives/include/hpx/collectives/reduce.hpp:226:
- In file included from ../libs/core/algorithms/include/hpx/parallel/algorithms/reduce.hpp:362:
- ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:191:44: error: no matching function for call to 'parallel'
- return result_handler::get(Derived::parallel(
- ^~~~~~~~~~~~~~~~~
- ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:201:20: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call2<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
- return call2(HPX_FORWARD(ExPolicy, policy), is_seq(),
- ^
- ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:540:64: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
- return parallel::detail::for_each<iterator_type>().call(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:133:33: note: in instantiation of function template specialization 'hpx::ranges::tag_fallback_invoke<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity, 42, 0>' requested here
- -> decltype(tag_fallback_invoke(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:28:17: note: while substituting deduced template arguments into function template 'operator()' [with Tag = hpx::ranges::for_each_t, Ts = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21)>]
- HPX_INVOKE(std::declval<F>(), std::declval<Ts>()...))>>
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/invoke.hpp:141:6: note: expanded from macro 'HPX_INVOKE'
- (::hpx::util::detail::invoke<decltype((F))>(F)(__VA_ARGS__))
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: during template argument deduction for class template partial specialization 'invoke_result_impl<F (Ts...)>' [with F = const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&, Ts = <hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21) &&>]
- struct invoke_result : detail::invoke_result_impl<F && (Ts && ...)>
- ^
- ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:202:23: note: in instantiation of function template specialization 'hpx::compute::host::detail::policy_allocator<double, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size>, void>::bulk_destroy<double>' requested here
- alloc.bulk_destroy(p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:211:27: note: in instantiation of function template specialization 'hpx::compute::traits::detail::bulk_destroy::call<hpx::compute::host::block_allocator<double>>' requested here
- bulk_destroy::call(0, alloc, p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:295:25: note: in instantiation of function template specialization 'hpx::compute::traits::detail::call_bulk_destroy<hpx::compute::host::block_allocator<double>>' requested here
- detail::call_bulk_destroy(alloc, p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/vector.hpp:157:31: note: in instantiation of member function 'hpx::compute::traits::allocator_traits<hpx::compute::host::block_allocator<double>>::bulk_destroy' requested here
- alloc_traits::bulk_destroy(alloc_, data_, size_);
- ^
- /opt/apps/llvm/14.0.4/bin/../include/c++/v1/array:129:29: note: in instantiation of member function 'hpx::compute::vector<double, hpx::compute::host::block_allocator<double>>::~vector' requested here
- struct _LIBCPP_TEMPLATE_VIS array
- ^
- ../libs/core/algorithms/include/hpx/parallel/algorithms/for_each.hpp:503:35: note: candidate template ignored: substitution failure [with ExPolicy = hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, FwdIterB = hpx::util::counting_iterator<unsigned long>, FwdIterE = hpx::util::counting_iterator<unsigned long>, F = (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), Proj = hpx::identity]
- static decltype(auto) parallel(ExPolicy&& policy, FwdIterB first,
- ^
- In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:16:
- In file included from ../examples/1d_stencil/stencil.hpp:11:
- In file included from ../libs/full/include/include/hpx/include/compute.hpp:10:
- In file included from ../libs/full/compute/include/hpx/compute/host.hpp:11:
- In file included from ../libs/full/compute/include/hpx/compute/host/distributed_target.hpp:15:
- In file included from ../libs/full/compute/include/hpx/compute/host/get_targets.hpp:14:
- In file included from libs/core/compute_local/include/hpx/modules/compute_local.hpp:14:
- In file included from ../libs/core/compute_local/include/hpx/compute_local/host.hpp:11:
- ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:218:17: error: no matching function for call to object of type 'const struct for_each_t'
- hpx::ranges::for_each(policy_, irange,
- ^~~~~~~~~~~~~~~~~~~~~
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:202:23: note: in instantiation of function template specialization 'hpx::compute::host::detail::policy_allocator<double, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size>, void>::bulk_destroy<double>' requested here
- alloc.bulk_destroy(p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:211:27: note: in instantiation of function template specialization 'hpx::compute::traits::detail::bulk_destroy::call<hpx::compute::host::block_allocator<double>>' requested here
- bulk_destroy::call(0, alloc, p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:295:25: note: in instantiation of function template specialization 'hpx::compute::traits::detail::call_bulk_destroy<hpx::compute::host::block_allocator<double>>' requested here
- detail::call_bulk_destroy(alloc, p, count);
- ^
- ../libs/core/compute_local/include/hpx/compute_local/vector.hpp:157:31: note: in instantiation of member function 'hpx::compute::traits::allocator_traits<hpx::compute::host::block_allocator<double>>::bulk_destroy' requested here
- alloc_traits::bulk_destroy(alloc_, data_, size_);
- ^
- /opt/apps/llvm/14.0.4/bin/../include/c++/v1/array:129:29: note: in instantiation of member function 'hpx::compute::vector<double, hpx::compute::host::block_allocator<double>>::~vector' requested here
- struct _LIBCPP_TEMPLATE_VIS array
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:275:60: note: candidate template ignored: requirement 'is_tag_invocable_v<hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<hpx::parallel::execution::restricted_policy_executor<hpx::launch>>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21) &&>' was not satisfied [with Args = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21)>]
- HPX_HOST_DEVICE HPX_FORCEINLINE constexpr auto operator()(
- ^
- ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:290:60: note: candidate template ignored: substitution failure [with Args = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21)>, $1 = void]: no type named 'type' in 'hpx::util::invoke_result<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t, hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21) &&>'
- HPX_HOST_DEVICE HPX_FORCEINLINE constexpr auto operator()(
- ^
- 6 errors generated.
- ninja: build stopped: subcommand failed.
- [satacker@medusa00 build]$
Advertisement
Add Comment
Please, Sign In to add comment