Skip to content

Instantly share code, notes, and snippets.

@DavidPfander-UniStuttgart
Created June 8, 2017 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidPfander-UniStuttgart/af6b42ade34540f0968b274eed6db505 to your computer and use it in GitHub Desktop.
Save DavidPfander-UniStuttgart/af6b42ade34540f0968b274eed6db505 to your computer and use it in GitHub Desktop.
hpx compilation error on tave
[ 0%] Building CXX object src/CMakeFiles/hpx.dir/runtime_impl.cpp.o
cd /users/pfandedd/scratch/tave/mic-knl-gcc-build/hpx-jemalloc-Release/src && /opt/cray/pe/craype/2.5.9/bin/CC -shared -fPIC -DBOOST_DISABLE_ASSERTS -DHPX_COMPONENT_NAME=hpx -DHPX_COROUTINE_EXPORTS -DHPX_DISABLE_ASSERTS -DHPX_ENABLE_ASSERT_HANDLER -DHPX_EXPORTS -D_GNU_SOURCE -Dhpx_EXPORTS -Wabi -fabi-version=0 -fabi-compat-version=0 -ffp-contract=fast -march=sandybridge -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mno-sse4a -mno-fma -mno-bmi2 -mno-avx2 -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi -Wall -Wextra -Wno-unused-local-typedefs -Wno-strict-aliasing -Wno-sign-promo -Wno-attributes -Wno-cast-align -Wno-unused-parameter -Wformat=2 -Wno-format-nonliteral -Winit-self -Wdouble-promotion -Wcast-qual -Wcast-align -Werror=trampolines -Werror=parentheses -Werror=reorder -Werror=return-type -Werror=sequence-point -Werror=uninitialized -Werror=format -Werror=missing-braces -Werror=sign-compare -fdiagnostics-show-option -Werror=vla -Werror=return-type -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Werror=uninitialized -Wno-unused-local-typedefs -Wno-sync-nand -Wno-delete-non-virtual-dtor -fvisibility=hidden -O3 -DNDEBUG -fPIC -isystem /users/pfandedd/scratch/tave/mic-knl-gcc-build/Vc/include -I/users/pfandedd/scratch/tave/src/hpx -I/users/pfandedd/scratch/tave/mic-knl-gcc-build/hpx-jemalloc-Release -isystem /users/pfandedd/scratch/tave/mic-knl-gcc-build/boost_1_63/include -I/users/pfandedd/scratch/tave/mic-knl-gcc-build/contrib/include -std=c++14 -o CMakeFiles/hpx.dir/runtime_impl.cpp.o -c /users/pfandedd/scratch/tave/src/hpx/src/runtime_impl.cpp
In file included from /users/pfandedd/scratch/tave/src/hpx/src/runtime_impl.cpp:894:0:
/users/pfandedd/scratch/tave/src/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp: In instantiation of 'class hpx::threads::policies::throttling_scheduler<>':
/users/pfandedd/scratch/tave/src/hpx/hpx/runtime_impl.hpp:67:13: required from 'class hpx::runtime_impl<hpx::threads::policies::throttling_scheduler<> >'
/users/pfandedd/scratch/tave/src/hpx/src/runtime_impl.cpp:895:32: required from here
/users/pfandedd/scratch/tave/src/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_;
^~~~~
/users/pfandedd/scratch/tave/src/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]':
/users/pfandedd/scratch/tave/src/hpx/src/runtime_impl.cpp:896:53: required from here
/users/pfandedd/scratch/tave/src/hpx/hpx/runtime/threads/policies/throttling_scheduler.hpp:111:23: error: 'cond_' was not declared in this scope
cond_.wait(l);
~~~~~~^~~~
src/CMakeFiles/hpx.dir/build.make:54: recipe for target 'src/CMakeFiles/hpx.dir/runtime_impl.cpp.o' failed
@DavidPfander-UniStuttgart
Copy link
Author

libfabric parcelport was enabled by default (configuration failed because of missing libfabric). Configure succeeded with -DHPX_WITH_PARCELPORT_LIBFABRIC=OFF

@DavidPfander-UniStuttgart
Copy link
Author

cmake -DCMAKE_TOOLCHAIN_FILE=${hpxtoolchain}
-DCMAKE_BUILD_TYPE=$buildtype
-DHPX_WITH_THREAD_STACK_MMAP=ON
-DHPX_WITH_THREAD_MANAGER_IDLE_BACKOFF=OFF
-DHPX_WITH_THREAD_BACKTRACE_ON_SUSPENSION=OFF
-DHPX_WITH_THREAD_TARGET_ADDRESS=OFF
-DHPX_WITH_THREAD_QUEUE_WAITTIME=OFF
-DHPX_WITH_THREAD_IDLE_RATES=OFF
-DHPX_WITH_THREAD_CUMULATIVE_COUNTS=OFF
-DHPX_WITH_THREAD_STEALING_COUNTS=OFF
-DHPX_WITH_THREAD_LOCAL_STORAGE=OFF
-DHPX_WITH_SCHEDULER_LOCAL_STORAGE=OFF
-DHPX_WITH_THREAD_GUARD_PAGE=OFF
-DHPX_WITH_PARCELPORT_MPI=ON
-DHPX_WITH_PARCELPORT_MPI_MULTITHREADED=ON
-DHPX_WITH_DATAPAR_VC=ON
-DHPX_WITH_DATAPAR_VC_NO_LIBRARY=ON
-DCMAKE_SKIP_INSTALL_RPATH=ON
-DBoost_COMPILER="-gcc"
-DBOOST_ROOT=$BOOST_ROOT
-DVc_ROOT=${basedir}/${myarch}-build/Vc
${alloc_opts}
-DHWLOC_ROOT=${basedir}/${myarch}-build/contrib
-DCMAKE_INSTALL_PREFIX=.
-DHPX_WITH_EXAMPLES=OFF
-DHPX_WITH_PARCELPORT_LIBFABRIC=OFF
${basedir}/src/hpx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment