Skip to content

Instantly share code, notes, and snippets.

@dmarce1
Created June 6, 2017 15:44
Show Gist options
  • Save dmarce1/7b91834298f021e0b78854d484df5f74 to your computer and use it in GitHub Desktop.
Save dmarce1/7b91834298f021e0b78854d484df5f74 to your computer and use it in GitHub Desktop.
In file included from /work/dmarce1/build/hpx/src/runtime_impl.cpp:894:0:
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp: In instantiation of ‘class hpx::threads::policies::throttling_scheduler<>’:
/work/dmarce1/build/hpx/hpx/runtime_impl.hpp:67:13: required from ‘class hpx::runtime_impl<hpx::threads::policies::throttling_scheduler<> >’
/work/dmarce1/build/hpx/src/runtime_impl.cpp:895:32: required from here
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp:69:71: error: no members matching ‘hpx::threads::policies::local_queue_scheduler<>::cond_’ in ‘class hpx::threads::policies::local_queue_scheduler<>’
Mutex, PendingQueuing, StagedQueuing, TerminatedQueuing>::cond_;
^~~~~
[ 36%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/executors/current_executor.cpp.o
[ 37%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/executors/thread_pool_attached_executors.cpp.o
[ 37%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/executors/thread_pool_executors.cpp.o
[ 38%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/executors/this_thread_executors.cpp.o
[ 38%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/executors/service_executor.cpp.o
[ 39%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/coroutines/detail/context_generic_context.cpp.o
[ 39%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/coroutines/detail/tss.cpp.o
[ 40%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/coroutines/detail/coroutine_impl.cpp.o
[ 40%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/coroutines/detail/context_base.cpp.o
[ 41%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/coroutines/detail/coroutine_self.cpp.o
[ 41%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/coroutines/swapcontext.cpp.o
[ 42%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/thread_helpers.cpp.o
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp: In instantiation of ‘bool hpx::threads::policies::throttling_scheduler<Mutex, PendingQueuing, StagedQueuing, TerminatedQueuing>::get_next_thread(std::size_t, bool, int64_t&, hpx::threads::thread_data*&) [with Mutex = std::mutex; PendingQueuing = hpx::threads::policies::lockfree_fifo; StagedQueuing = hpx::threads::policies::lockfree_fifo; TerminatedQueuing = hpx::threads::policies::lockfree_lifo; std::size_t = long unsigned int; int64_t = long int]’:
/work/dmarce1/build/hpx/src/runtime_impl.cpp:896:53: required from here
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp:111:23: error: ‘cond_’ was not declared in this scope
cond_.wait(l);
~~~~~~^~~~
[ 43%] Building CXX object src/CMakeFiles/hpx.dir/runtime/threads/scheduler_specific_ptr.cpp.o
make[2]: *** [src/CMakeFiles/hpx.dir/runtime_impl.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /work/dmarce1/build/hpx/src/runtime/threads/executors/thread_pool_executors.cpp:17:0:
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp: In instantiation of ‘class hpx::threads::policies::throttling_scheduler<>’:
/work/dmarce1/build/hpx/hpx/runtime/threads/executors/thread_pool_executors.hpp:124:23: required from ‘class hpx::threads::executors::detail::thread_pool_executor<hpx::threads::policies::throttling_scheduler<> >’
/work/dmarce1/build/hpx/src/runtime/threads/executors/thread_pool_executors.cpp:513:41: required from here
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp:69:71: error: no members matching ‘hpx::threads::policies::local_queue_scheduler<>::cond_’ in ‘class hpx::threads::policies::local_queue_scheduler<>’
Mutex, PendingQueuing, StagedQueuing, TerminatedQueuing>::cond_;
^~~~~
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp: In instantiation of ‘bool hpx::threads::policies::throttling_scheduler<Mutex, PendingQueuing, StagedQueuing, TerminatedQueuing>::get_next_thread(std::size_t, bool, int64_t&, hpx::threads::thread_data*&) [with Mutex = std::mutex; PendingQueuing = hpx::threads::policies::lockfree_fifo; StagedQueuing = hpx::threads::policies::lockfree_fifo; TerminatedQueuing = hpx::threads::policies::lockfree_lifo; std::size_t = long unsigned int; int64_t = long int]’:
/work/dmarce1/build/hpx/src/runtime/threads/executors/thread_pool_executors.cpp:527:3: required from here
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp:111:23: error: ‘cond_’ was not declared in this scope
cond_.wait(l);
~~~~~~^~~~
make[2]: *** [src/CMakeFiles/hpx.dir/runtime/threads/executors/thread_pool_executors.cpp.o] Error 1
In file included from /work/dmarce1/build/hpx/src/runtime/threads/detail/thread_pool.cpp:1485:0:
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp: In instantiation of ‘class hpx::threads::policies::throttling_scheduler<>’:
/work/dmarce1/build/hpx/src/runtime/threads/detail/thread_pool.cpp:79:25: required from ‘hpx::threads::detail::thread_pool<Scheduler>::~thread_pool() [with Scheduler = hpx::threads::policies::throttling_scheduler<>]’
/work/dmarce1/build/hpx/src/runtime/threads/detail/thread_pool.cpp:1486:49: required from here
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp:69:71: error: no members matching ‘hpx::threads::policies::local_queue_scheduler<>::cond_’ in ‘class hpx::threads::policies::local_queue_scheduler<>’
Mutex, PendingQueuing, StagedQueuing, TerminatedQueuing>::cond_;
^~~~~
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp: In instantiation of ‘bool hpx::threads::policies::throttling_scheduler<Mutex, PendingQueuing, StagedQueuing, TerminatedQueuing>::get_next_thread(std::size_t, bool, int64_t&, hpx::threads::thread_data*&) [with Mutex = std::mutex; PendingQueuing = hpx::threads::policies::lockfree_fifo; StagedQueuing = hpx::threads::policies::lockfree_fifo; TerminatedQueuing = hpx::threads::policies::lockfree_lifo; std::size_t = long unsigned int; int64_t = long int]’:
/work/dmarce1/build/hpx/hpx/runtime/threads/detail/scheduling_loop.hpp:466:17: required from ‘void hpx::threads::detail::scheduling_loop(std::size_t, SchedulingPolicy&, hpx::threads::detail::scheduling_counters&, hpx::threads::detail::scheduling_callbacks&) [with SchedulingPolicy = hpx::threads::policies::throttling_scheduler<>; std::size_t = long unsigned int]’
/work/dmarce1/build/hpx/src/runtime/threads/detail/thread_pool.cpp:648:44: required from ‘void hpx::threads::detail::thread_pool<Scheduler>::thread_func(std::size_t, const hpx::threads::topology&, hpx::compat::barrier&) [with Scheduler = hpx::threads::policies::throttling_scheduler<>; std::size_t = long unsigned int]’
/work/dmarce1/build/hpx/src/runtime/threads/detail/thread_pool.cpp:1486:49: required from here
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp:111:23: error: ‘cond_’ was not declared in this scope
cond_.wait(l);
~~~~~~^~~~
In file included from /work/dmarce1/build/hpx/hpx/runtime/threads/policies/schedulers.hpp:28:0,
from /work/dmarce1/build/hpx/src/hpx_init.cpp:22:
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp: In instantiation of ‘class hpx::threads::policies::throttling_scheduler<>’:
/work/dmarce1/build/hpx/src/hpx_init.cpp:1071:30: required from here
/work/dmarce1/build/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp:69:71: error: no members matching ‘hpx::threads::policies::local_queue_scheduler<>::cond_’ in ‘class hpx::threads::policies::local_queue_scheduler<>’
Mutex, PendingQueuing, StagedQueuing, TerminatedQueuing>::cond_;
^~~~~
make[2]: *** [src/CMakeFiles/hpx.dir/runtime/threads/detail/thread_pool.cpp.o] Error 1
make[2]: *** [src/CMakeFiles/hpx.dir/hpx_init.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hpx.dir/all] Error 2
make: *** [all] Error 2
[dmarce1@qb023 scripts]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment