From f347b29d8f5274e924bb416ca3fce728a4c939ec Mon Sep 17 00:00:00 2001 From: Peter Teuben Date: Tue, 26 Jul 2016 17:39:14 -0400 Subject: [PATCH] fix counter bug (and why did nobody see this in the past 7 years?) --- ca_install/MPI/mpihello.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ca_install/MPI/mpihello.c b/ca_install/MPI/mpihello.c index 5cc7d44..554e5c5 100644 --- a/ca_install/MPI/mpihello.c +++ b/ca_install/MPI/mpihello.c @@ -31,7 +31,7 @@ int main(int argc, char* argv[]){ if (my_rank == 0) { printf("MPIHello running on %i processors.\n", p); printf("Greetings from processor %i, on host %s.\n", my_rank, my_name); - for (source=1; source>p; source++) { + for (source=1; source