Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / teshsuite / smpi / isp / umpire / type-commit-twice.c
diff --git a/teshsuite/smpi/isp/umpire/type-commit-twice.c b/teshsuite/smpi/isp/umpire/type-commit-twice.c
deleted file mode 100644 (file)
index 4d25326..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/* -*- Mode: C; -*- */
-/* Creator: Jeffrey Vetter (vetter3@llnl.gov) Thu Feb 24 2000 */
-
-/* type-commit-twice.c -- do a type commit twice w/ the same type */
-
-#ifndef lint
-static char *rcsid =
-  "$Header: /usr/gapps/asde/cvs-vault/umpire/tests/type-commit-twice.c,v 1.4 2002/07/30 21:34:43 bronis Exp $";
-#endif
-
-#include <stdio.h>
-#include <string.h>
-#include "mpi.h"
-
-#define buf_size 128
-
-int
-main (int argc, char **argv)
-{
-  int nprocs = -1;
-  int rank = -1;
-  int comm = MPI_COMM_WORLD;
-  char processor_name[128];
-  int namelen = 128;
-  MPI_Datatype newtype;
-
-  /* init */
-  MPI_Init (&argc, &argv);
-  MPI_Comm_size (comm, &nprocs);
-  MPI_Comm_rank (comm, &rank);
-  MPI_Get_processor_name (processor_name, &namelen);
-  printf ("(%d) is alive on %s\n", rank, processor_name);
-  fflush (stdout);
-
-  MPI_Barrier (comm);
-
-  MPI_Type_contiguous (128, MPI_INT, &newtype);
-  MPI_Type_commit (&newtype);
-
-  /* COMMITTING TWICE IS NOT AN ERROR - SEE:
-     http://www.mpi-forum.org/docs/mpi-20-html/node50.htm#Node50
-     AT MOST, UMPIRE SHOULD PROVIDE A CLEAR WARNING ABOUT MINOR 
-     PERFORMANCE CONSEQUENCE (JUST A WASTED FUNCTION CALL)... */
-  MPI_Type_commit (&newtype);
-
-  MPI_Barrier (comm);
-
-  MPI_Type_free (&newtype);
-
-  printf ("(%d) Finished normally\n", rank);
-  MPI_Finalize ();
-}
-
-/* EOF */