From 405908ac127e881b4b9bf4680e8e226371e96fa1 Mon Sep 17 00:00:00 2001 From: James Erwin Date: Wed, 1 Jan 2025 09:27:19 -0500 Subject: [PATCH] removing parenthesis causing int overflow for high window sizes, iterations, and-or rank count combinations --- sqmr-1.1.0/sqmr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqmr-1.1.0/sqmr.c b/sqmr-1.1.0/sqmr.c index b5acfbb..8324444 100755 --- a/sqmr-1.1.0/sqmr.c +++ b/sqmr-1.1.0/sqmr.c @@ -193,7 +193,7 @@ benchmark (int msgsize, int iters) { double msgs; - msgs = (double) (win_size * num_nbors * num_cores * iters * 2); + msgs = (double) win_size * num_nbors * num_cores * iters * 2; printf ("%8d %6d %12.2lf %10.2lf %12.2lf %10.2lf %12.2lf %10.2lf\n", msgsize, iters, msgs / mean,