exits. this is what should have been done in the first place...yeah.
}
/* Print process rank, loop count, message, and exit (i.e. a fatal error) */
-int rprintf(int rank, int loop, const char *fmt, ...)
+void rprintf(int rank, int loop, const char *fmt, ...)
{
va_list ap;
vprintf(fmt, ap);
MPI_Abort(MPI_COMM_WORLD, 1);
- exit(1);
}
int main(int argc, char *argv[])
#define CHUNK_MAX_SIZE 123456
-int rprintf(int rank, int loop, const char *fmt, ...)
+void rprintf(int rank, int loop, const char *fmt, ...)
{
va_list ap;
vprintf(fmt, ap);
MPI_Abort(MPI_COMM_WORLD, 1);
- exit(1);
}
int main (int argc, char *argv[]) {