Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / utility / gmxmpi.h
index 3b36a87db22f3bfff10030d1c8497617ee8eacc7..cacc0a0cbeb8153f5d862ab6e61f779c20397d35 100644 (file)
@@ -32,7 +32,7 @@
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-/*! \file
+/*! \libinternal \file
  * \brief
  * Wraps <mpi.h> usage in Gromacs.
  *
  * convenience.  It also disables MPI C++ bindings that can cause compilation
  * issues.
  *
- * \todo
- * This header is installed because commrec.h depends on it; it would be good
- * to encapsulate this dependency within the library, making the public
- * interface less dependent on the compilation options.
- *
  * \inlibraryapi
  * \ingroup module_utility
  */
 #ifndef GMX_UTILITY_GMXMPI_H
 #define GMX_UTILITY_GMXMPI_H
 
+#include "config.h"
+
 /*! \cond */
 #ifdef GMX_LIB_MPI
 /* MPI C++ binding is deprecated and can cause name conflicts (e.g. stdio/mpi seek) */
@@ -76,8 +73,8 @@
 #endif /*MPI_INT64_T*/
 #else
 #ifdef GMX_THREAD_MPI
-#include "../legacyheaders/thread_mpi/tmpi.h"
-#include "../legacyheaders/thread_mpi/mpi_bindings.h"
+#include "thread_mpi/mpi_bindings.h"
+#include "thread_mpi/tmpi.h"
 #else
 typedef void* MPI_Comm;
 typedef void* MPI_Request;