Removed dependency on windows.h through commrec.h, domdec.h.
authorSander Pronk <pronk@cbr.su.se>
Tue, 22 May 2012 15:46:37 +0000 (17:46 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Tue, 29 May 2012 16:30:01 +0000 (18:30 +0200)
Change-Id: If40506b521a4b4690506465a3f421dab93bc9ce6

include/domdec.h
include/domdec_network.h
include/mdrun.h
include/types/commrec.h
src/gmxlib/shift_util.c
src/mdlib/gmx_fft_fftw3.c

index 64b4d20a249af2bf3ea100233885cdf8cd0f8fb9..673b54f02e687b255373f17f60cc85a684eefa78 100644 (file)
 #include "vsite.h"
 #include "genborn.h"
 
-#ifdef GMX_LIB_MPI
-#include <mpi.h>
-#endif
-#ifdef GMX_THREADS
-#include "tmpi.h"
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 3f8506cb4e2dbe08de42a4fbfe03a839cfbf90e0..400c50bf9aed18428dfda1db336122a4954a8b3a 100644 (file)
 
 #include "typedefs.h"
 
-#ifdef GMX_LIB_MPI
-#include <mpi.h>
-#endif
-#ifdef GMX_THREADS
-#include "tmpi.h"
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 83789b5945a131ea757e9681e54b4a9706178239..6703169339683ee204b6167be43639e06b8e0b4e 100644 (file)
 #include "pull.h"
 #include "update.h"
 
+
+#ifdef GMX_THREADS
+#include "thread_mpi/threads.h"
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 2baa5844fe448f8a1d3af3457cbd08113b64a89d..8201cf8c44730183d73be42e2d05275ceac5aa73 100644 (file)
@@ -39,7 +39,8 @@
 #include <mpi.h>
 #else
 #ifdef GMX_THREADS
-#include "../tmpi.h"
+#include "../thread_mpi/tmpi.h"
+#include "../thread_mpi/mpi_bindings.h"
 #else
 typedef void* MPI_Comm;
 typedef void* MPI_Request;
index 176077a36e2fd9248bdda4784e2f5e79668cb8e2..43c3d20c91b76e5632df03a74d500e086657b48b 100644 (file)
@@ -53,7 +53,7 @@
 #include "gmxfio.h"
 
 #ifdef GMX_THREADS
-#include "thread_mpi.h"
+#include "thread_mpi/threads.h"
 #endif
 
 #define p2(x) ((x)*(x))
index 342bba6ceac386795fc58187dfcd12c57b137bc6..396b201e43fb05682b9e18da0961a4936e643fe2 100644 (file)
@@ -35,6 +35,9 @@
 #define FFTWPREFIX(name) fftwf_ ## name
 #endif
 
+#ifdef GMX_THREADS
+#include "thread_mpi/threads.h"
+#endif
 
 
 #ifdef GMX_THREADS