Commit 28d8902
Feature: Add gamma point extrapolation for EXX PW (#6118)
* feat pexsi
* fix : diag not completed
* feat
* feat: pexsi hsolver
* CMake building implemented
* Works
* adapt to the new container
* Turn off USE_PEXSI
* Update LibRI to 553c91c
* modify include files
* namespace-ize
* new inputs added
* Configure Makefile Compiling, fix typos
* Fix Makefile Intel toolchains compile errors
* Fix even more PEXSI related Makefile compiling issues
* Modify inputs and update to latest version (#2)
* run INPUT.Default() in every process in InputParaTest (#3490)
Co-authored-by: kirk0830 <[email protected]>
* add blas support for FindLAPACK.cmake (#3497)
* more unittest of QO: towards orbital selection (#3499)
* Fix: fix bug in mulliken charge calculation (#3503)
* fix phase
* fix case test
* Refactor: namespace Conv_Coulomb_Pot_K (#3446)
* Refactor: namespace Conv_Coulomb_Pot_K
* Refactor: namespace Conv_Coulomb_Pot_K
---------
Co-authored-by: wqzhou <[email protected]>
* enable the computation of all zeros in one function call (#3449)
Co-authored-by: wqzhou <[email protected]>
* replace ios.eof() by ios.good() to avoid meeting badbit and failbit in reading STRU (#3506)
* Build: add ccache to accelerate the testing process (#3509)
* Build: add ccache to accelerate the testing process
* Update test.yml
* Update test.yml
* Update test.yml
* Docs: to avoid the misunderstanding in docs (#3518)
* to avoid the misunderstanding in docs
* Update docs/quick_start/hands_on.md
Co-authored-by: Chun Cai <[email protected]>
---------
Co-authored-by: Chun Cai <[email protected]>
* Docs: fix a missing depencency in conda build env (#3508)
* Feature: Add ENABLE_RAPIDJSON option to control the output of abacus.json (#3519)
Add ENABLE_RAPIDJSON option to control the output of abacus.json
* Feature: add python wrapper for math sphbes (#3475)
* recommit for review
* add python wrapper
* remove timer since performace tests add
* Feature: support segment split in kline mode in KPT file and `out_band` band output precision control, `8` as default (#3493)
* add precision control
* correct serial version of nscf_band function
* fix issue 3482
* update unit and integrated test
* update document
* correct unittest and make compatible with false and true
* fix: bug in Autotest.sh when result.ref has no totaltimeref (#3523)
* Fix : unit test of module_xc (#3524)
* Fix: omit small magnetic moments to avoid numerical instability (#3530)
* update deltalambda
* avoid numerical error in orbMulP
* add constrain on Mi
* change case reference value
* Fix: fix multiple compiler warnings (#3515)
* Fix: add noreturn attribute to warning_quit
* Add type conversion
* fix string literal
* fix small number trunctuation
* Fix system call returned value not checked
* fix missing braket
* Refactor parameter_pool.cpp and parameter_pool.h
* remove duplicated return statements
* Change WARNING_QUIT occurances in tests
* Add warning message to help debug UT
* output the default precision flag (#3496)
Co-authored-by: kirk0830 <[email protected]>
* Build: Improving CMake performance for finding LibXC and ELPA (#3478)
* Fix for finding LibXC and ELPA
* For compatibility to previous routines
* syntax fix for FindELPA.cmake
* Update cmake/FindELPA.cmake
Co-authored-by: Chun Cai <[email protected]>
* Using CMake interface as default for finding LibXC
* update docs
* fix for FindLibxc: changing imcompatible if statement
* fix for FindLibxc: changing imcompatible if statement
* fix for FindLibxc: changing imcompatible if statement
* update docs for installing pkg-config
* Update FindLibxc.cmake
* Update FindLibxc.cmake
* remove previous LibXC routine in CMakeLists.txt
Co-authored-by: Chun Cai <[email protected]>
* Update easy_install.md with Makefile-built LibXC supported
* Update easy_install.md to include different behavior in different version on finding ELPA
---------
Co-authored-by: Chun Cai <[email protected]>
* Docs: correct some docs about mp2 smearing method (#3533)
* correct some docs about mp2 smearing method
* add docs about mv method
* Feature : printing band density (#3501)
Co-authored-by: wenfei-li <[email protected]>
Co-authored-by: wqzhou <[email protected]>
* add some docs for PR#3501 (#3537)
* Feature: enable restart charge density mixing during SCF (#3542)
* add a new parameter mixing_restart
* do not update rho if iter==mixing_restart
* do not update rho if iter==mixing_restart-1
* reset mix and rho_mdata if iter==mixing_restart
* fix SCF exit directly since drho=0 if iter=GlobalV::MIXING_RESTART
* re-set_mixing in eachiterinit for PW and LCAO
* enable SCF restarts in esolver_ks::RUN
* add some UnitTests
* add some Docs
* new inputs added
* Update input-main.md (#3551)
Solve the format problem mentioned in issue 3543
* Build: fix compatibility issue against toolchain install (#3540)
* Fix for finding LibXC and ELPA
* For compatibility to previous routines
* syntax fix for FindELPA.cmake
* Update cmake/FindELPA.cmake
Co-authored-by: Chun Cai <[email protected]>
* Using CMake interface as default for finding LibXC
* update docs
* fix for FindLibxc: changing imcompatible if statement
* fix for FindLibxc: changing imcompatible if statement
* fix for FindLibxc: changing imcompatible if statement
* update docs for installing pkg-config
* Update FindLibxc.cmake
* Update FindLibxc.cmake
* remove previous LibXC routine in CMakeLists.txt
Co-authored-by: Chun Cai <[email protected]>
* Update easy_install.md with Makefile-built LibXC supported
* Update easy_install.md to include different behavior in different version on finding ELPA
* fix compatibility issue against toolchain
* Change default ELPA install routine to old one
---------
Co-authored-by: Chun Cai <[email protected]>
* Test: Configure performance tests for math libraries (#3511)
* add performace test of sphbes functions.
* fix benchmark cmake errors
* add dependencies for docker
* update docs
* add performance tests for sphbes
* add google benchmark
* rewrite benchmark tests in fixtures
* disable internal testing in benchmark
* merge benchmark into integration test
---------
Co-authored-by: StarGrys <[email protected]>
* Configure Makefile Compiling, fix typos
* Fix Makefile Intel toolchains compile errors
* Fix even more PEXSI related Makefile compiling issues
* Update hsolver_pw.cpp (#3556)
when use_uspp==false, overlap matrix should be E.
* Fix: cuda build target (#3276)
* Fix: cuda buid target
* Update CMakeLists.txt
---------
Co-authored-by: Denghui Lu <[email protected]>
---------
Co-authored-by: wqzhou <[email protected]>
Co-authored-by: kirk0830 <[email protected]>
Co-authored-by: Haozhi Han <[email protected]>
Co-authored-by: Zhao Tianqi <[email protected]>
Co-authored-by: PeizeLin <[email protected]>
Co-authored-by: jinzx10 <[email protected]>
Co-authored-by: Chun Cai <[email protected]>
Co-authored-by: Peng Xingliang <[email protected]>
Co-authored-by: Jie Li <[email protected]>
Co-authored-by: Wenfei Li <[email protected]>
Co-authored-by: Denghui Lu <[email protected]>
Co-authored-by: YI Zeping <[email protected]>
Co-authored-by: wenfei-li <[email protected]>
Co-authored-by: jingan-181 <[email protected]>
Co-authored-by: StarGrys <[email protected]>
Co-authored-by: Haozhi Han <[email protected]>
* Revert "Modify inputs and update to latest version"
* Update FindPEXSI.cmake to fix Comments
* Fix CI errors
* Fix CI Errors and Merge with Upstream
* Resolve Pull Request Reviews
* Fix parallel communication related issue
* Fix vars in Makefile.vars, add input tests and comments for pexsi vars
* Fix nspin > 1 cases
* Improvement: take calculated mu as new initial guess, may slightly improve performance
* Fix mistakes in the last commit
* Fix: params and features
- set default pexsi_temp
- fix md in pexsi
* fix empty lines
* Fix: move params to pexsi_solver, rename USE_PEXSI to ENABLE_PEXSI
* Tests: Modify Dockerfile and GitHub Workflows
* Fix: wrong abacus link for dockerfile
* Docs: added docs for pexsi inputs
* Tests: three tests added for pexsi
* Fix unit test issues in input_conv
* 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
* 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
---------
Co-authored-by: zhangzhihao <[email protected]>
Co-authored-by: zhangzh-pku <[email protected]>
Co-authored-by: wqzhou <[email protected]>
Co-authored-by: kirk0830 <[email protected]>
Co-authored-by: Haozhi Han <[email protected]>
Co-authored-by: Zhao Tianqi <[email protected]>
Co-authored-by: PeizeLin <[email protected]>
Co-authored-by: jinzx10 <[email protected]>
Co-authored-by: Chun Cai <[email protected]>
Co-authored-by: Peng Xingliang <[email protected]>
Co-authored-by: Jie Li <[email protected]>
Co-authored-by: Wenfei Li <[email protected]>
Co-authored-by: Denghui Lu <[email protected]>
Co-authored-by: YI Zeping <[email protected]>
Co-authored-by: wenfei-li <[email protected]>
Co-authored-by: jingan-181 <[email protected]>
Co-authored-by: StarGrys <[email protected]>
Co-authored-by: Haozhi Han <[email protected]>
Co-authored-by: Mohan Chen <[email protected]>1 parent 48434f0 commit 28d8902
File tree
9 files changed
+272
-82
lines changed- source
- module_cell
- module_esolver
- module_hamilt_pw/hamilt_pwdft
- module_exx_helper
- operator_pw
- module_io
- module_parameter
- tests/integrate/190_PW_PBE0
9 files changed
+272
-82
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
143 | 149 | | |
144 | 150 | | |
145 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
| 582 | + | |
581 | 583 | | |
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
585 | 587 | | |
586 | 588 | | |
587 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
588 | 593 | | |
589 | 594 | | |
590 | 595 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Lines changed: 117 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
269 | 273 | | |
270 | 274 | | |
271 | 275 | | |
272 | | - | |
| 276 | + | |
273 | 277 | | |
274 | 278 | | |
275 | 279 | | |
| |||
293 | 297 | | |
294 | 298 | | |
295 | 299 | | |
296 | | - | |
| 300 | + | |
297 | 301 | | |
298 | 302 | | |
299 | 303 | | |
| |||
344 | 348 | | |
345 | 349 | | |
346 | 350 | | |
347 | | - | |
| 351 | + | |
348 | 352 | | |
349 | 353 | | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
353 | 357 | | |
| 358 | + | |
354 | 359 | | |
355 | 360 | | |
356 | 361 | | |
| |||
494 | 499 | | |
495 | 500 | | |
496 | 501 | | |
| 502 | + | |
497 | 503 | | |
498 | 504 | | |
499 | 505 | | |
| |||
539 | 545 | | |
540 | 546 | | |
541 | 547 | | |
542 | | - | |
| 548 | + | |
| 549 | + | |
543 | 550 | | |
544 | 551 | | |
545 | 552 | | |
| |||
551 | 558 | | |
552 | 559 | | |
553 | 560 | | |
554 | | - | |
| 561 | + | |
555 | 562 | | |
556 | 563 | | |
557 | 564 | | |
| |||
580 | 587 | | |
581 | 588 | | |
582 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
583 | 594 | | |
584 | 595 | | |
585 | 596 | | |
586 | 597 | | |
587 | 598 | | |
588 | 599 | | |
589 | 600 | | |
590 | | - | |
591 | | - | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
592 | 605 | | |
593 | 606 | | |
594 | 607 | | |
595 | 608 | | |
596 | 609 | | |
597 | 610 | | |
598 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
599 | 641 | | |
600 | 642 | | |
601 | 643 | | |
| |||
604 | 646 | | |
605 | 647 | | |
606 | 648 | | |
607 | | - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
608 | 654 | | |
609 | 655 | | |
610 | 656 | | |
611 | | - | |
| 657 | + | |
612 | 658 | | |
613 | 659 | | |
614 | 660 | | |
615 | 661 | | |
616 | 662 | | |
617 | 663 | | |
618 | | - | |
| 664 | + | |
| 665 | + | |
619 | 666 | | |
620 | | - | |
| 667 | + | |
621 | 668 | | |
622 | 669 | | |
623 | 670 | | |
624 | | - | |
| 671 | + | |
625 | 672 | | |
626 | 673 | | |
627 | 674 | | |
| |||
638 | 685 | | |
639 | 686 | | |
640 | 687 | | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
641 | 692 | | |
642 | 693 | | |
643 | 694 | | |
| |||
647 | 698 | | |
648 | 699 | | |
649 | 700 | | |
650 | | - | |
| 701 | + | |
| 702 | + | |
651 | 703 | | |
652 | 704 | | |
653 | 705 | | |
654 | 706 | | |
655 | 707 | | |
656 | | - | |
657 | | - | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
658 | 735 | | |
659 | 736 | | |
660 | 737 | | |
661 | 738 | | |
662 | 739 | | |
663 | 740 | | |
664 | | - | |
| 741 | + | |
665 | 742 | | |
666 | 743 | | |
667 | 744 | | |
668 | | - | |
| 745 | + | |
669 | 746 | | |
670 | 747 | | |
671 | 748 | | |
| |||
674 | 751 | | |
675 | 752 | | |
676 | 753 | | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
| 754 | + | |
683 | 755 | | |
684 | | - | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
685 | 766 | | |
686 | 767 | | |
687 | 768 | | |
| |||
716 | 797 | | |
717 | 798 | | |
718 | 799 | | |
719 | | - | |
720 | 800 | | |
721 | 801 | | |
722 | 802 | | |
| |||
745 | 825 | | |
746 | 826 | | |
747 | 827 | | |
748 | | - | |
| 828 | + | |
749 | 829 | | |
750 | 830 | | |
751 | 831 | | |
752 | 832 | | |
753 | 833 | | |
754 | | - | |
755 | | - | |
| 834 | + | |
| 835 | + | |
756 | 836 | | |
757 | 837 | | |
758 | 838 | | |
| |||
881 | 961 | | |
882 | 962 | | |
883 | 963 | | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
884 | 971 | | |
885 | 972 | | |
886 | 973 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| |||
0 commit comments