From 5e0058b61aee5b560d3378edf63d1e88c1a98fff Mon Sep 17 00:00:00 2001 From: loading Date: Sat, 12 Mar 2022 14:16:52 +0800 Subject: [PATCH] Update aml.c comm should be declared as static variable. --- aml/aml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aml/aml.c b/aml/aml.c index 4b1c9c1..c7ae3cc 100644 --- a/aml/aml.c +++ b/aml/aml.c @@ -116,7 +116,7 @@ static void (*aml_handlers[256]) (int,void *,int); //pointers to user-provided A //internode comm (proc number X from each group) //intranode comm (all cores of one nodegroup) -MPI_Comm comm, comm_intra; +static MPI_Comm comm, comm_intra; // MPI stuff for sends static char *sendbuf; //coalescing buffers, most of memory is allocated is here