aboutsummaryrefslogtreecommitdiff
path: root/src/ReduceGA.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ReduceGA.c')
-rw-r--r--src/ReduceGA.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ReduceGA.c b/src/ReduceGA.c
index 6bcc08e..7ce6a18 100644
--- a/src/ReduceGA.c
+++ b/src/ReduceGA.c
@@ -144,7 +144,6 @@ static int ReduceGridArrays (const cGH *GH,
int perform_4_root = 1;
int perform_all_reduce = 1;
pGA *GA;
- const void *data;
int created_local_par_table = 0;
/* weight variables */
@@ -175,11 +174,10 @@ static int ReduceGridArrays (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;
@@ -232,7 +230,6 @@ static int ReduceGridArrays (const cGH *GH,
/* get the GA structure for the current timelevel */
GA = ((pGA ***) PUGH_pGH (GH)->variables)[input_array_variable_indices[0]][0];
- data = GA->data;
/* calculate index ranges */
for ( i=0; i < dim; i++)