Skip to content

Commit 3a5c5f8

Browse files
committed
Correct __OPENMP macro spell of #include
1 parent 3fe0c03 commit 3a5c5f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/module_elecstate/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ remove_definitions(-D__UT_USE_CUDA)
55
remove_definitions(-D__UT_USE_ROCM)
66
remove_definitions(-D__ROCM)
77
remove_definitions(-D__DEEPKS)
8-
# remove_definitions(-D_OPENMP)
8+
remove_definitions(-D_OPENMP)
99
remove_definitions(-DUSE_PAW)
1010

1111
if (ENABLE_MPI)

source/module_elecstate/test/charge_mixing_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "module_hamilt_general/module_xc/xc_functional.h"
1212
#undef private
1313

14-
#ifdef __OPENMP
14+
#ifdef _OPENMP
1515
#include <omp.h>
1616
#endif
1717

0 commit comments

Comments
 (0)