Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the ISP test suite (not free, superseeded by MBI)
[simgrid.git] / teshsuite / smpi / isp / umpire / abort3.c
diff --git a/teshsuite/smpi/isp/umpire/abort3.c b/teshsuite/smpi/isp/umpire/abort3.c
deleted file mode 100644 (file)
index 21e198b..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C; -*- */
-/* Creator: Bronis R. de Supinski (bronis@llnl.gov) Tue Oct 29 2002 */
-/* abort3.c -- call MPI abort in task one... */
-
-
-#include <stdio.h>
-#include "mpi.h"
-
-
-int
-main (int argc, char **argv)
-{
-  int nprocs = -1;
-  int rank = -1;
-  char processor_name[128];
-  int namelen = 128;
-
-  /* init */
-  MPI_Init (&argc, &argv);
-  MPI_Comm_size (MPI_COMM_WORLD, &nprocs);
-  MPI_Comm_rank (MPI_COMM_WORLD, &rank);
-  MPI_Get_processor_name (processor_name, &namelen);
-  printf ("(%d) is alive on %s\n", rank, processor_name);
-  fflush (stdout);
-
-  MPI_Barrier (MPI_COMM_WORLD);
-
-  if (nprocs < 3) {
-    /* ensure that we have a non-manager that doesn't abort... */
-    printf ("not enough tasks\n");
-  }
-  else {
-    if (rank == 1) {
-      printf ("(%d) Aborting\n", rank);
-      MPI_Abort (MPI_COMM_WORLD, -1);
-    }
-  }
-
-  MPI_Barrier (MPI_COMM_WORLD);
-  MPI_Finalize ();
-  printf ("(%d) Finished normally\n", rank);
-}
-
-/* EOF */