2 /* Creator: Jeffrey Vetter (vetter3@llnl.gov) Thu Feb 24 2000 */
4 /* type-no-free.c -- do a type commit and no free */
8 "$Header: /usr/gapps/asde/cvs-vault/umpire/tests/type-no-free.c,v 1.2 2000/12/04 19:09:46 bronis Exp $";
18 main (int argc, char **argv)
22 int comm = MPI_COMM_WORLD;
23 char processor_name[128];
28 MPI_Init (&argc, &argv);
29 MPI_Comm_size (comm, &nprocs);
30 MPI_Comm_rank (comm, &rank);
31 MPI_Get_processor_name (processor_name, &namelen);
32 printf ("(%d) is alive on %s\n", rank, processor_name);
36 MPI_Type_contiguous (128, MPI_INT, &newtype);
37 MPI_Type_commit (&newtype);
40 printf ("(%d) Finished normally\n", rank);