+/* Copyright (c) 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#include "mpi.h"
#include <stdlib.h>
#include <stdio.h>
int i;
int *sb;
int *rb;
- int status, gstatus;
+ int status;
MPI_Init(&argc,&argv);
MPI_Comm_rank(MPI_COMM_WORLD,&rank);
if (rank == 0) {
- if (gstatus != 0) {
- printf("all_to_all returned %d\n",gstatus);fflush(stdout);
+ if (status != 0) {
+ printf("all_to_all returned %d\n",status);fflush(stdout);
}
}
free(sb);