You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Cherry-picked #5775 to resolve the single-precision version error. (#6418)
* Refactor: Use psi_initializer instead of wavefunc (#5775)
* use psi_initializer
* fix compile
* same results of random init
* make atomic initialized results right
* finish refactor
* fix compile
* fix compile
* fix UTs
* update results
* update results
* update GPU results
* update
* refactor pw
* change 108_PW_RE_PINT_RKS results
* update results
* remove openmp for random generate
* update
* remove psi_initializer in Doc
* remove omp2
* fix compile
* re-push an unadded modification
* Fixed the bug of duplicate definitions in the source/module_hsolver/test/test_hsolver_sdft.cpp file
cherry-pick #5775 has resolved the issue of single-precision version errors
Tests were conducted locally on the previous and subsequent versions of cherry-pick, and it was found that the failed samples of both were almost the same. It was concluded that the problem was not caused by cherry-pick
---------
Co-authored-by: Qianrui Liu <76200646+Qianruipku@users.noreply.github.com>
Co-authored-by: dyzheng <zhengdy@bjaisi.com>
Copy file name to clipboardExpand all lines: docs/advanced/input_files/input-main.md
+2-15Lines changed: 2 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,6 @@
11
11
-[kpar](#kpar)
12
12
-[bndpar](#bndpar)
13
13
-[latname](#latname)
14
-
-[psi\_initializer](#psi_initializer)
15
14
-[init\_wfc](#init_wfc)
16
15
-[init\_chg](#init_chg)
17
16
-[init\_vel](#init_vel)
@@ -93,6 +92,7 @@
93
92
-[scf\_os\_stop](#scf_os_stop)
94
93
-[scf\_os\_thr](#scf_os_thr)
95
94
-[scf\_os\_ndim](#scf_os_ndim)
95
+
-[sc\_os\_ndim](#sc_os_ndim)
96
96
-[chg\_extrap](#chg_extrap)
97
97
-[lspinorb](#lspinorb)
98
98
-[noncolin](#noncolin)
@@ -437,7 +437,7 @@
437
437
-[abs\_broadening](#abs_broadening)
438
438
-[ri\_hartree\_benchmark](#ri_hartree_benchmark)
439
439
-[aims\_nbasis](#aims_nbasis)
440
-
-[Reduced Density Matrix Functional Theory](#Reduced-Density-Matrix-Functional-Theory)
440
+
-[Reduced Density Matrix Functional Theory](#reduced-density-matrix-functional-theory)
441
441
-[rdmft](#rdmft)
442
442
-[rdmft\_power\_alpha](#rdmft_power_alpha)
443
443
@@ -550,17 +550,6 @@ These variables are used to control general system parameters.
550
550
- triclinic: triclinic (14)
551
551
-**Default**: none
552
552
553
-
### psi_initializer
554
-
555
-
-**Type**: Integer
556
-
-**Description**: enable the experimental feature psi_initializer, to support use numerical atomic orbitals initialize wavefunction (`basis_type pw` case).
557
-
558
-
NOTE: this feature is not well-implemented for `nspin 4` case (closed presently), and cannot use with `calculation nscf`/`esolver_type sdft` cases.
559
-
Available options are:
560
-
- 0: disable psi_initializer
561
-
- 1: enable psi_initializer
562
-
-**Default**: 0
563
-
564
553
### init_wfc
565
554
566
555
-**Type**: String
@@ -572,8 +561,6 @@ These variables are used to control general system parameters.
572
561
- atomic+random: add small random numbers on atomic pseudo-wavefunctions
573
562
- file: from binary files `WAVEFUNC*.dat`, which are output by setting [out_wfc_pw](#out_wfc_pw) to `2`.
574
563
- random: random numbers
575
-
576
-
with `psi_initializer 1`, two more options are supported:
577
564
- nao: from numerical atomic orbitals. If they are not enough, other wave functions are initialized with random numbers.
578
565
- nao+random: add small random numbers on numerical atomic orbitals
0 commit comments