diff options
Diffstat (limited to 'src/SetupPGV.c')
-rw-r--r-- | src/SetupPGV.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/SetupPGV.c b/src/SetupPGV.c index ddbc401..3eca95e 100644 --- a/src/SetupPGV.c +++ b/src/SetupPGV.c @@ -1210,9 +1210,11 @@ static int PUGH_SetupRemoteSizes(int dim, int total_procs, pGExtras *this) Sets up a communication buffer for a group of GAs. @enddesc @@*/ -pComm *PUGH_SetupGArrayGroupComm(int dim, +pComm *PUGH_SetupGArrayGroupComm(pGH *pughGH, + int dim, int first_var, int n_vars, + int vartype, int sync_timelevel, pGExtras *extras) { @@ -1220,6 +1222,11 @@ pComm *PUGH_SetupGArrayGroupComm(int dim, pComm *this; +#ifndef CCTK_MPI + (void) (pughGH + 0); + (void) (vartype + 0); +#endif + this = malloc (sizeof (pComm)); if (this) @@ -1343,9 +1350,8 @@ pComm *PUGH_SetupGArrayComm(pGH *pughGH, pComm *result; - (void) (pughGH + 0); - (void) (vartype + 0); - result = PUGH_SetupGArrayGroupComm(dim, var, 1, sync_timelevel, extras); + result = PUGH_SetupGArrayGroupComm(pughGH, dim, var, 1, vartype, + sync_timelevel, extras); return (result); } |