Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: whitespaces and empty statement.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 1 Feb 2022 12:19:20 +0000 (13:19 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 1 Feb 2022 12:19:20 +0000 (13:19 +0100)
.github/workflows/docker-stable.yml
NEWS
src/smpi/bindings/smpi_pmpi_request.cpp
src/smpi/include/smpi_comm.hpp

index c49925f..43de9e3 100644 (file)
@@ -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 2cb98eb..58ec015 100644 (file)
--- 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)
+
                     _               _____  ____   ___
 __   _____ _ __ ___(_) ___  _ __   |___ / |___ \ / _ \
 \ \ / / _ \ '__/ __| |/ _ \| '_ \    |_ \   __) | (_) |
index 527e60b..1509268 100644 (file)
@@ -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);
index d8dd8e8..7f9f5dd 100644 (file)
@@ -42,6 +42,7 @@ class Comm : public F2C, public Keyval{
 
   std::unordered_map<std::string, unsigned int> sent_messages_;
   std::unordered_map<std::string, unsigned int> recv_messages_;
+
 public:
   static std::unordered_map<int, smpi_key_elem> 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