Skip to content

Commit

Permalink
Fixed MUSIC build
Browse files Browse the repository at this point in the history
  • Loading branch information
JanVogelsang committed Dec 16, 2024
1 parent d60db69 commit 88e0653
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nestkernel/simulation_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,9 @@ nest::SimulationManager::update_()
// MUSIC *before* MUSIC time is advanced

// wait until all threads are done -> synchronize
kernel().get_omp_synchronization_run_stopwatch().start();
kernel().get_omp_synchronization_simulation_stopwatch().start();
#pragma omp barrier
kernel().get_omp_synchronization_run_stopwatch().stop();
kernel().get_omp_synchronization_simulation_stopwatch().stop();
// the following block is executed by the master thread only
// the other threads are enforced to wait at the end of the block
#pragma omp master
Expand Down Expand Up @@ -1099,9 +1099,9 @@ nest::SimulationManager::update_()
#ifdef HAVE_SIONLIB
kernel().io_manager.post_step_hook();
// enforce synchronization after post-step activities of the recording backends
kernel().get_omp_synchronization_run_stopwatch().start();
kernel().get_omp_synchronization_simulation_stopwatch().start();
#pragma omp barrier
kernel().get_omp_synchronization_run_stopwatch().stop();
kernel().get_omp_synchronization_simulation_stopwatch().stop();
#endif

const double end_current_update = sw_simulate_.elapsed();
Expand Down

0 comments on commit 88e0653

Please sign in to comment.