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
Copy file name to clipboardExpand all lines: Dockerfile
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
# To build this docker file, run `docker build -t abacus - < Dockerfile`.
1
+
# To build this Dockerfile, run `docker build -t abacus - < Dockerfile`.
2
+
# Pull image with `docker pull ghcr.io/deepmodeling/abacus:latest`.
2
3
FROM ubuntu:latest
3
4
RUN apt update && apt install -y --no-install-recommends libopenblas-dev liblapack-dev libscalapack-mpi-dev libelpa-dev libfftw3-dev libcereal-dev libxc-dev g++ make cmake bc time sudo vim git
4
5
# If you wish to use the LLVM compiler, replace 'g++' above with 'clang libomp-dev'.
- nbands_sto>0: Number of stochastic orbitals to calculate in stochastic DFT (SDFT) or mix stochastic-deterministic (MDFT). More bands obtain more precise results or smaller stochastic errors ($ \propto 1/\sqrt{N_{\chi}}$);
472
-
- nbands_sto=0: Complete basis will be used to replace stochastic orbitals with the Chebyshev method (CT) and it will get the results the same as KSDFT without stochastic errors.
473
-
- **Default**: 0
474
-
475
471
#### nbands_istate
476
472
477
473
- **Type**: Integer
@@ -570,6 +566,21 @@ calculations.
570
566
- second-order: second-order extrapolation
571
567
- **Default**:atomic
572
568
569
+
by time(NULL).
570
+
- **Default**:0
571
+
572
+
### Electronic structure (SDFT)
573
+
574
+
This part of variables are used to control the parameters of stochastic DFT (SDFT), mix stochastic-deterministic DFT (MDFT), or complete-basis Chebyshev method (CT).
575
+
576
+
#### nbands_sto
577
+
578
+
- **Type**: Integer
579
+
- **Description**:
580
+
- nbands_sto>0: Number of stochastic orbitals to calculate in SDFT and MDFT. More bands obtain more precise results or smaller stochastic errors ($ \propto 1/\sqrt{N_{\chi}}$);
581
+
- nbands_sto=0: Complete basis will be used to replace stochastic orbitals with the Chebyshev method (CT) and it will get the results the same as KSDFT without stochastic errors.
582
+
- **Default**: 0
583
+
573
584
#### nche_sto
574
585
575
586
- **Type**: Integer
@@ -593,8 +604,7 @@ calculations.
593
604
- **Type**: Integer
594
605
- **Description**: The random seed to generate stochastic orbitals.
595
606
- seed_sto>=0: Stochastic orbitals have the form of $\exp(i2\pi\theta(G))$, where $\theta$ is a uniform distribution in $(0,1)$. If seed_sto=0, the seed is decided by time(NULL).
596
-
- seed_sto<=-1: Stochastic orbitals have the form of $\pm1$ with the equal probability. If seed_sto=-1, the seed is decided by time(NULL).
597
-
- **Default**:0
607
+
- seed_sto<=-1: Stochastic orbitals have the form of $\pm1$ with the equal probability. If seed_sto=-1, the seed is decided
598
608
599
609
### Geometry relaxation
600
610
@@ -918,42 +928,42 @@ Warning: this function is not robust enough for version 2.2.0. Please try these
918
928
919
929
This part of variables are relevant to electric field and dipole correction
920
930
921
-
#### efield
931
+
#### efield_flag
922
932
923
933
- **Type**: Boolean
924
934
- **Description**: If set to true, a saw-like potential simulating an electric field
925
935
is added to the bare ionic potential.
926
936
- **Default**: false
927
937
928
-
#### dipole
938
+
#### dip_cor_flag
929
939
930
940
- **Type**: Boolean
931
-
- **Description**: If dipole == true and efield == true, a dipole correction is also
932
-
added to the bare ionic potential. If you want no electric field, parameter eamp should be zero. Must be used ONLY in a slab geometry for surface calculations, with the discontinuity FALLING IN THE EMPTY SPACE.
941
+
- **Description**: If dip_cor_flag == true and efield_flag == true, a dipole correction is also
942
+
added to the bare ionic potential. If you want no electric field, parameter efield_amp should be zero. Must be used ONLY in a slab geometry for surface calculations, with the discontinuity FALLING IN THE EMPTY SPACE.
933
943
- **Default**: false
934
944
935
-
#### edir
945
+
#### efield_dir
936
946
937
947
- **Type**: Integer
938
-
- **Description**: The direction of the electric field or dipole correction is parallel to the reciprocal lattice vector, so the potential is constant in planes defined by FFT grid points, edir = 0, 1 or 2. Used only if efield == true.
948
+
- **Description**: The direction of the electric field or dipole correction is parallel to the reciprocal lattice vector, so the potential is constant in planes defined by FFT grid points, efield_dir = 0, 1 or 2. Used only if efield_flag == true.
939
949
- **Default**: 2
940
950
941
-
#### emaxpos
951
+
#### efield_pos_max
942
952
943
953
- **Type**: Real
944
-
- **Description**: Position of the maximum of the saw-like potential along crystal axis edir, within the unit cell, 0 < emaxpos < 1. Used only if efield == true.
954
+
- **Description**: Position of the maximum of the saw-like potential along crystal axis efield_dir, within the unit cell, 0 < efield_pos_max < 1. Used only if efield_flag == true.
945
955
- **Default**: 0.5
946
956
947
-
#### eopreg
957
+
#### efield_pos_dec
948
958
949
959
- **Type**: Real
950
-
- **Description**: Zone in the unit cell where the saw-like potential decreases, 0 < eopreg < 1. Used only if efield == true.
960
+
- **Description**: Zone in the unit cell where the saw-like potential decreases, 0 < efield_pos_dec < 1. Used only if efield_flag == true.
951
961
- **Default**: 0.1
952
962
953
-
#### eamp
963
+
#### efield_amp
954
964
955
965
- **Type**: Real
956
-
- **Description**: Amplitude of the electric field, in ***Hartree*** a.u.; 1 a.u. = 51.4220632*10^10 V/m. Used only if efield == true. The saw-like potential increases with slope eamp in the region from (emaxpos+eopreg-1) to (emaxpos), then decreases until (emaxpos+eopreg), in units of the crystal vector edir. Important: the change of slope of this potential must be located in the empty region, or else unphysical forces will result.
966
+
- **Description**: Amplitude of the electric field, in ***Hartree*** a.u.; 1 a.u. = 51.4220632*10^10 V/m. Used only if efield_flag == true. The saw-like potential increases with slope efield_amp in the region from (efield_pos_max+efield_pos_dec-1) to (efield_pos_max), then decreases until (efield_pos_max+efield_pos_dec), in units of the crystal vector efield_dir. Important: the change of slope of this potential must be located in the empty region, or else unphysical forces will result.
0 commit comments