-
-
Save NK-Nikunj/108b443e0f84ab91790565434d677b40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 16%] Building CXX object CMakeFiles/fast_stencil.dir/fast_stencil.cpp.o | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:12, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/input_archive.hpp: In instantiation of ‘void hpx::serialization::input_archive::load_integral(T&, std::true_type) [with T = const long unsigned int; std::true_type = std::integral_constant<bool, true>]’: | |
/usr/local/include/hpx/serialization/input_archive.hpp:89:13: required from ‘typename std::enable_if<(std::is_integral<_Tp>::value || std::is_enum<_Tp>::value)>::type hpx::serialization::input_archive::load(T&) [with T = const long unsigned int; typename std::enable_if<(std::is_integral<_Tp>::value || std::is_enum<_Tp>::value)>::type = void]’ | |
/usr/local/include/hpx/serialization/input_archive.hpp:71:13: required from ‘void hpx::serialization::input_archive::invoke_impl(T&) [with T = const long unsigned int]’ | |
/usr/local/include/hpx/serialization/basic_archive.hpp:76:13: required from ‘void hpx::serialization::basic_archive<Archive>::invoke(T&) [with T = const long unsigned int; Archive = hpx::serialization::input_archive]’ | |
/usr/local/include/hpx/serialization/serialize.hpp:41:9: required from ‘hpx::serialization::input_archive& hpx::serialization::operator&(hpx::serialization::input_archive&, T&) [with T = const long unsigned int]’ | |
/home/nk/codes/trials/fast_stencil.cpp:109:12: required from ‘void partition_data::serialize(Archive&, unsigned int) const [with Archive = hpx::serialization::input_archive]’ | |
/usr/local/include/hpx/serialization/access.hpp:214:21: [ skipping 48 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] | |
/usr/local/include/hpx/async_distributed/detail/async_colocated.hpp:88:73: required from ‘hpx::lcos::future<typename hpx::traits::promise_local_result<typename hpx::traits::extract_action<Action>::remote_result_type>::type> hpx::detail::async_colocated(const hpx::naming::id_type&, Ts&& ...) [with Action = hpx::components::server::create_component_action<partition_server, partition_data>; Ts = {partition_data}; typename hpx::traits::promise_local_result<typename hpx::traits::extract_action<Action>::remote_result_type>::type = hpx::naming::id_type]’ | |
/usr/local/include/hpx/runtime/components/stubs/stub_base.hpp:112:61: required from ‘static hpx::lcos::future<hpx::naming::id_type> hpx::components::stub_base<ServerComponent>::create_colocated_async(const hpx::naming::id_type&, Ts&& ...) [with Ts = {partition_data}; ServerComponent = partition_server]’ | |
/usr/local/include/hpx/runtime/components/colocating_distribution_policy.hpp:93:76: required from ‘hpx::lcos::future<hpx::naming::id_type> hpx::components::colocating_distribution_policy::create(Ts&& ...) const [with Component = partition_server; Ts = {partition_data}]’ | |
/usr/local/include/hpx/runtime/components/new.hpp:275:81: required from ‘static hpx::components::detail::new_component<Component>::type hpx::components::detail::new_component<Component>::call(const DistPolicy&, Ts&& ...) [with DistPolicy = hpx::components::colocating_distribution_policy; Ts = {partition_data}; Component = partition_server; hpx::components::detail::new_component<Component>::type = hpx::lcos::future<hpx::naming::id_type>]’ | |
/usr/local/include/hpx/runtime/components/new.hpp:438:54: required from ‘typename hpx::util::lazy_enable_if<(hpx::traits::is_component_or_component_array<Component>::value && hpx::traits::is_distribution_policy<DistPolicy>::value), hpx::components::detail::new_component<Component> >::type hpx::components::new_(const DistPolicy&, Ts&& ...) [with Component = partition_server; DistPolicy = hpx::components::colocating_distribution_policy; Ts = {partition_data}; typename hpx::util::lazy_enable_if<(hpx::traits::is_component_or_component_array<Component>::value && hpx::traits::is_distribution_policy<DistPolicy>::value), hpx::components::detail::new_component<Component> >::type = hpx::lcos::future<hpx::naming::id_type>]’ | |
/home/nk/codes/trials/fast_stencil.cpp:219:85: required from here | |
/usr/local/include/hpx/serialization/input_archive.hpp:177:17: error: assignment of read-only reference ‘val’ | |
val = static_cast<T>(ul); | |
~~~~^~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp: In instantiation of ‘void hpx::serialization::detail::serialize_force_adl(hpx::serialization::input_archive&, T&, unsigned int) [with T = const std::vector<double>]’: | |
/usr/local/include/hpx/serialization/access.hpp:85:40: required from ‘static void hpx::serialization::serialize_non_intrusive<T, typename std::enable_if<hpx::serialization::has_serialize_adl<T>::value>::type>::call(Archive&, T&, unsigned int) [with Archive = hpx::serialization::input_archive; T = const std::vector<double>]’ | |
/usr/local/include/hpx/serialization/access.hpp:195:53: required from ‘static void hpx::serialization::access::serialize_dispatcher<T>::non_intrusive::call(Archive&, T&, unsigned int) [with Archive = hpx::serialization::input_archive; T = const std::vector<double>]’ | |
/usr/local/include/hpx/serialization/access.hpp:233:48: required from ‘static void hpx::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = hpx::serialization::input_archive; T = const std::vector<double>]’ | |
/usr/local/include/hpx/serialization/input_archive.hpp:155:30: required from ‘void hpx::serialization::input_archive::load_nonintrusively_polymorphic(T&, std::false_type) [with T = const std::vector<double>; std::false_type = std::integral_constant<bool, false>]’ | |
/usr/local/include/hpx/serialization/input_archive.hpp:133:13: required from ‘void hpx::serialization::input_archive::load_bitwise(T&, std::false_type) [with T = const std::vector<double>; std::false_type = std::integral_constant<bool, false>]’ | |
/usr/local/include/hpx/serialization/input_archive.hpp:81:13: [ skipping 53 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] | |
/usr/local/include/hpx/async_distributed/detail/async_colocated.hpp:88:73: required from ‘hpx::lcos::future<typename hpx::traits::promise_local_result<typename hpx::traits::extract_action<Action>::remote_result_type>::type> hpx::detail::async_colocated(const hpx::naming::id_type&, Ts&& ...) [with Action = hpx::components::server::create_component_action<partition_server, partition_data>; Ts = {partition_data}; typename hpx::traits::promise_local_result<typename hpx::traits::extract_action<Action>::remote_result_type>::type = hpx::naming::id_type]’ | |
/usr/local/include/hpx/runtime/components/stubs/stub_base.hpp:112:61: required from ‘static hpx::lcos::future<hpx::naming::id_type> hpx::components::stub_base<ServerComponent>::create_colocated_async(const hpx::naming::id_type&, Ts&& ...) [with Ts = {partition_data}; ServerComponent = partition_server]’ | |
/usr/local/include/hpx/runtime/components/colocating_distribution_policy.hpp:93:76: required from ‘hpx::lcos::future<hpx::naming::id_type> hpx::components::colocating_distribution_policy::create(Ts&& ...) const [with Component = partition_server; Ts = {partition_data}]’ | |
/usr/local/include/hpx/runtime/components/new.hpp:275:81: required from ‘static hpx::components::detail::new_component<Component>::type hpx::components::detail::new_component<Component>::call(const DistPolicy&, Ts&& ...) [with DistPolicy = hpx::components::colocating_distribution_policy; Ts = {partition_data}; Component = partition_server; hpx::components::detail::new_component<Component>::type = hpx::lcos::future<hpx::naming::id_type>]’ | |
/usr/local/include/hpx/runtime/components/new.hpp:438:54: required from ‘typename hpx::util::lazy_enable_if<(hpx::traits::is_component_or_component_array<Component>::value && hpx::traits::is_distribution_policy<DistPolicy>::value), hpx::components::detail::new_component<Component> >::type hpx::components::new_(const DistPolicy&, Ts&& ...) [with Component = partition_server; DistPolicy = hpx::components::colocating_distribution_policy; Ts = {partition_data}; typename hpx::util::lazy_enable_if<(hpx::traits::is_component_or_component_array<Component>::value && hpx::traits::is_distribution_policy<DistPolicy>::value), hpx::components::detail::new_component<Component> >::type = hpx::lcos::future<hpx::naming::id_type>]’ | |
/home/nk/codes/trials/fast_stencil.cpp:219:85: required from here | |
/usr/local/include/hpx/serialization/access.hpp:36:22: error: no matching function for call to ‘serialize(hpx::serialization::input_archive&, const std::vector<double>&, int)’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/functional/deferred_call.hpp:13, | |
from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:12, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/datastructures/member_pack.hpp:126:26: note: candidate: ‘template<class Archive, long unsigned int ...Is, class ... Ts> void hpx::serialization::serialize(Archive&, hpx::util::member_pack<hpx::util::pack_c<long unsigned int, Right ...>, Ts ...>&, unsigned int)’ | |
HPX_FORCEINLINE void serialize(Archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/datastructures/member_pack.hpp:126:26: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::member_pack<hpx::util::pack_c<long unsigned int, Right ...>, Ts ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:12, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/functional/deferred_call.hpp:218:26: note: candidate: ‘template<class Archive, class F, class ... Ts> void hpx::serialization::serialize(Archive&, hpx::util::detail::deferred<F, Ts ...>&, unsigned int)’ | |
HPX_FORCEINLINE void serialize(Archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/functional/deferred_call.hpp:218:26: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::detail::deferred<F, Ts ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/functional/bind.hpp:13, | |
from /usr/local/include/hpx/futures/detail/future_data.hpp:12, | |
from /usr/local/include/hpx/futures/future.hpp:17, | |
from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:15, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/functional/one_shot.hpp:180:10: note: candidate: ‘template<class Archive, class F> void hpx::serialization::serialize(Archive&, hpx::util::detail::one_shot_wrapper<F>&, unsigned int)’ | |
void serialize(Archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/functional/one_shot.hpp:180:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::detail::one_shot_wrapper<F>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/futures/detail/future_data.hpp:12, | |
from /usr/local/include/hpx/futures/future.hpp:17, | |
from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:15, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/functional/bind.hpp:305:10: note: candidate: ‘template<class Archive, class F, class ... Ts> void hpx::serialization::serialize(Archive&, hpx::util::detail::bound<F, Ts ...>&, unsigned int)’ | |
void serialize(Archive& ar, ::hpx::util::detail::bound<F, Ts...>& bound, | |
^~~~~~~~~ | |
/usr/local/include/hpx/functional/bind.hpp:305:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::detail::bound<F, Ts ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/futures/detail/future_data.hpp:12, | |
from /usr/local/include/hpx/futures/future.hpp:17, | |
from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:15, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/functional/bind.hpp:313:10: note: candidate: ‘template<class Archive, long unsigned int I> void hpx::serialization::serialize(Archive&, hpx::util::detail::placeholder<I>&, unsigned int)’ | |
void serialize(Archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/functional/bind.hpp:313:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::detail::placeholder<I>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/functional.hpp:17, | |
from /usr/local/include/hpx/threading_base/scheduler_base.hpp:14, | |
from /usr/local/include/hpx/threading_base/register_thread.hpp:16, | |
from /usr/local/include/hpx/threading_base/thread_helpers.hpp:17, | |
from /usr/local/include/hpx/threading_base/annotated_function.hpp:16, | |
from /usr/local/include/hpx/modules/threading_base.hpp:14, | |
from /usr/local/include/hpx/synchronization/mutex.hpp:14, | |
from /usr/local/include/hpx/synchronization/condition_variable.hpp:16, | |
from /usr/local/include/hpx/futures/detail/future_data.hpp:19, | |
from /usr/local/include/hpx/futures/future.hpp:17, | |
from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:15, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/functional/bind_back.hpp:215:10: note: candidate: ‘template<class Archive, class F, class ... Ts> void hpx::serialization::serialize(Archive&, hpx::util::detail::bound_back<F, Ts ...>&, unsigned int)’ | |
void serialize(Archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/functional/bind_back.hpp:215:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::detail::bound_back<F, Ts ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/functional.hpp:18, | |
from /usr/local/include/hpx/threading_base/scheduler_base.hpp:14, | |
from /usr/local/include/hpx/threading_base/register_thread.hpp:16, | |
from /usr/local/include/hpx/threading_base/thread_helpers.hpp:17, | |
from /usr/local/include/hpx/threading_base/annotated_function.hpp:16, | |
from /usr/local/include/hpx/modules/threading_base.hpp:14, | |
from /usr/local/include/hpx/synchronization/mutex.hpp:14, | |
from /usr/local/include/hpx/synchronization/condition_variable.hpp:16, | |
from /usr/local/include/hpx/futures/detail/future_data.hpp:19, | |
from /usr/local/include/hpx/futures/future.hpp:17, | |
from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:15, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/functional/bind_front.hpp:217:10: note: candidate: ‘template<class Archive, class F, class ... Ts> void hpx::serialization::serialize(Archive&, hpx::util::detail::bound_front<F, Ts ...>&, unsigned int)’ | |
void serialize(Archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/functional/bind_front.hpp:217:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::detail::bound_front<F, Ts ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/exception_ptr.hpp:71:5: note: candidate: ‘void hpx::serialization::serialize(hpx::serialization::input_archive&, std::__exception_ptr::exception_ptr&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE(std::exception_ptr) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/exception_ptr.hpp:71:5: note: no known conversion for argument 2 from ‘const std::vector<double>’ to ‘std::__exception_ptr::exception_ptr&’ | |
/usr/local/include/hpx/serialization/exception_ptr.hpp:71:5: note: candidate: ‘void hpx::serialization::serialize(hpx::serialization::output_archive&, std::__exception_ptr::exception_ptr&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE(std::exception_ptr) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/exception_ptr.hpp:71:5: note: no known conversion for argument 2 from ‘const std::vector<double>’ to ‘std::__exception_ptr::exception_ptr&’ | |
In file included from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:15, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/futures/future.hpp:1510:26: note: candidate: ‘template<class Archive, class T> void hpx::serialization::serialize(Archive&, hpx::lcos::future<U>&, unsigned int)’ | |
HPX_FORCEINLINE void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/futures/future.hpp:1510:26: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::lcos::future<U>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/execution/detail/async_launch_policy_dispatch.hpp:15, | |
from /usr/local/include/hpx/executors/async.hpp:13, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/futures/future.hpp:1517:26: note: candidate: ‘template<class Archive, class T> void hpx::serialization::serialize(Archive&, hpx::lcos::shared_future<U>&, unsigned int)’ | |
HPX_FORCEINLINE void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/futures/future.hpp:1517:26: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::lcos::shared_future<U>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/intrusive_ptr.hpp:35:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::output_archive&, boost::intrusive_ptr<T>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/intrusive_ptr.hpp:35:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::intrusive_ptr<T>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/intrusive_ptr.hpp:35:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::input_archive&, boost::intrusive_ptr<T>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/intrusive_ptr.hpp:35:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::intrusive_ptr<T>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:33, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/valarray.hpp:33:10: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::valarray<_Tp>&, int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/valarray.hpp:33:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::valarray<_Tp>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:33, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/valarray.hpp:19:10: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::valarray<_Tp>&, int)’ | |
void serialize(input_archive& ar, std::valarray<T>& arr, int /* version */) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/valarray.hpp:19:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::valarray<_Tp>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/boost_variant.hpp:101:5: note: candidate: ‘template<class ... T> void hpx::serialization::serialize(hpx::serialization::output_archive&, boost::variant<T ...>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/boost_variant.hpp:101:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::variant<T ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/boost_variant.hpp:101:5: note: candidate: ‘template<class ... T> void hpx::serialization::serialize(hpx::serialization::input_archive&, boost::variant<T ...>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/boost_variant.hpp:101:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::variant<T ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:30, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/unordered_map.hpp:45:10: note: candidate: ‘template<class Key, class Value, class Hash, class KeyEqual, class Alloc> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, unsigned int)’ | |
void serialize(output_archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/unordered_map.hpp:45:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:30, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/unordered_map.hpp:22:10: note: candidate: ‘template<class Key, class Value, class Hash, class KeyEqual, class Alloc> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&, unsigned int)’ | |
void serialize(input_archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/unordered_map.hpp:22:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:28, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/std_tuple.hpp:48:10: note: candidate: ‘template<class Archive> void hpx::serialization::serialize(Archive&, std::tuple<>&, unsigned int)’ | |
void serialize(Archive& ar, std::tuple<>&, unsigned int) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/std_tuple.hpp:48:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: cannot convert ‘t’ (type ‘const std::vector<double>’) to type ‘std::tuple<>&’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:28, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/std_tuple.hpp:40:10: note: candidate: ‘template<class Archive, class ... Ts> void hpx::serialization::serialize(Archive&, std::tuple<_Elements ...>&, unsigned int)’ | |
void serialize(Archive& ar, std::tuple<Ts...>& t, unsigned int version) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/std_tuple.hpp:40:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::tuple<_Elements ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:25, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/set.hpp:36:10: note: candidate: ‘template<class T, class Compare, class Allocator> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::set<_Key, _Compare, _Alloc>&, unsigned int)’ | |
void serialize(output_archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/set.hpp:36:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::set<_Key, _Compare, _Alloc>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:25, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/set.hpp:19:10: note: candidate: ‘template<class T, class Compare, class Allocator> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::set<_Key, _Compare, _Alloc>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/set.hpp:19:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::set<_Key, _Compare, _Alloc>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/optional.hpp:44:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::output_archive&, hpx::util::optional<T>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/optional.hpp:44:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::optional<T>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/optional.hpp:44:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::input_archive&, hpx::util::optional<T>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/optional.hpp:44:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::optional<T>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/multi_array.hpp:39:5: note: candidate: ‘template<class T, long unsigned int N, class Allocator> void hpx::serialization::serialize(hpx::serialization::output_archive&, boost::multi_array<T, N, Allocator>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/multi_array.hpp:39:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::multi_array<T, N, Allocator>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/multi_array.hpp:39:5: note: candidate: ‘template<class T, long unsigned int N, class Allocator> void hpx::serialization::serialize(hpx::serialization::input_archive&, boost::multi_array<T, N, Allocator>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/multi_array.hpp:39:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::multi_array<T, N, Allocator>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:21, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/list.hpp:30:10: note: candidate: ‘template<class T, class Allocator> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::__cxx11::list<_Tp, _Alloc>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/list.hpp:30:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::__cxx11::list<_Tp, _Alloc>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:21, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/list.hpp:18:10: note: candidate: ‘template<class T, class Allocator> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::__cxx11::list<_Tp, _Alloc>&, unsigned int)’ | |
void serialize(input_archive& ar, std::list<T, Allocator>& ls, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/list.hpp:18:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::__cxx11::list<_Tp, _Alloc>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:19, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/dynamic_bitset.hpp:34:10: note: candidate: ‘template<class Block, class Alloc> void hpx::serialization::serialize(hpx::serialization::input_archive&, boost::dynamic_bitset<Block, Allocator>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/dynamic_bitset.hpp:34:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::dynamic_bitset<Block, Allocator>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:19, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/dynamic_bitset.hpp:22:10: note: candidate: ‘template<class Block, class Alloc> void hpx::serialization::serialize(hpx::serialization::output_archive&, const boost::dynamic_bitset<Block, Allocator>&, unsigned int)’ | |
void serialize(output_archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/dynamic_bitset.hpp:22:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const boost::dynamic_bitset<Block, Allocator>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:18, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/deque.hpp:30:10: note: candidate: ‘template<class T, class Allocator> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::deque<_Tp, _Alloc>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/deque.hpp:30:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::deque<_Tp, _Alloc>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:18, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/deque.hpp:18:10: note: candidate: ‘template<class T, class Allocator> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::deque<_Tp, _Alloc>&, unsigned int)’ | |
void serialize(input_archive& ar, std::deque<T, Allocator>& d, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/deque.hpp:18:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::deque<_Tp, _Alloc>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:16, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/complex.hpp:27:10: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::complex<_Tp>&, unsigned int)’ | |
void serialize(output_archive& ar, std::complex<T> const& c, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/complex.hpp:27:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::complex<_Tp>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:16, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/complex.hpp:18:10: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::complex<_Tp>&, unsigned int)’ | |
void serialize(input_archive& ar, std::complex<T>& c, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/complex.hpp:18:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::complex<_Tp>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:15, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/bitset.hpp:26:10: note: candidate: ‘template<long unsigned int N> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::bitset<_Nb>&, unsigned int)’ | |
void serialize(output_archive& ar, std::bitset<N> const& bs, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/bitset.hpp:26:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::bitset<_Nb>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/modules/serialization.hpp:15, | |
from /usr/local/include/hpx/include/serialization.hpp:9, | |
from /home/nk/codes/trials/fast_stencil.cpp:14: | |
/usr/local/include/hpx/serialization/bitset.hpp:18:10: note: candidate: ‘template<long unsigned int N> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::bitset<_Nb>&, unsigned int)’ | |
void serialize(input_archive& ar, std::bitset<N>& d, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/bitset.hpp:18:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::bitset<_Nb>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/components/default_distribution_policy.hpp:25, | |
from /usr/local/include/hpx/runtime/components/new.hpp:14, | |
from /usr/local/include/hpx/collectives/detail/communicator.hpp:23, | |
from /usr/local/include/hpx/collectives/gather.hpp:196, | |
from /usr/local/include/hpx/include/lcos.hpp:18, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/vector.hpp:135:10: note: candidate: ‘template<class T, class Allocator> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::vector<_Tp, _Alloc>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/vector.hpp:135:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: cannot convert ‘ar’ (type ‘hpx::serialization::input_archive’) to type ‘hpx::serialization::output_archive&’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/components/default_distribution_policy.hpp:25, | |
from /usr/local/include/hpx/runtime/components/new.hpp:14, | |
from /usr/local/include/hpx/collectives/detail/communicator.hpp:23, | |
from /usr/local/include/hpx/collectives/gather.hpp:196, | |
from /usr/local/include/hpx/include/lcos.hpp:18, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/vector.hpp:119:10: note: candidate: ‘template<class Allocator> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::vector<bool, _Alloc>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/vector.hpp:119:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: mismatched types ‘bool’ and ‘double’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/components/default_distribution_policy.hpp:25, | |
from /usr/local/include/hpx/runtime/components/new.hpp:14, | |
from /usr/local/include/hpx/collectives/detail/communicator.hpp:23, | |
from /usr/local/include/hpx/collectives/gather.hpp:196, | |
from /usr/local/include/hpx/include/lcos.hpp:18, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/vector.hpp:82:10: note: candidate: ‘template<class T, class Allocator> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::vector<_Tp, _Alloc>&, unsigned int)’ | |
void serialize(input_archive& ar, std::vector<T, Allocator>& v, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/vector.hpp:82:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::vector<_Tp, _Alloc>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/components/default_distribution_policy.hpp:25, | |
from /usr/local/include/hpx/runtime/components/new.hpp:14, | |
from /usr/local/include/hpx/collectives/detail/communicator.hpp:23, | |
from /usr/local/include/hpx/collectives/gather.hpp:196, | |
from /usr/local/include/hpx/include/lcos.hpp:18, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/vector.hpp:62:10: note: candidate: ‘template<class Allocator> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::vector<bool, _Alloc>&, unsigned int)’ | |
void serialize(input_archive& ar, std::vector<bool, Allocator>& v, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/vector.hpp:62:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::vector<bool, _Alloc>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/serialization/vector.hpp:10, | |
from /usr/local/include/hpx/runtime/components/default_distribution_policy.hpp:25, | |
from /usr/local/include/hpx/runtime/components/new.hpp:14, | |
from /usr/local/include/hpx/collectives/detail/communicator.hpp:23, | |
from /usr/local/include/hpx/collectives/gather.hpp:196, | |
from /usr/local/include/hpx/include/lcos.hpp:18, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/array.hpp:115:10: note: candidate: ‘template<class Archive, class T, long unsigned int N> void hpx::serialization::serialize(Archive&, std::array<_Tp, _Nm>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/array.hpp:115:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::array<_Tp, _Nm>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/serialization/vector.hpp:10, | |
from /usr/local/include/hpx/runtime/components/default_distribution_policy.hpp:25, | |
from /usr/local/include/hpx/runtime/components/new.hpp:14, | |
from /usr/local/include/hpx/collectives/detail/communicator.hpp:23, | |
from /usr/local/include/hpx/collectives/gather.hpp:196, | |
from /usr/local/include/hpx/include/lcos.hpp:18, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/array.hpp:106:10: note: candidate: ‘template<class Archive, class T, long unsigned int N> void hpx::serialization::serialize(Archive&, boost::array<T, N>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/array.hpp:106:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::array<T, N>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/shared_ptr.hpp:55:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::output_archive&, std::shared_ptr<_Tp>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/shared_ptr.hpp:55:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::shared_ptr<_Tp>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/shared_ptr.hpp:55:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::shared_ptr<_Tp>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/shared_ptr.hpp:55:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::shared_ptr<_Tp>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/shared_ptr.hpp:39:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::output_archive&, boost::shared_ptr<X>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/shared_ptr.hpp:39:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::shared_ptr<X>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/shared_ptr.hpp:39:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::input_archive&, boost::shared_ptr<X>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/shared_ptr.hpp:39:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘boost::shared_ptr<X>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_distributed/async.hpp:33, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/util/bind_action.hpp:177:10: note: candidate: ‘template<class Archive, class F, class ... Ts> void hpx::serialization::serialize(Archive&, hpx::util::detail::bound_action<F, Ts ...>&, unsigned int)’ | |
void serialize(Archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/util/bind_action.hpp:177:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::detail::bound_action<F, Ts ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/parcelset/locality.hpp:16, | |
from /usr/local/include/hpx/runtime/parcelset/parcelhandler.hpp:22, | |
from /usr/local/include/hpx/runtime/parcelset/put_parcel.hpp:28, | |
from /usr/local/include/hpx/async_distributed/applier/apply.hpp:25, | |
from /usr/local/include/hpx/lcos/packaged_action.hpp:16, | |
from /usr/local/include/hpx/async_distributed/async_continue.hpp:17, | |
from /usr/local/include/hpx/async_distributed/async.hpp:13, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/map.hpp:119:14: note: candidate: ‘template<class Key, class Value, class Comp, class Alloc> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::map<_Key, _Tp, _Compare, _Alloc>&, unsigned int)’ | |
void serialize(output_archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/map.hpp:119:14: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/parcelset/locality.hpp:16, | |
from /usr/local/include/hpx/runtime/parcelset/parcelhandler.hpp:22, | |
from /usr/local/include/hpx/runtime/parcelset/put_parcel.hpp:28, | |
from /usr/local/include/hpx/async_distributed/applier/apply.hpp:25, | |
from /usr/local/include/hpx/lcos/packaged_action.hpp:16, | |
from /usr/local/include/hpx/async_distributed/async_continue.hpp:17, | |
from /usr/local/include/hpx/async_distributed/async.hpp:13, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/map.hpp:100:14: note: candidate: ‘template<class Key, class Value, class Comp, class Alloc> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::map<_Key, _Tp, _Compare, _Alloc>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/map.hpp:100:14: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::map<_Key, _Tp, _Compare, _Alloc>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/parcelset/locality.hpp:16, | |
from /usr/local/include/hpx/runtime/parcelset/parcelhandler.hpp:22, | |
from /usr/local/include/hpx/runtime/parcelset/put_parcel.hpp:28, | |
from /usr/local/include/hpx/async_distributed/applier/apply.hpp:25, | |
from /usr/local/include/hpx/lcos/packaged_action.hpp:16, | |
from /usr/local/include/hpx/async_distributed/async_continue.hpp:17, | |
from /usr/local/include/hpx/async_distributed/async.hpp:13, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/map.hpp:89:14: note: candidate: ‘template<class Key, class Value> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::pair<_T1, _T2>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/map.hpp:89:14: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::pair<_T1, _T2>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/parcelset/locality.hpp:16, | |
from /usr/local/include/hpx/runtime/parcelset/parcelhandler.hpp:22, | |
from /usr/local/include/hpx/runtime/parcelset/put_parcel.hpp:28, | |
from /usr/local/include/hpx/async_distributed/applier/apply.hpp:25, | |
from /usr/local/include/hpx/lcos/packaged_action.hpp:16, | |
from /usr/local/include/hpx/async_distributed/async_continue.hpp:17, | |
from /usr/local/include/hpx/async_distributed/async.hpp:13, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/map.hpp:79:14: note: candidate: ‘template<class Key, class Value> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::pair<_T1, _T2>&, unsigned int)’ | |
void serialize(input_archive& ar, std::pair<Key, Value>& t, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/map.hpp:79:14: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::pair<_T1, _T2>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_distributed/applier/apply.hpp:20, | |
from /usr/local/include/hpx/lcos/packaged_action.hpp:16, | |
from /usr/local/include/hpx/async_distributed/async_continue.hpp:17, | |
from /usr/local/include/hpx/async_distributed/async.hpp:13, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/runtime/components/client_base.hpp:632:10: note: candidate: ‘template<class Archive, class Derived, class Stub> void hpx::serialization::serialize(Archive&, hpx::components::client_base<Derived, Stub>&, unsigned int)’ | |
void serialize(Archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/runtime/components/client_base.hpp:632:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::components::client_base<Derived, Stub>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/lcos/base_lco.hpp:10, | |
from /usr/local/include/hpx/lcos/base_lco_with_value.hpp:12, | |
from /usr/local/include/hpx/lcos/detail/promise_lco.hpp:13, | |
from /usr/local/include/hpx/lcos/detail/promise_base.hpp:16, | |
from /usr/local/include/hpx/lcos/promise.hpp:14, | |
from /usr/local/include/hpx/lcos/packaged_action.hpp:14, | |
from /usr/local/include/hpx/async_distributed/async_continue.hpp:17, | |
from /usr/local/include/hpx/async_distributed/async.hpp:13, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/runtime/actions/basic_action.hpp:601:10: note: candidate: ‘template<class Archive, class Component, class R, class ... Args, class Derived> void hpx::serialization::serialize(Archive&, hpx::actions::basic_action<Component, R(Args ...), Derived>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/runtime/actions/basic_action.hpp:601:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::actions::basic_action<Component, R(Args ...), Derived>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/actions/basic_action.hpp:36, | |
from /usr/local/include/hpx/lcos/base_lco.hpp:10, | |
from /usr/local/include/hpx/lcos/base_lco_with_value.hpp:12, | |
from /usr/local/include/hpx/lcos/detail/promise_lco.hpp:13, | |
from /usr/local/include/hpx/lcos/detail/promise_base.hpp:16, | |
from /usr/local/include/hpx/lcos/promise.hpp:14, | |
from /usr/local/include/hpx/lcos/packaged_action.hpp:14, | |
from /usr/local/include/hpx/async_distributed/async_continue.hpp:17, | |
from /usr/local/include/hpx/async_distributed/async.hpp:13, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/tuple.hpp:96:10: note: candidate: ‘template<class Archive> void hpx::serialization::serialize(Archive&, hpx::util::tuple<>&, unsigned int)’ | |
void serialize(Archive& ar, hpx::util::tuple<>&, unsigned) | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/tuple.hpp:96:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: cannot convert ‘t’ (type ‘const std::vector<double>’) to type ‘hpx::util::tuple<>&’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/runtime/actions/basic_action.hpp:36, | |
from /usr/local/include/hpx/lcos/base_lco.hpp:10, | |
from /usr/local/include/hpx/lcos/base_lco_with_value.hpp:12, | |
from /usr/local/include/hpx/lcos/detail/promise_lco.hpp:13, | |
from /usr/local/include/hpx/lcos/detail/promise_base.hpp:16, | |
from /usr/local/include/hpx/lcos/promise.hpp:14, | |
from /usr/local/include/hpx/lcos/packaged_action.hpp:14, | |
from /usr/local/include/hpx/async_distributed/async_continue.hpp:17, | |
from /usr/local/include/hpx/async_distributed/async.hpp:13, | |
from /usr/local/include/hpx/include/async.hpp:13, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/tuple.hpp:87:10: note: candidate: ‘template<class Archive, class ... Ts> void hpx::serialization::serialize(Archive&, hpx::util::tuple<Ts ...>&, unsigned int)’ | |
void serialize( | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/tuple.hpp:87:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘hpx::util::tuple<Ts ...>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/unique_ptr.hpp:31:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::output_archive&, std::unique_ptr<_Tp>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/unique_ptr.hpp:31:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::unique_ptr<_Tp>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/async_base/launch_policy.hpp:13, | |
from /usr/local/include/hpx/executors/async.hpp:11, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/unique_ptr.hpp:31:5: note: candidate: ‘template<class T> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::unique_ptr<_Tp>&, unsigned int)’ | |
HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/hpx/serialization/unique_ptr.hpp:31:5: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::unique_ptr<_Tp>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/serialization/detail/pointer.hpp:18, | |
from /usr/local/include/hpx/serialization/detail/raw_ptr.hpp:9, | |
from /usr/local/include/hpx/serialization/input_archive.hpp:14, | |
from /usr/local/include/hpx/serialization/serialize.hpp:12, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/string.hpp:34:10: note: candidate: ‘template<class Char, class CharTraits, class Allocator> void hpx::serialization::serialize(hpx::serialization::output_archive&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, unsigned int)’ | |
void serialize(output_archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/string.hpp:34:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: ‘const std::vector<double>’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
In file included from /usr/local/include/hpx/serialization/detail/pointer.hpp:18, | |
from /usr/local/include/hpx/serialization/detail/raw_ptr.hpp:9, | |
from /usr/local/include/hpx/serialization/input_archive.hpp:14, | |
from /usr/local/include/hpx/serialization/serialize.hpp:12, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/string.hpp:19:10: note: candidate: ‘template<class Char, class CharTraits, class Allocator> void hpx::serialization::serialize(hpx::serialization::input_archive&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, unsigned int)’ | |
void serialize(input_archive& ar, | |
^~~~~~~~~ | |
/usr/local/include/hpx/serialization/string.hpp:19:10: note: template argument deduction/substitution failed: | |
In file included from /usr/local/include/hpx/serialization/serialize.hpp:11, | |
from /usr/local/include/hpx/execution/executors/static_chunk_size.hpp:13, | |
from /usr/local/include/hpx/executors/parallel_executor.hpp:20, | |
from /usr/local/include/hpx/executors/async.hpp:16, | |
from /usr/local/include/hpx/async_local/async.hpp:11, | |
from /usr/local/include/hpx/include/async.hpp:10, | |
from /usr/local/include/hpx/include/lcos.hpp:11, | |
from /usr/local/include/hpx/hpx.hpp:10, | |
from /home/nk/codes/trials/fast_stencil.cpp:7: | |
/usr/local/include/hpx/serialization/access.hpp:36:22: note: types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘const std::vector<double>’ have incompatible cv-qualifiers | |
serialize(ar, t, 0); | |
~~~~~~~~~^~~~~~~~~~ | |
make[2]: *** [CMakeFiles/fast_stencil.dir/build.make:63: CMakeFiles/fast_stencil.dir/fast_stencil.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/fast_stencil.dir/all] Error 2 | |
make: *** [Makefile:130: all] Error 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2020 Nikunj Gupta | |
// | |
// SPDX-License-Identifier: BSL-1.0 | |
// Distributed under the Boost Software License, Version 1.0. (See accompanying | |
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
#include <hpx/hpx.hpp> | |
#include <hpx/hpx_init.hpp> | |
#include <hpx/include/parallel_algorithm.hpp> | |
#include <hpx/modules/synchronization.hpp> | |
#include <boost/range/irange.hpp> | |
#include <hpx/include/serialization.hpp> | |
#include <hpx/serialization/vector.hpp> | |
#include <cstddef> | |
#include <cstdint> | |
#include <iostream> | |
#include <memory> | |
#include <utility> | |
#include <vector> | |
/////////////////////////////////////////////////////////////////////////////// | |
double const pi = std::acos(-1.0); | |
inline std::size_t locidx(std::size_t i, std::size_t np, std::size_t nl) | |
{ | |
return i / (np/nl); | |
} | |
/////////////////////////////////////////////////////////////////////////////// | |
// Our partition data type | |
struct partition_data | |
{ | |
public: | |
partition_data() = default; | |
partition_data(std::size_t size) | |
: data_(size) | |
, size_(size) | |
{ | |
} | |
partition_data(std::size_t subdomain_width, double subdomain_index, | |
std::size_t subdomains) | |
: data_(subdomain_width + 1) | |
, size_(subdomain_width + 1) | |
{ | |
for (std::size_t k = 0; k != subdomain_width + 1; ++k) | |
data_[k] = std::sin(2 * pi * | |
((0.0 + subdomain_width * subdomain_index + k) / | |
static_cast<double>(subdomain_width * subdomains))); | |
} | |
partition_data(const partition_data& other) | |
: data_(other.data_) | |
, size_(other.size_) | |
{ | |
} | |
partition_data(partition_data&& other) | |
: data_(std::move(other.data_)) | |
, size_(other.size_) | |
{ | |
} | |
double& operator[](std::size_t idx) | |
{ | |
return data_[idx]; | |
} | |
double operator[](std::size_t idx) const | |
{ | |
return data_[idx]; | |
} | |
friend std::vector<double>::const_iterator begin(const partition_data& v) | |
{ | |
return begin(v.data_); | |
} | |
friend std::vector<double>::const_iterator end(const partition_data& v) | |
{ | |
return end(v.data_); | |
} | |
std::size_t size() const | |
{ | |
return size_; | |
} | |
std::vector<double> data() const | |
{ | |
return data_; | |
} | |
void resize(std::size_t size) | |
{ | |
data_.resize(size); | |
size_ = size; | |
} | |
private: | |
friend class hpx::serialization::access; | |
template <typename Archive> | |
void serialize(Archive& ar, const unsigned int version) const | |
{ | |
ar & data_; | |
ar & size_; | |
} | |
private: | |
std::vector<double> data_; | |
std::size_t size_; | |
}; | |
std::ostream& operator<<(std::ostream& os, partition_data const& c) | |
{ | |
os << "{"; | |
for (std::size_t i = 0; i != c.size() - 1; ++i) | |
{ | |
if (i != 0) | |
os << ", "; | |
os << c[i]; | |
} | |
os << "}"; | |
return os; | |
} | |
/////////////////////////////////////////////////////////////////////////////// | |
// This is the server side representation of the data. We expose this as a HPX | |
// component which allows for it to be created and accessed remotely through | |
// a global address (hpx::id_type). | |
struct partition_server | |
: hpx::components::component_base<partition_server> | |
{ | |
enum partition_type | |
{ | |
left_partition, middle_partition, right_partition | |
}; | |
// construct new instances | |
partition_server() {} | |
partition_server(const partition_data& data) | |
: data_(data) | |
{} | |
partition_server(std::size_t size) | |
: data_(size) | |
{} | |
partition_server(std::size_t subdomain_width, | |
double subdomain_index, std::size_t subdomains) | |
: data_(subdomain_width, subdomain_index, subdomains) | |
{ | |
} | |
// access data | |
partition_data get_data(partition_type t) const | |
{ | |
switch (t) | |
{ | |
case left_partition: | |
return partition_data(data_); | |
case middle_partition: | |
break; | |
case right_partition: | |
return partition_data(data_); | |
default: | |
HPX_ASSERT(false); | |
} | |
return data_; | |
} | |
// Every member function which has to be invoked remotely needs to be | |
// wrapped into a component action. The macro below defines a new type | |
// 'get_data_action' which represents the (possibly remote) member function | |
// partition::get_data(). | |
HPX_DEFINE_COMPONENT_DIRECT_ACTION(partition_server, get_data, get_data_action); | |
private: | |
partition_data data_; | |
}; | |
// The macros below are necessary to generate the code required for exposing | |
// our partition type remotely. | |
// | |
// HPX_REGISTER_COMPONENT() exposes the component creation | |
// through hpx::new_<>(). | |
typedef hpx::components::component<partition_server> partition_server_type; | |
HPX_REGISTER_COMPONENT(partition_server_type, partition_server); | |
// HPX_REGISTER_ACTION() exposes the component member function for remote | |
// invocation. | |
typedef partition_server::get_data_action get_data_action; | |
HPX_REGISTER_ACTION(get_data_action); | |
/////////////////////////////////////////////////////////////////////////////// | |
// This is a client side helper class allowing to hide some of the tedious | |
// boilerplate. | |
struct partition : hpx::components::client_base<partition, partition_server> | |
{ | |
typedef hpx::components::client_base<partition, partition_server> base_type; | |
partition() {} | |
// Create new component on locality 'where' and initialize the held data | |
partition(hpx::id_type where, std::size_t subdomain_width, | |
double subdomain_index, std::size_t subdomains) | |
: base_type(hpx::new_<partition_server>(where, subdomain_width, subdomain_index, subdomains)) | |
{} | |
// Create a new component on the locality co-located to the id 'where'. The | |
// new instance will be initialized from the given partition_data. | |
partition(hpx::id_type where, partition_data && data) | |
: base_type(hpx::new_<partition_server>(hpx::colocated(where), std::move(data))) | |
{} | |
// Attach a future representing a (possibly remote) partition. | |
partition(hpx::future<hpx::id_type> && id) | |
: base_type(std::move(id)) | |
{} | |
// Unwrap a future<partition> (a partition already holds a future to the id of the | |
// referenced object, thus unwrapping accesses this inner future). | |
partition(hpx::future<partition> && c) | |
: base_type(std::move(c)) | |
{} | |
/////////////////////////////////////////////////////////////////////////// | |
// Invoke the (remote) member function which gives us access to the data. | |
// This is a pure helper function hiding the async. | |
hpx::future<partition_data> get_data(partition_server::partition_type t) const | |
{ | |
partition_server::get_data_action act; | |
return hpx::async(act, get_id(), t); | |
} | |
}; | |
/////////////////////////////////////////////////////////////////////////////// | |
struct stepper | |
{ | |
// Our data for one time step | |
// typedef hpx::shared_future<partition_data> partition; | |
typedef std::vector<partition> space; | |
// Our operator | |
static double stencil(double left, double center, double right) | |
{ | |
return 0.5 * (0.75) * left + (0.75) * center - 0.5 * (0.25) * right; | |
} | |
static partition_data heat_part_data(std::size_t sti, | |
partition_data const& left_input, partition_data const& center_input, | |
partition_data const& right_input) | |
{ | |
std::size_t const size = center_input.size() - 1; | |
partition_data workspace(size + 2 * sti + 1); | |
std::copy( | |
end(left_input) - sti - 1, end(left_input) - 1, &workspace[0]); | |
std::copy(begin(center_input), end(center_input) - 1, &workspace[sti]); | |
std::copy(begin(right_input), begin(right_input) + sti + 1, | |
&workspace[size + sti]); | |
for (std::size_t t = 0; t != sti; ++t) | |
{ | |
for (std::size_t k = 0; k != size + 2 * sti - 1 - 2 * t; ++k) | |
workspace[k] = | |
stencil(workspace[k], workspace[k + 1], workspace[k + 2]); | |
} | |
workspace.resize(size + 1); | |
return workspace; | |
} | |
// The partitioned operator, it invokes the heat operator above on all | |
// elements of a partition. | |
static partition heat_part(std::size_t sti, | |
partition const& left_input, partition const& center_input, | |
partition const& right_input) | |
{ | |
using hpx::dataflow; | |
using hpx::util::unwrapping; | |
return dataflow( | |
hpx::launch::async, | |
unwrapping( | |
[center_input, sti](partition_data const& l, partition_data const& m, | |
partition_data const& r) | |
{ | |
return partition(center_input.get_id(), heat_part_data(sti, l, m, r)); | |
} | |
), | |
left_input.get_data(partition_server::left_partition), | |
center_input.get_data(partition_server::middle_partition), | |
right_input.get_data(partition_server::right_partition) | |
); | |
} | |
space do_work(std::size_t subdomains, | |
std::size_t subdomain_width, std::size_t iterations, std::size_t sti, | |
std::uint64_t nd, hpx::lcos::local::sliding_semaphore& sem); | |
}; | |
// Global functions can be exposed as actions as well. That allows to invoke | |
// those remotely. The macro HPX_PLAIN_ACTION() defines a new action type | |
// 'heat_part_action' which wraps the global function heat_part(). It can be | |
// used to call that function on a given locality. | |
HPX_PLAIN_ACTION(stepper::heat_part, heat_part_action); | |
stepper::space stepper::do_work(std::size_t subdomains, | |
std::size_t subdomain_width, std::size_t iterations, std::size_t sti, | |
std::uint64_t nd, hpx::lcos::local::sliding_semaphore& sem) | |
{ | |
using hpx::dataflow; | |
using hpx::util::unwrapping; | |
std::vector<hpx::id_type> localities = hpx::find_all_localities(); | |
std::size_t nl = localities.size(); // Number of localities | |
// U[t][i] is the state of position i at time t. | |
std::vector<space> U(2); | |
for (space& s : U) | |
s.resize(subdomains); | |
for (std::size_t i=0; i != subdomains; ++i) | |
U[0][i] = partition(localities[i, subdomains, nl], subdomain_width, double(i), subdomains); | |
// auto Op = unwrapping(&stepper::heat_part_action()); | |
using hpx::util::placeholders::_1; | |
using hpx::util::placeholders::_2; | |
using hpx::util::placeholders::_3; | |
using hpx::util::placeholders::_4; | |
heat_part_action act; | |
// Actual time step loop | |
for (std::size_t t = 0; t != iterations; ++t) | |
{ | |
space const& current = U[t % 2]; | |
space& next = U[(t + 1) % 2]; | |
for (std::size_t i = 0; i != subdomains; ++i) | |
{ | |
auto Op = hpx::util::bind(act, localities[locidx(i, subdomains, nl)], _1, _2, _3, _4); | |
next[i] = dataflow(hpx::launch::async, Op, sti, | |
current[(i - 1 + subdomains) % subdomains], current[i], | |
current[(i + 1) % subdomains]); | |
} | |
} | |
// Return the solution at time-step 'iterations'. | |
return U[iterations % 2]; | |
} | |
/////////////////////////////////////////////////////////////////////////////// | |
int hpx_main(hpx::program_options::variables_map& vm) | |
{ | |
std::uint64_t subdomains = | |
vm["subdomains"].as<std::uint64_t>(); // Number of partitions. | |
std::uint64_t subdomain_width = | |
vm["subdomain-width"].as<std::uint64_t>(); // Number of grid points. | |
std::uint64_t iterations = | |
vm["iterations"].as<std::uint64_t>(); // Number of steps. | |
std::uint64_t nd = | |
vm["nd"].as<std::uint64_t>(); // Max depth of dep tree. | |
std::uint64_t sti = | |
vm["steps-per-iteration"] | |
.as<std::uint64_t>(); // Number of time steps per iteration | |
std::vector<hpx::id_type> localities = hpx::find_all_localities(); | |
std::size_t nl = localities.size(); | |
if (subdomains < nl) | |
{ | |
std::cout << "The number of subdomains should not be smaller than " | |
"the number of localities" << std::endl; | |
return hpx::finalize(); | |
} | |
// Create the stepper object | |
stepper step; | |
std::cout << "Starting 1d stencil with dataflow" << std::endl; | |
// Measure execution time. | |
std::uint64_t t = hpx::util::high_resolution_clock::now(); | |
{ | |
// limit depth of dependency tree | |
hpx::lcos::local::sliding_semaphore sem(nd); | |
stepper::space result = | |
step.do_work(subdomains, subdomain_width, iterations, sti, nd, sem); | |
for (std::size_t i=0; i != subdomains; ++i) | |
result[i].get_data(partition_server::middle_partition).wait(); | |
// stepper::space solution = result.get(); | |
// hpx::wait_all(solution); | |
} | |
std::cout << "Time elapsed: " | |
<< static_cast<double>( | |
hpx::util::high_resolution_clock::now() - t) / | |
1e9 | |
<< std::endl; | |
return hpx::finalize(); | |
} | |
int main(int argc, char* argv[]) | |
{ | |
using namespace hpx::program_options; | |
// Configure application-specific options. | |
options_description desc_commandline; | |
desc_commandline.add_options()( | |
"results", "print generated results (default: false)"); | |
desc_commandline.add_options()("subdomain-width", | |
value<std::uint64_t>()->default_value(128), | |
"Local x dimension (of each partition)"); | |
desc_commandline.add_options()("iterations", | |
value<std::uint64_t>()->default_value(10), "Number of time steps"); | |
desc_commandline.add_options()("steps-per-iteration", | |
value<std::uint64_t>()->default_value(16), | |
"Number of time steps per iterations"); | |
desc_commandline.add_options()("nd", | |
value<std::uint64_t>()->default_value(10), | |
"Number of time steps to allow the dependency tree to grow to"); | |
desc_commandline.add_options()("subdomains", | |
value<std::uint64_t>()->default_value(10), "Number of partitions"); | |
// Initialize and run HPX | |
return hpx::init(desc_commandline, argc, argv); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment