From: Maxwell Pirtle Date: Wed, 31 May 2023 07:20:55 +0000 (+0200) Subject: Fix MANIFEST.in etc. X-Git-Tag: v3.34~68^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/976687c46605cb7f3513a3f9549ef43f737e4b7d?hp=c0066756813cabe50a74ef326ec88eb71984556a Fix MANIFEST.in etc. --- diff --git a/MANIFEST.in b/MANIFEST.in index b9ca4f9299..602e94ac62 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2199,9 +2199,9 @@ include src/mc/explo/odpor/ReversibleRaceCalculator.cpp include src/mc/explo/odpor/ReversibleRaceCalculator.hpp include src/mc/explo/odpor/WakeupTree.cpp include src/mc/explo/odpor/WakeupTree.hpp -include src/mc/explo/odpor/WakeupTree_test.cpp include src/mc/explo/odpor/WakeupTreeIterator.cpp include src/mc/explo/odpor/WakeupTreeIterator.hpp +include src/mc/explo/odpor/WakeupTree_test.cpp include src/mc/explo/odpor/odpor_forward.hpp include src/mc/explo/simgrid_mc.cpp include src/mc/explo/udpor/Comb.hpp diff --git a/src/mc/explo/DFSExplorer.cpp b/src/mc/explo/DFSExplorer.cpp index f21297cb7d..2c72764301 100644 --- a/src/mc/explo/DFSExplorer.cpp +++ b/src/mc/explo/DFSExplorer.cpp @@ -304,6 +304,9 @@ void DFSExplorer::run() // NOTE: To incorporate the idea of attempting to select the "best" // backtrack point into SDPOR, instead of selecting the `first` initial, // we should instead compute all choices and decide which is best + // + // Here, we choose the actor with the lowest ID to ensure + // we get deterministic results const auto q = std::min_element(choices.begin(), choices.end(), [](const aid_t a1, const aid_t a2) { return a1 < a2; }); prev_state->consider_one(*q); diff --git a/src/mc/explo/odpor/WakeupTree.hpp b/src/mc/explo/odpor/WakeupTree.hpp index ee654c4ace..ea8cf2959a 100644 --- a/src/mc/explo/odpor/WakeupTree.hpp +++ b/src/mc/explo/odpor/WakeupTree.hpp @@ -49,10 +49,10 @@ public: WakeupTreeNode& operator=(const WakeupTreeNode&) = delete; WakeupTreeNode& operator=(WakeupTreeNode&&) = default; - const auto begin() const { return this->children_.begin(); } - const auto end() const { return this->children_.end(); } - const auto rbegin() const { return this->children_.rbegin(); } - const auto rend() const { return this->children_.rend(); } + auto begin() const { return this->children_.begin(); } + auto end() const { return this->children_.end(); } + auto rbegin() const { return this->children_.rbegin(); } + auto rend() const { return this->children_.rend(); } bool is_leaf() const { return children_.empty(); } bool is_root() const { return parent_ == nullptr; } diff --git a/teshsuite/smpi/coll-allreduce-with-leaks/mc-coll-allreduce-with-leaks.tesh b/teshsuite/smpi/coll-allreduce-with-leaks/mc-coll-allreduce-with-leaks.tesh index 7eb120f359..5377503b95 100644 --- a/teshsuite/smpi/coll-allreduce-with-leaks/mc-coll-allreduce-with-leaks.tesh +++ b/teshsuite/smpi/coll-allreduce-with-leaks/mc-coll-allreduce-with-leaks.tesh @@ -645,4 +645,4 @@ $ $VALGRIND_NO_LEAK_CHECK ${bindir:=.}/../../../smpi_script/bin/smpirun -wrapper > If this is too much, consider sharing allocations for computation buffers. > This can be done automatically by setting --cfg=smpi/auto-shared-malloc-thresh to the minimum size wanted size (this can alter execution if data content is necessary) > -> [0.000000] [mc_dfs/INFO] DFS exploration ended. 1005 unique states visited; 276 backtracks (6559 transition replays, 5278 states visited overall) +> [0.000000] [mc_dfs/INFO] DFS exploration ended. 1005 unique states visited; 276 backtracks (6560 transition replays, 5279 states visited overall)