Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a failing (since a few days) example with an explicit exit in MPI program
authorAugustin Degomme <adegomme@users.noreply.github.com>
Fri, 24 Sep 2021 08:46:15 +0000 (10:46 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Fri, 24 Sep 2021 08:57:00 +0000 (10:57 +0200)
We should be able (and were able) to handle it.

teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c
teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.tesh

index 49ae07e..c4b081e 100644 (file)
@@ -75,5 +75,5 @@ int main(int argc, char *argv[])
 
   XBT_INFO("rank %d: data exchanged", rank);
   MPI_Finalize();
-  return 0;
+  exit(0);
 }
index c887c4d..39ea3cf 100644 (file)
@@ -3,6 +3,7 @@ p Test dsend
 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -map -hostfile ${bindir:=.}/../hostfile -platform ${platfdir}/small_platform.xml -np 2 ${bindir:=.}/pt2pt-dsend -s --long --log=smpi_config.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/simulate-computation:no --cfg=smpi/finalization-barrier:on
 > [Jupiter:1:(2) 0.000000] [dsend/INFO] rank 1: data exchanged
 > [Tremblay:0:(1) 0.005896] [dsend/INFO] rank 0: data exchanged
+> [Tremblay:0:(1) 0.008843] ../src/kernel/EngineImpl.cpp:232: [ker_engine/WARNING] Process called exit when leaving - Skipping cleanups
 > [0.000000] [smpi/INFO] [rank 0] -> Tremblay
 > [0.000000] [smpi/INFO] [rank 1] -> Jupiter
 
@@ -13,6 +14,7 @@ p process 2 will finish at 0.5+2*4 (time before first send) + 2*(1+0.5*4) (recv+
 ! output sort
 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -map -hostfile ${bindir:=.}/../hostfile -platform ${platfdir}/small_platform.xml -np 2 ${bindir:=.}/pt2pt-dsend -s --long --log=smpi_config.thres:warning --cfg=smpi/or:0:1:0.5 --cfg=smpi/os:0:0.5:2 --cfg=smpi/ois:0:1:0.1 --cfg=smpi/simulate-computation:no --log=xbt_cfg.thres:warning
 > [Jupiter:1:(2) 9.900000] [dsend/INFO] rank 1: data exchanged
+> [Jupiter:1:(2) 9.900000] ../src/kernel/EngineImpl.cpp:232: [ker_engine/WARNING] Process called exit when leaving - Skipping cleanups
 > [Tremblay:0:(1) 14.505896] [dsend/INFO] rank 0: data exchanged
 > [0.000000] [smpi/INFO] [rank 0] -> Tremblay
 > [0.000000] [smpi/INFO] [rank 1] -> Jupiter