1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
3 * (C) 2001 by Argonne National Laboratory.
4 * See COPYRIGHT in top-level directory.
8 /* This is a program that tests the ability of mpiexec to timeout a process
9 after no more than 3 minutes. By default, it will run for 5 minutes */
10 int main( int argc, char *argv[] )
13 double deltaTime = 300;
15 MPI_Init( &argc, &argv );
17 while (MPI_Wtime() - t1 < deltaTime) ;