From ee48827519b2352fa2d15c7d61753f61fab3b980 Mon Sep 17 00:00:00 2001 From: Dari Kimanius Date: Thu, 7 Dec 2023 13:16:10 +0100 Subject: [PATCH] Fix for benchmarking build --- CMakeLists.txt | 6 +++++- src/acc/acc_ml_optimiser_impl.h | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34b2aaee1..00fc46735 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -571,7 +571,11 @@ endforeach() option(FETCH_WEIGHTS "Download model weights for dependent packages" ON) if (FETCH_WEIGHTS) - message(STATUS "Will attempts to download model weights for dependent packages...") + message(STATUS + "Will attempts to download model weights for dependent packages..." + "\n" + "NOTE: You can skip this step by setting -DFETCH_WEIGHTS=OFF" + ) execute_process( COMMAND bash ${CMAKE_BINARY_DIR}/bin/relion_python_fetch_weights diff --git a/src/acc/acc_ml_optimiser_impl.h b/src/acc/acc_ml_optimiser_impl.h index a33b21f7f..e2b4a1948 100644 --- a/src/acc/acc_ml_optimiser_impl.h +++ b/src/acc/acc_ml_optimiser_impl.h @@ -1902,7 +1902,6 @@ void convertAllSquaredDifferencesToWeights(unsigned exp_ipass, { #ifdef TIMING if (op.part_id == baseMLO->exp_my_first_part_id) - { { if (exp_ipass == 0) baseMLO->timer.tic(baseMLO->TIMING_ESP_WEIGHT1); else baseMLO->timer.tic(baseMLO->TIMING_ESP_WEIGHT2);