This program produces the same error:

#include <iostream>
#include <hpx/include/performance_counters.hpp>
#include <hpx/hpx_init.hpp>

bool discover_callback(hpx::performance_counters::counter_info const& 
c,hpx::error_code& ec) {
   std::cout << "counter: " << c.fullname_ << std::endl;
   return true;
}

int hpx_main(int argc,char **argv) {
   std::cout << "Counters:" << std::endl;
hpx::performance_counters::discover_counter_types(boost::bind(discover_callback,_1,_2));
   return hpx::finalize();
}
int main(int argc,char **argv) {
   return hpx::init(argc, argv);
}

On 10/07/2015 08:55 AM, Steven R. Brandt wrote:
> In the latest build of master I'm unable to call
> discover_counter_types(). I get this interesting message. As far as I
> know, I'm not using any actions. Any ideas what might be causing it?
>
> Cheers,
> Steve
>
> terminate called after throwing an instance of
> 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<hpx::exception>
>   >'
>     what():  action type  does not match any known type, known action types:
>     remote_reg_action
>     broadcast_remote_reg_action
>     luax_dataflow_action
>     get_value_action_unused_type
>     set_value_action_unused_type
>     get_value_action_vector_id_type
>     set_value_action_id_type
>     get_value_action_vector_gid_type
>     set_value_action_vector_gid_type
>     base_disconnect_action
>     base_connect_action
>     base_set_exception_action
>     base_set_event_action
>     set_value_action_std_string
>     get_value_action_hpx_section
>     get_value_action_bool
>     set_value_action_uint64_t
>     get_value_action_int64_t
>     set_value_action_int64_t
>     hpx_lcos_server_barrier_create_component_action
>     luax_async_action
>     set_value_action_gid_type
>     get_value_action_uint8_t
>     get_value_action_int8_t
>     set_value_action_int8_t
>     get_value_action_std_string
>     get_value_action_double
>     get_value_action_id_type
>     set_value_action_float
>     get_value_action_uint32_t
>     get_value_action_int32_t
>     set_value_action_int32_t
>     get_value_action_uint16_t
>     get_value_action_uint64_t
>     set_value_action_uint16_t
>     set_value_action_int16_t
>     hpx_lcos_server_latch_wait_action
>     hpx_lcos_server_latch_create_component_action
>     set_value_action_hpx_counter_value
>     get_value_action_hpx_counter_info
>     performance_counter_start_action
>     performance_counter_reset_counter_value_action
>     performance_counter_get_counter_value_action
>     performance_counter_get_counter_info_action
>     console_logging_action
>     performance_counter_stop_action
>     memory_block_get_config_action
>     memory_block_checkin_action
>     get_instance_count_action
>     broadcast_call_shutdown_functions_action
>     update_agas_cache_entry_action
>     terminate_all_action
>     terminate_action
>     create_performance_counter_action
>     performance_counter_set_counter_value_action
>     shutdown_all_action
>     shutdown_action
>     call_shutdown_functions_action
>     get_value_action_hpx_components_memory_uint128_t
>     load128_action
>     get_value_action_hpx_memory_data_type
>     set_value_action_hpx_components_memory_uint128_t
>     garbage_collect_action
>     load64_action
>     load32_action
>     set_value_action_hpx_memory_data_type
>     get_value_action_hpx_counter_value
>     store16_action
>     store8_action
>     allocate_action
>     get_config_action
>     set_value_action_hpx_counter_info
>     primary_namespace_service_action
>     free_component_action
>     store64_action
>     set_value_action_agas_id_type_response_type
>     remove_from_connection_cache_action
>     set_value_action_agas_bool_response_type
>     call_startup_functions_action
>     primary_namespace_bulk_service_action
>     get_value_action_hpx_agas_response_vector_type
>     set_value_action_hpx_section
>     get_value_action_float
>     set_value_action_hpx_agas_response_vector_type
>     set_value_action_uint32_t
>     get_value_action_hpx_agas_response_type
>     load16_action
>     component_namespace_service_action
>     set_value_action_vector_id_type
>     primary_namespace_route_action
>     notify_worker_action
>     set_value_action_uint8_t
>     store32_action
>     dijkstra_termination_action
>     symbol_namespace_service_action
>     register_worker_action
>     load_components_action
>     memory_block_clone_action
>     get_value_action_gid_type
>     memory_block_checkout_action
>     locality_namespace_bulk_service_action
>     set_value_action_hpx_agas_response_type
>     component_namespace_bulk_service_action
>     hpx_get_locality_name_action
>     create_memory_block_action
>     broadcast_symbol_namespace_service_action
>     store128_action
>     console_error_sink_action
>     load8_action
>     broadcast_call_startup_functions_action
>     memory_block_get_action
>     locality_namespace_service_action
>     list_component_type_action
>     get_value_action_int16_t
>     list_symbolic_name_action
>     set_value_action_bool
>     set_value_action_double
>     bulk_create_components_action
>     symbol_namespace_bulk_service_action
>     console_print_action
> : HPX(bad_parameter)
> Makefile:2: recipe for target 'run' failed
> make: *** [run] Aborted (core dumped)
>
> _______________________________________________
> hpx-users mailing list
> [email protected]
> https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to