Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Minor cleanups (useless stuff).
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 17 Apr 2021 19:12:19 +0000 (21:12 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 18 Apr 2021 21:47:14 +0000 (23:47 +0200)
src/smpi/mpi/smpi_group.cpp
src/smpi/mpi/smpi_request.cpp

index f9873bf..e97d8da 100644 (file)
@@ -9,7 +9,6 @@
 #include <string>
 
 simgrid::smpi::Group smpi_MPI_GROUP_EMPTY;
-extern XBT_PRIVATE MPI_Comm MPI_COMM_UNINITIALIZED;
 
 namespace simgrid{
 namespace smpi{
index c1a6de0..c33b284 100644 (file)
@@ -471,10 +471,8 @@ void Request::start()
   } else { /* the RECV flag was not set, so this is a send */
     const simgrid::smpi::ActorExt* process = smpi_process_remote(simgrid::s4u::Actor::by_pid(dst_));
     xbt_assert(process, "Actor pid=%d is gone??", dst_);
-    int rank = src_;
-    if (TRACE_smpi_view_internals()) {
-      TRACE_smpi_send(rank, rank, dst_, tag_, size_);
-    }
+    if (TRACE_smpi_view_internals())
+      TRACE_smpi_send(src_, src_, dst_, tag_, size_);
     this->print_request("New send");
 
     void* buf = buf_;