Commit b8e9264
Feature: Support linear combination of coulomb_param for EXX PW (#6371)
* 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
* Docs: added docs for pexsi inputs
* Fix unit test issues in input_conv
* 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
* Fix Compile errors
* refactor to abandon `pdiagh`
* Fix mu_buffer and nspin
* Updates with latest
* Refactor: in ESolver_KS_PW, calculate deband in iter_finish, not in hamilt2density
* Fix: make files in consistent with upstream
* Refactor
* Refactor
* Refactor
* Refactor
* Refactor
* Refactor: fix unit test
* Refactor: fix unit test
* Refactor: fix unit test
* Refactor: fix unit test
* 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
* Fix: Compile Error on CUDA > 12.9
* Fix: Compile Error on CUDA > 12.9
* Feature: Support linear combination of coulomb_param for EXX PW
* Fix: Fix compile issue
---------
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 db41600 commit b8e9264
File tree
3 files changed
+145
-79
lines changed- source
- source_io
- source_pw/module_pwdft/operator_pw
3 files changed
+145
-79
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
413 | 423 | | |
414 | 424 | | |
415 | 425 | | |
| |||
Lines changed: 126 additions & 72 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
617 | 616 | | |
618 | 617 | | |
619 | 618 | | |
| 619 | + | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
623 | | - | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
624 | 625 | | |
625 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
626 | 629 | | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
| 630 | + | |
636 | 631 | | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
645 | 641 | | |
646 | | - | |
647 | | - | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
648 | 650 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
655 | 673 | | |
656 | | - | |
| 674 | + | |
| 675 | + | |
657 | 676 | | |
| 677 | + | |
658 | 678 | | |
659 | 679 | | |
660 | | - | |
| 680 | + | |
661 | 681 | | |
| 682 | + | |
662 | 683 | | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
663 | 687 | | |
664 | | - | |
665 | | - | |
666 | | - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
667 | 704 | | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
672 | 709 | | |
673 | | - | |
674 | | - | |
675 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
676 | 718 | | |
677 | | - | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
678 | 732 | | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
694 | 741 | | |
695 | | - | |
| 742 | + | |
| 743 | + | |
696 | 744 | | |
| 745 | + | |
697 | 746 | | |
698 | 747 | | |
699 | | - | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
700 | 757 | | |
| 758 | + | |
701 | 759 | | |
702 | | - | |
703 | 760 | | |
704 | 761 | | |
705 | 762 | | |
706 | 763 | | |
707 | 764 | | |
708 | 765 | | |
709 | | - | |
| 766 | + | |
710 | 767 | | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
| 768 | + | |
715 | 769 | | |
716 | 770 | | |
717 | 771 | | |
| |||
764 | 818 | | |
765 | 819 | | |
766 | 820 | | |
767 | | - | |
| 821 | + | |
768 | 822 | | |
769 | | - | |
| 823 | + | |
770 | 824 | | |
771 | 825 | | |
772 | 826 | | |
| |||
783 | 837 | | |
784 | 838 | | |
785 | 839 | | |
786 | | - | |
| 840 | + | |
787 | 841 | | |
788 | | - | |
| 842 | + | |
789 | 843 | | |
790 | 844 | | |
791 | 845 | | |
| |||
805 | 859 | | |
806 | 860 | | |
807 | 861 | | |
808 | | - | |
| 862 | + | |
809 | 863 | | |
810 | | - | |
| 864 | + | |
811 | 865 | | |
812 | 866 | | |
813 | 867 | | |
| |||
828 | 882 | | |
829 | 883 | | |
830 | 884 | | |
831 | | - | |
| 885 | + | |
832 | 886 | | |
833 | 887 | | |
834 | 888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
| 10 | + | |
6 | 11 | | |
| 12 | + | |
7 | 13 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
0 commit comments