From: Arnaud Giersch Date: Tue, 1 Feb 2022 12:19:20 +0000 (+0100) Subject: Cosmetics: whitespaces and empty statement. X-Git-Tag: v3.31~531 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c7ce8ccc6a8a0c6096ba2cce7763cea1adc15fd1 Cosmetics: whitespaces and empty statement. --- diff --git a/.github/workflows/docker-stable.yml b/.github/workflows/docker-stable.yml index c49925fb6c..43de9e3ed8 100644 --- a/.github/workflows/docker-stable.yml +++ b/.github/workflows/docker-stable.yml @@ -96,7 +96,7 @@ jobs: docker-tuto-smpi: # the Dockerfile builds upon the docker-stable image, so add a dependency needs: docker-simgrid - + runs-on: ubuntu-latest permissions: contents: read @@ -132,4 +132,3 @@ jobs: env: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} MATTERMOST_CHANNEL: ${{ secrets.MATTERMOST_CHANNEL}} - diff --git a/NEWS b/NEWS index 2cb98eb340..58ec015a19 100644 --- a/NEWS +++ b/NEWS @@ -19,6 +19,7 @@ The Sunday Bloody Sunday release. * New documentation on calibrating MPI. * The Algorithms tutorial can now be taken in Python. * (+ many bug fixes and internal refactoring) + _ _____ ____ ___ __ _____ _ __ ___(_) ___ _ __ |___ / |___ \ / _ \ \ \ / / _ \ '__/ __| |/ _ \| '_ \ |_ \ __) | (_) | diff --git a/src/smpi/bindings/smpi_pmpi_request.cpp b/src/smpi/bindings/smpi_pmpi_request.cpp index 527e60b086..15092682d9 100644 --- a/src/smpi/bindings/smpi_pmpi_request.cpp +++ b/src/smpi/bindings/smpi_pmpi_request.cpp @@ -464,9 +464,10 @@ int PMPI_Test(MPI_Request * request, int *flag, MPI_Status * status) } else { aid_t my_proc_id = ((*request)->comm() != MPI_COMM_NULL) ? simgrid::s4u::this_actor::get_pid() : -1; - TRACE_smpi_comm_in(my_proc_id, __func__, new simgrid::instr::WaitTIData("test", MPI_COMM_WORLD->group()->rank((*request)->src()), - MPI_COMM_WORLD->group()->rank((*request)->dst()), - (*request)->tag()));; + TRACE_smpi_comm_in(my_proc_id, __func__, + new simgrid::instr::WaitTIData("test", MPI_COMM_WORLD->group()->rank((*request)->src()), + MPI_COMM_WORLD->group()->rank((*request)->dst()), + (*request)->tag())); retval = simgrid::smpi::Request::test(request,status, flag); TRACE_smpi_comm_out(my_proc_id); diff --git a/src/smpi/include/smpi_comm.hpp b/src/smpi/include/smpi_comm.hpp index d8dd8e85d9..7f9f5ddf91 100644 --- a/src/smpi/include/smpi_comm.hpp +++ b/src/smpi/include/smpi_comm.hpp @@ -42,6 +42,7 @@ class Comm : public F2C, public Keyval{ std::unordered_map sent_messages_; std::unordered_map recv_messages_; + public: static std::unordered_map keyvals_; static int keyval_id_; @@ -96,7 +97,6 @@ public: void increment_sent_messages_count(int src, int dst, int tag); unsigned int get_received_messages_count(int src, int dst, int tag); void increment_received_messages_count(int src, int dst, int tag); - }; } // namespace smpi