Commit ecb36de
Feature: EXX PW supports k-point parallelism (#6648)
* Very good unit test, making my laptop fan spin
* Change default pexsi_npole from 80 to 40
* Place pexsi_EDM in DensityMatrix, set size of pexsi_dm = 1 when GlobalV::NSPIN==4, and add comments for dmToRho
* An unit test added for DiagoPexsi
* modify for changed gint interface
* correct nspin related behaviors
* add efermi passthrough
* Revert "add efermi passthrough"
This reverts commit d7b402d.
* commits to resolve conversations related to codes
* DM and EDM pointers in pexsi now handled by diagopexsi, and copying h s matrices no longer needed
* add pexsi examples
* fix pexsi unit test (original version shouldn't run)
* add building docs for pexsi
* set cxx standard to c++14, which is required in make_unique
* Fix: Fix typo related to pexsi
* update to PPEXSIDFTDriver2
* default npoints to 1, so single core pexsi will work
* Feature: exx operator for pw basis, single kpt
* apply pexsi changes(?)
* q-e style exx_div
* Correct exxdiv
* Fix Compile errors
* refactor to abandon `pdiagh`
* Fix mu_buffer and nspin
* HSE examples
* Feature: Multi-K exx
* Feature: Multi-K exx
* Updates with latest
* Remove redundant global vars
* Update to v3.9.0
* Update to v3.9.0, now code works
* Remove Redundant cal_exx_energy in esolver_ks_pw.cpp
* Some mess
* Minor Fixes
* Fix separate loop and screening
* Add EXX stress
* EXX Energy???
* Multi-K is broken???
* Fix: Multi-K and stress
* Feature: ACE for single-K
* Feature: ACE should work for multi-K, but not for sure
* Feature: ACE works. Next step is ACE energy.
* Fix: adapt to the latest instruction for variable `conv_esolver`
* Reconstruct: move exx_helper to hamilt_pwdft
* Refactor: in ESolver_KS_PW, calculate deband in iter_finish, not in hamilt2density
* Fix: make files in consistent with upstream
* Fix: Now EXX PW doesn't depend on LibRI
* Fix: Add input constraints for EXX PW
* Fix: Remove redundant mpi barrier
* Fix: Clean irrelevant files
* Fix: Clean irrelevant files
* Feature: add ace flag, exit on using gpu
* Refactor: Phase 1 for refactoring exx energy
* Feature: now ace calculates energy
* Feature: enable exx energy
* Fix: fix makefile compilation error
* Fix: One minor fix for a segmentation fault
* Tests: one integrate test for exx pw, only for verifying whether exx pw works
* Revert "Tests: one integrate test for exx pw, only for verifying whether exx pw works"
This reverts commit e7b606f.
* Fix: EXX PW ACE open only when separate_loop is on
* add timer
* Feature: Double Grid method of EXX PW
* Feature: Double Grid method of EXX PW Stress
* Fix: Double Grid method of EXX PW Stress
* Feature: add double grid variable
* Feature: add double grid variable
* Fis: HSE stress
* Fix: HSE Stress
* Fix: Timer
* Fix: Timer
* For non mp sampling, disable extrapolation
* Modify test
* Modify mp
* Format
* Format
* Feature: nspin == 2 scf
* Fix: nspin == 2 scf
* Docs: EXX PW Docs
* Feature: EXX PW for nspin=2
* Docs: EXX PW Docs
* Docs: EXX PW Docs
* Docs: EXX PW Docs, minor fixes
* Refactor
* Refactor
* Refactor
* Refactor
* Refactor
* Refactor: fix unit test
* Refactor: fix unit test
* Refactor: fix unit test
* Refactor: fix unit test
* Bump version v3.9.0.7
* Refactor: Remove set kvec funcs in `K_Vectors`
* Refactor: Remove final_scf
* Refactor: Fix kvecc2d/d2c
* Fix: Tests
* Fix: Tests
* Fix: Tests
* Fix: Tests
* Refactor: Final?
* Fix
* Fix
* Fix
* Fix
* GPU EXX PW Support
* Fix: Compile Error on CUDA > 12.9
* Fix: Compile Error on CUDA > 12.9
* NVTX3
* F***ing new version
* Feature: Support linear combination of coulomb_param for EXX PW
* Fix: Fix compile issue
* F***ing new version
* F***ing new version
* F***ing new version
* Uploading hybrid gauge tddft (#6369)
* hybrid gague
* update tests
* update
* update
* update
* update
* update unit test
* fix tests
* update tests
* fix read_wfc
* fix catch_properties.sh
* fix restart
* update gpu test
* update tests
* fix
* fix input_conv
* Improve md calculation stress output in running log (#6366)
* Improve md calculation stress output in running log
* Module_IO Unittest modify
* ModuleMD Unittests modify
* modify code comment in fire_test.cpp
* maintain setprecision(8) for md stress output
* Refactor: Remove redundant Input_para from ESolver Class (#6370)
* Refactor: Replace PARAM.inp with inp in ESolver classes for consistency
* Refactor: Replace local input parameters with PARAM.inp in ESolver classes for consistency
* Refactor: Use PARAM.inp.scf_ene_thr in ESolver_KS_LCAO iter_finish method
* Revert "Refactor: Use PARAM.inp.scf_ene_thr in ESolver_KS_LCAO iter_finish method"
This reverts commit b1bd0fd.
* Revert "Refactor: Replace local input parameters with PARAM.inp in ESolver classes for consistency"
This reverts commit f4f81e3.
* Fix: Fix memory leak introduced by new gint module (#6375)
* fix memory leak
* delete copy assignment
* refactor Exx_Opt_Orb (#6378)
Co-authored-by: linpz <linpz@mail.ustc.edu.cn>
* Add use sw and fix Floating point exception (#6372)
* remove float error in sunway
* fix ig=0
* add the sw
* change the make_dir
* unify the gg use
* fix compile bug
* add init
* temporarily remove the sunway define
* add the pesduo
* fix compile bug
* fix bug in the betar
* modify the test
* Update the output formats of rt-TDDFT (#6381)
* update the output formats of rt-TDDFT
* update the output formats of rt-TDDFT
* fix a bug
* update initialized velocities
* found some output information is still lacking in MD module
* [Refactor] Rename grid to module_grid and genelpa to module_genelpa (#6386)
* Rename grid to module_grid
* Rename genelpa to module_genelpa
* Fix cmake
* Update the outputs of geometry relaxation (#6387)
* update the output formats of rt-TDDFT
* update the output formats of rt-TDDFT
* fix a bug
* update initialized velocities
* found some output information is still lacking in MD module
* update output information
* remove some global variables in relax_driver
* update outputs
* update relaxation outputs
* update relaxation output messages
* update tests of print info
* fix a test
* fix cg outputs
* udpate cg test
* update relax tests
* update LCAO output stress format
* change update_cell.cpp algorithm, when the ion move is larger than the cell length, it is fine to proceed the relaxation calculations
* fix tests for unitcells
* update cell
* Feature: support the output of matrix representation of symm_ops (#6390)
* Feature: support output the matrix representation of symmetry operation
* Feature: support the output of matrix representation of symm_ops
* update the document
* Feature: Output real space wavefunction and partial charge density when `device=gpu` (#6391)
* Fix GPU output of out_pchg and out_wfc_norm, out_wfc_re_im
* GPU integrate test is functional again
* Optimize RT-TDDFT dipole output (#6393)
* Perf: support GPU version of cal_force_cc with LCAO basis (#6392)
* support GPU version of cal_force_cc with LCAO basis
* fix a bug
* [Refactor] Move module_lr to source_lcao and add a new folder module_external in source_base (#6388)
* Move module_lr to source_lcao
* Fix test build
* Move blas_connector to module_external
* Fix header use
* Fix internal header use
* A fierce battle with Makefile😡
* Move blacs_connector.h to module_external
* Move lapack_connector.h and lapack_wrapper.h to module_external
* Fix header usage
* Move scalapack_connector.h to module_external
* Fix a bug for the output information after relaxation (#6395)
* update the output formats of rt-TDDFT
* update the output formats of rt-TDDFT
* fix a bug
* update initialized velocities
* found some output information is still lacking in MD module
* update output information
* remove some global variables in relax_driver
* update outputs
* update relaxation outputs
* update relaxation output messages
* update tests of print info
* fix a test
* fix cg outputs
* udpate cg test
* update relax tests
* update LCAO output stress format
* change update_cell.cpp algorithm, when the ion move is larger than the cell length, it is fine to proceed the relaxation calculations
* fix tests for unitcells
* update cell
* update some function names, update output A to Angstrom
* change eV/A to eV/Angstrom
* bump version to 3.9.0.10 (#6397)
Co-authored-by: Liang Sun <50293369+sunliang98@users.noreply.github.com>
* Fix: fix exx_gamma_extrapolation error in MPI
* Fix: fix exx_gamma_extrapolation error in MPI
* Update lapack.cu
* Refactor: Use LAPACK interfaces from ATen
* Fix: Integrate test
* Fix: implement devinfo for potrf
* Fix: MPI and Makefile
* Fix: get_potential
* Fix: ace
* Refactor
* Refactor
* Refactor
* Refactor
* Refactor
* Fix: conv
* Revert "Fix: conv"
This reverts commit d2da506.
* Fix: conv
* Fix: conv hard code thr for now
* Fix: conv hard code thr for now
* Fix: conv hard code thr for now
* Fix: conv hard code thr for now
* Refactor
* Refactor
* Refactor
* Refactor
* Refactor
* Mod
* Begin EXX KPAR
* Begin EXX KPAR
* Begin EXX KPAR
* Begin EXX KPAR
* Begin EXX KPAR
* EXX KPAR WORKS
* EXX KPAR WORKS Alternative
* Fix GPU, but so ugly...
* Undo cuda aware mpi
* Undo cuda aware mpi
* Revert "Undo cuda aware mpi"
This reverts commit a8d71b2.
* EXX KPAR WORKS on NSPIN=2
* Fix without MPI
* Fix header
---------
Co-authored-by: Mohan Chen <mohan.chen.chen.mohan@gmail.com>
Co-authored-by: wqzhou <33364058+WHUweiqingzhou@users.noreply.github.com>
Co-authored-by: HTZhao <104255052+ESROAMER@users.noreply.github.com>
Co-authored-by: lanshuyue <140165754+lanshuyue@users.noreply.github.com>
Co-authored-by: Liang Sun <50293369+sunliang98@users.noreply.github.com>
Co-authored-by: dzzz2001 <153698752+dzzz2001@users.noreply.github.com>
Co-authored-by: linpeize <linpeize2024@163.com>
Co-authored-by: linpz <linpz@mail.ustc.edu.cn>
Co-authored-by: liiutao <74701833+A-006@users.noreply.github.com>
Co-authored-by: Mohan Chen <mohanchen@pku.edu.cn>
Co-authored-by: Critsium <tsfxwbbzxy@163.com>
Co-authored-by: kirk0830 <67682086+kirk0830@users.noreply.github.com>
Co-authored-by: Taoni Bao <baotaoni@pku.edu.cn>
Co-authored-by: Chen Nuo <49788094+Cstandardlib@users.noreply.github.com>1 parent 0857ee1 commit ecb36de
4 files changed
Lines changed: 332 additions & 123 deletions
File tree
- source/source_pw/module_pwdft/operator_pw
Lines changed: 159 additions & 88 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
| |||
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
75 | | - | |
76 | 73 | | |
77 | 74 | | |
78 | 75 | | |
79 | 76 | | |
| 77 | + | |
80 | 78 | | |
81 | | - | |
82 | 79 | | |
83 | 80 | | |
84 | 81 | | |
| |||
116 | 113 | | |
117 | 114 | | |
118 | 115 | | |
119 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
120 | 119 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
128 | 182 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
177 | 272 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | 273 | | |
204 | 274 | | |
205 | 275 | | |
| 276 | + | |
206 | 277 | | |
207 | 278 | | |
208 | 279 | | |
| |||
234 | 305 | | |
235 | 306 | | |
236 | 307 | | |
237 | | - | |
| 308 | + | |
238 | 309 | | |
239 | 310 | | |
240 | 311 | | |
| |||
Lines changed: 28 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
33 | 47 | | |
34 | 48 | | |
35 | 49 | | |
| |||
39 | 53 | | |
40 | 54 | | |
41 | 55 | | |
42 | | - | |
43 | | - | |
| 56 | + | |
| 57 | + | |
44 | 58 | | |
45 | 59 | | |
46 | 60 | | |
| |||
109 | 123 | | |
110 | 124 | | |
111 | 125 | | |
112 | | - | |
113 | | - | |
| 126 | + | |
| 127 | + | |
114 | 128 | | |
115 | 129 | | |
116 | 130 | | |
| |||
146 | 160 | | |
147 | 161 | | |
148 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
149 | 167 | | |
150 | 168 | | |
151 | 169 | | |
| |||
388 | 406 | | |
389 | 407 | | |
390 | 408 | | |
391 | | - | |
| 409 | + | |
392 | 410 | | |
393 | 411 | | |
394 | 412 | | |
| |||
437 | 455 | | |
438 | 456 | | |
439 | 457 | | |
440 | | - | |
| 458 | + | |
441 | 459 | | |
442 | 460 | | |
443 | 461 | | |
| |||
454 | 472 | | |
455 | 473 | | |
456 | 474 | | |
457 | | - | |
458 | | - | |
| 475 | + | |
| 476 | + | |
459 | 477 | | |
460 | 478 | | |
461 | 479 | | |
| |||
481 | 499 | | |
482 | 500 | | |
483 | 501 | | |
484 | | - | |
| 502 | + | |
485 | 503 | | |
486 | | - | |
| 504 | + | |
487 | 505 | | |
488 | 506 | | |
489 | 507 | | |
| |||
0 commit comments