X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cadaf14d02d7d926cd339088dacff03077ba004f..bc75e22e7ea7c0fdc45e5622d8f95b90bdcf2c27:/teshsuite/smpi/mpich3-test/info/infomany.c diff --git a/teshsuite/smpi/mpich3-test/info/infomany.c b/teshsuite/smpi/mpich3-test/info/infomany.c new file mode 100644 index 0000000000..c9f8213598 --- /dev/null +++ b/teshsuite/smpi/mpich3-test/info/infomany.c @@ -0,0 +1,105 @@ +/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ +/* + * (C) 2001 by Argonne National Laboratory. + * See COPYRIGHT in top-level directory. + */ +/* Test of info that makes use of the extended handles */ +#include "mpi.h" +#include +#include +#include "mpitest.h" +#include "mpitestconf.h" +#ifdef HAVE_STRING_H +#include +#endif + +#ifndef MAX_INFOS +#define MAX_INFOS 4000 +#endif +#define MAX_ERRORS 10 +#define info_list 16 +/* #define DBG */ + +int main( int argc, char *argv[] ) +{ + MPI_Info infos[MAX_INFOS]; + char key[64], value[64]; + int errs = 0; + int i, j; + + MTest_Init( &argc, &argv ); + + for (i=0; i