*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <stdio.h>
#include "types/simple.h"
-#include "types/commrec.h"
#include "typedefs.h"
#include "main.h"
#include "gmx_fatal.h"
void gmx_sumd(int nr, double r[], const t_commrec *cr);
/* Calculate the global sum of an array of doubles */
-void gmx_sumf_comm(int nr, float r[], MPI_Comm mpi_comm);
-/* Calculate the global sum of an array of floats */
-
-void gmx_sumd_comm(int nr, double r[], MPI_Comm mpi_comm);
-/* Calculate the global sum of an array of doubles */
-
void gmx_sumi_sim(int nr, int r[], const gmx_multisim_t *ms);
/* Calculate the sum over the simulations of an array of ints */
/* Abort the parallel run */
#ifdef GMX_DOUBLE
-#define gmx_sum_comm gmx_sumd_comm
#define gmx_sum gmx_sumd
#define gmx_sum_sim gmx_sumd_sim
#else
-#define gmx_sum_comm gmx_sumf_comm
#define gmx_sum gmx_sumf
#define gmx_sum_sim gmx_sumf_sim
#endif