-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
int main(int argc, char *argv[])
{
- char c;
- int i, iterations = 1;
+ int i, iterations = 1, c;
setbuf(stdout, 0);
setbuf(stderr, 0);
if (size < MIN_GLHOST) {
fprintf(stderr, "Error: "
- "should be at least four tasks to run the test!\n");
+ "%d tasks run, but should be at least %d tasks to run "
+ "the test!\n", size, MIN_GLHOST);
MPI_Abort(MPI_COMM_WORLD, 2);
}