Skip to content

Commit

Permalink
Don't do the fibonacci test for OTF2 config
Browse files Browse the repository at this point in the history
The OTF2 library is unstable for "lots " of pthreads, so don't
do the std::async fibonacci test with OTF2.
  • Loading branch information
khuck committed May 14, 2018
1 parent 787fb25 commit f039275
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/unit_tests/C++/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ set(example_programs
apex_hpx_task_wrapper_direct_actions
apex_hpx_annotated_functions
apex_profiler_guids
apex_fibonacci_std_async
)
#apex_set_thread_cap
#apex_setup_power_cap_throttling
Expand All @@ -52,6 +51,10 @@ if ((NOT PAPI_FOUND) AND (NOT OTF2_FOUND))
set(example_programs "${example_programs};apex_pthread_flood")
endif()

if ((NOT OTF2_FOUND))
set(example_programs "${example_programs};apex_fibonacci_std_async")
endif()

# std::threads crash when linked statically. :(
if (NOT BUILD_STATIC_EXECUTABLES)
set(example_programs "${example_programs};apex_new_task;apex_task_wrapper")
Expand Down

0 comments on commit f039275

Please sign in to comment.