Fix dependencies on config.h for typedefs.h
[alexxy/gromacs.git] / src / gromacs / legacyheaders / network.h
index 4c4d86f2d76ffd61202c9adec24e1e01ccffa90e..8d4d4f17a3c8cc2a8a7388f0d83326cf70542da3 100644 (file)
@@ -3,7 +3,7 @@
  *
  * 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.
@@ -46,7 +46,6 @@
 #include <stdio.h>
 
 #include "types/simple.h"
-#include "types/commrec.h"
 #include "typedefs.h"
 #include "main.h"
 #include "gmx_fatal.h"
@@ -120,12 +119,6 @@ void gmx_sumf(int nr, float r[], const t_commrec *cr);
 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 */
 
@@ -142,11 +135,9 @@ void gmx_abort(int nodeid, int nnodes, int errorno);
 /* 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