aboutsummaryrefslogtreecommitdiff
path: root/src/ReduceArraysGlobally.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ReduceArraysGlobally.c')
-rw-r--r--src/ReduceArraysGlobally.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ReduceArraysGlobally.c b/src/ReduceArraysGlobally.c
index 5c2edc8..cc33b54 100644
--- a/src/ReduceArraysGlobally.c
+++ b/src/ReduceArraysGlobally.c
@@ -165,8 +165,6 @@ static int ReduceArraysGlobally (const cGH *GH,
int perform_3_root = 1;
int perform_4_root = 1;
int perform_all_reduce = 1;
- pGA *GA;
- const void *data;
int created_local_par_table = 0;
/* weight variables */
@@ -195,11 +193,10 @@ static int ReduceArraysGlobally (const cGH *GH,
#endif
#ifdef CCTK_MPI
- int nprocs = 0, myproc =0, global_operation = 0;
+ int nprocs = 0, global_operation = 0;
const pGH *pughGH = NULL;
void *local_outvals = NULL;
nprocs = CCTK_nProcs(GH);
- myproc = CCTK_MyProc(GH);
if (dest_proc >=0 && dest_proc <=nprocs)
{
perform_all_reduce = 0;