1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
3 * (C) 2007 by Argonne National Laboratory.
4 * See COPYRIGHT in top-level directory.
13 * This test may be used to confirm that memory is properly recovered from
14 * freed datatypes. To test this, build the MPI implementation with memory
15 * leak checking. As this program may be run with a single process, it should
16 * also be easy to run it under valgrind or a similar program. With MPICH,
17 * you can configure with the option
21 * to turn on MPICH's internal memory checking.
24 int main(int argc, char *argv[])
29 MTest_Init(&argc, &argv);
30 MPI_Type_dup(MPI_INT, &type);