Skip to content

Commit 78e16d9

Browse files
linpeizePeizeLin
andauthored
Refactor: update #include in all files (#7289)
* Refactor: update #include in all files * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * fix bug of #include * revert space --------- Co-authored-by: linpz <linpz@mail.ustc.edu.cn>
1 parent 6224a17 commit 78e16d9

302 files changed

Lines changed: 289 additions & 328 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Dockerfile.intel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ RUN wget --no-check-certificate --quiet --tries=3 --timeout=30 \
146146
-DCMAKE_C_FLAGS="-O3 -fopenmp" \
147147
-DCMAKE_CXX_FLAGS="-O3 -fopenmp" \
148148
-DXSDK_ENABLE_Fortran=ON \
149-
-DCMAKE_Fortran_COMPILER=mpiifx && \
149+
-DCMAKE_Fortran_COMPILER=mpiifx && \
150150
make -j$(nproc) && \
151151
make install && \
152152
cd / && rm -rf superlu_dist-${SUPERLU_DIST_VERSION} v${SUPERLU_DIST_VERSION}.tar.gz

source/source_base/complexmatrix.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include "matrix.h"
77

88
#ifdef _MCD_CHECK
9-
#include "mcd.h"
109
#endif
1110
namespace ModuleBase
1211
{

source/source_base/inverse_matrix.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#define INVERSE_MATRIX_H
33

44
#include "global_function.h"
5-
#include "global_variable.h"
65
#include "complexmatrix.h"
76
namespace ModuleBase
87
{

source/source_base/kernels/cuda/math_kernel_op_vec.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "source_base/kernels/math_kernel_op.h"
22

33
#include <base/macros/macros.h>
4+
#include "source_base/parallel_reduce.h"
45
#include <thrust/complex.h>
56

67
template <>

source/source_base/kernels/dsp/dsp_connector.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
#include "source_base/module_device/device.h"
66
#include "source_base/module_device/memory_op.h"
7-
#include "source_hsolver/diag_comm_info.h"
87

98
namespace mtfunc
109
{

source/source_base/kernels/math_kernel_op.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include "source_base/macros.h"
77

8-
#include "source_base/parallel_reduce.h"
98

109
#include "source_base/module_device/memory_op.h"
1110
#include "source_base/module_device/types.h"

source/source_base/kernels/math_kernel_op_vec.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "source_base/kernels/math_kernel_op.h"
22
#include "source_base/module_external/blas_connector.h"
3+
#include "source_base/parallel_reduce.h"
34

45

56
namespace ModuleBase

source/source_base/matrix.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// Peize Lin update 2018-07-29
55

66
#ifdef _MCD_CHECK
7-
#include "mcd.h"
87
#endif
98

109
#include <ostream>

source/source_base/parallel_2d.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "parallel_2d.h"
22

3+
#include "source_base/module_external/blacs_connector.h"
34
#include "source_base/module_external/scalapack_connector.h"
45

56
#include <cassert>

source/source_base/parallel_2d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <cstdint>
55
#include <vector>
66

7-
#include "source_base/module_external/blacs_connector.h"
7+
#include "source_base/parallel_comm.h"
88

99
/// @brief This class packs the basic information of
1010
/// 2D-block-cyclic parallel distribution of an arbitrary matrix.

0 commit comments

Comments
 (0)