From 5f83edd127517f024c5a24a09c0cea58da5827ba Mon Sep 17 00:00:00 2001 From: Steve Plimpton Date: Wed, 5 Aug 2020 17:24:09 -0600 Subject: [PATCH] remove references to non-existent MPI_Statuses --- src/comm_tiled.cpp | 10 +++++----- src/comm_tiled.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/comm_tiled.cpp b/src/comm_tiled.cpp index b1a8d6aef2..9f0169568d 100644 --- a/src/comm_tiled.cpp +++ b/src/comm_tiled.cpp @@ -557,15 +557,15 @@ void CommTiled::setup() } } - // reallocate MPI Requests and Statuses as needed + // reallocate MPI Requests as needed int nmax = 0; for (i = 0; i < nswap; i++) nmax = MAX(nmax,nprocmax[i]); for (i = 0; i < dimension; i++) nmax = MAX(nmax,nexchprocmax[i]); - if (nmax > maxreqstat) { - maxreqstat = nmax; + if (nmax > maxrequest) { + maxrequest = nmax; delete [] requests; - requests = new MPI_Request[maxreqstat]; + requests = new MPI_Request[maxrequest]; } } @@ -2098,7 +2098,7 @@ void CommTiled::allocate_swap(int n) sendlist[i] = NULL; } - maxreqstat = 0; + maxrequest = 0; requests = NULL; for (int i = 0; i < n; i++) { diff --git a/src/comm_tiled.h b/src/comm_tiled.h index 4ffde2a47e..aa8867b2c3 100644 --- a/src/comm_tiled.h +++ b/src/comm_tiled.h @@ -95,7 +95,7 @@ class CommTiled : public Comm { int smaxall,rmaxall; // max size in atoms of any borders send/recv // for comm to all procs in one swap - int maxreqstat; // max size of Request and Status vectors + int maxrequest; // max size of Request vector MPI_Request *requests; struct RCBinfo {