diff --git a/src/test/test4.c b/src/test/test4.c new file mode 100644 index 0000000000000000000000000000000000000000..969e1bebbfd349b6b2be240975f60a76f6dbf2a2 --- /dev/null +++ b/src/test/test4.c @@ -0,0 +1,17 @@ +#include <mpi.h> + + +int main(int argc, char **argv) +{ + int c = 0; + if(c < 10) + { + MPI_Init(&argc, &argv); + MPI_Barrier(MPI_COMM_WORLD); + } + else + { + MPI_Barrier(MPI_COMM_WORLD); + MPI_Init(&argc, &argv); + } +}