biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Manually sort some includes in src/gromacs
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
gmx_detect_hardware.cpp
diff --git
a/src/gromacs/gmxlib/gmx_detect_hardware.cpp
b/src/gromacs/gmxlib/gmx_detect_hardware.cpp
index 3158d79f0d67ad8b1d660104646474e122eb747e..e05629a5122d20532c97e034ed17a15914f5b5c3 100644
(file)
--- a/
src/gromacs/gmxlib/gmx_detect_hardware.cpp
+++ b/
src/gromacs/gmxlib/gmx_detect_hardware.cpp
@@
-34,32
+34,36
@@
*/
#include "gmxpre.h"
*/
#include "gmxpre.h"
-#include "config.h"
-
-#include <string>
-#include <vector>
+#include "gromacs/legacyheaders/gmx_detect_hardware.h"
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <string>
+#include <vector>
+
+#include "config.h"
+
#ifdef HAVE_UNISTD_H
/* For sysconf */
#include <unistd.h>
#endif
#ifdef HAVE_UNISTD_H
/* For sysconf */
#include <unistd.h>
#endif
+#ifdef GMX_NATIVE_WINDOWS
+#include <windows.h>
+#endif
-#include "gromacs/legacyheaders/types/enums.h"
-#include "gromacs/legacyheaders/types/hw_info.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/md_logging.h"
+#include "thread_mpi/threads.h"
+
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/gmx_cpuid.h"
#include "gromacs/legacyheaders/gpu_utils.h"
#include "gromacs/legacyheaders/gmx_cpuid.h"
#include "gromacs/legacyheaders/gpu_utils.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/gmx_detect_hardware.h"
#include "gromacs/legacyheaders/md_logging.h"
#include "gromacs/legacyheaders/md_logging.h"
-
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/legacyheaders/types/enums.h"
+#include "gromacs/legacyheaders/types/hw_info.h"
#include "gromacs/utility/basenetwork.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/basenetwork.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
@@
-68,12
+72,6
@@
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
-#include "thread_mpi/threads.h"
-
-#ifdef GMX_NATIVE_WINDOWS
-#include <windows.h>
-#endif
-
#ifdef GMX_GPU
const gmx_bool bGPUBinary = TRUE;
#else
#ifdef GMX_GPU
const gmx_bool bGPUBinary = TRUE;
#else