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: docs/input-main.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -597,9 +597,9 @@ This part of variables are used to control the parameters of stochastic DFT (SDF
597
597
- **Description**:
598
598
- Different method to do SDFT.
599
599
- 1: SDFT calculates $T_n(\hat{h})\ket{\chi}$ twice, where $T_n(x)$ is the n-th order Chebyshev polynomial and $\hat{h}=\frac{\hat{H}-\bar{E}}{\Delta E}$ owning eigen-value $\in(-1,1)$. This method cost less memory but slow.
600
-
- 2: SDFT calculates $T_n(\hat{h})\ket{\chi}$ once but need much more memory. This method is fast but when memory is not enough, only method 1 can be used.
601
-
- other: use 1
602
-
- **Default**: 1
600
+
- 2: SDFT calculates $T_n(\hat{h})\ket{\chi}$ once but need much more memory. This method is much faster. Besides, it calculate $N_e$ with $\bra{\chi}\sqrt{\hat f}\sqrt{\hat f}\ket{\chi}$, which needs smaller [nche_sto](#nche_sto). However, when memory is not enough, only method 1 can be used.
601
+
- other: use 2
602
+
- **Default**: 2
603
603
604
604
#### nbands_sto
605
605
@@ -642,6 +642,12 @@ This part of variables are used to control the parameters of stochastic DFT (SDF
642
642
- **Description**: Frequency (once each initsto_freq steps) to generate new stochastic orbitals when running md.
643
643
- **Default**:1000
644
644
645
+
#### npart_sto
646
+
647
+
- **Type**: Integer
648
+
- **Description**: Make memory cost to 1/npart_sto times of previous one when running post process of SDFT like DOS with method_sto = 2.
649
+
- **Default**:1
650
+
645
651
### Geometry relaxation
646
652
647
653
This part of variables are used to control the geometry relaxation.
Copy file name to clipboardExpand all lines: docs/install.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,16 @@ To compile ABACUS, please make sure that the following prerequisites are present
34
34
35
35
- C++ compiler, supporting C++11. You can use [Intel® C++ compiler](https://software.intel.com/enus/c-compilers) or [GCC](https://gcc.gnu.org/).
36
36
- MPI compiler. The recommended version are [Intel MPI](https://software.intel.com/enus/mpi-library) or [MPICH](https://www.mpich.org/).
37
-
- Fortran compiler for building `BLAS`, `LAPACK`, `ScaLAPACK` or`ELPA`. You can use[Intel® Fortran Compiler](https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler.html)[GFortran](https://gcc.gnu.org/fortran/).
37
+
- Fortran compiler if you are building `BLAS`, `LAPACK`, `ScaLAPACK`, and`ELPA` from source file. You can use[Intel® Fortran Compiler](https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler.html)[GFortran](https://gcc.gnu.org/fortran/).
38
38
-[BLAS](http://www.netlib.org/blas/). You can use [OpenBLAS](https://www.openblas.net/).
39
39
-[LAPACK](http://www.netlib.org/lapack/).
40
40
-[ScaLAPACK](http://www.netlib.org/scalapack/).
41
41
-[FFTW3](http://www.fftw.org/).
42
42
-[ELPA](https://elpa.mpcdf.mpg.de/) >= 2017.
43
43
-[CEREAL](https://uscilab.github.io/cereal/).
44
44
45
+
> GCC version 5.1 or later is required: Intel compilers also use GCC headers and libraries[(ref)](https://www.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compatibility-and-portability/gcc-compatibility-and-interoperability.html#gcc-compatibility-and-interoperability_GUID-52CB6FE0-83DA-4028-9EF4-0DFAF1652736).
46
+
45
47
These packages can be installed with popular package management system, such as `apt` and `yum`:
> Installing ELPA by apt only matches requirements on Ubuntu 22.04. For earlier linux distributions, you may install elpa from source.
52
54
53
-
Alternatively, you can choose [Intel® oneAPI toolkit](https://software.intel.com/content/www/us/en/develop/tools/oneapi/commercial-base-hpc.html) (former Parallel Studio) as toolchain. The [Intel® oneAPI Base Toolkit](https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html#base-kit) contains Intel® oneAPI Math Kernel Library (aka `MKL`), including `BLAS`, `LAPACK`, `ScaLAPACK` and `FFTW3`, - this means that no Fortran compiler required anymore. The [Intel® oneAPI HPC Toolkit](https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html#hpc-kit) contains Intel® MPI Library, and C++ compiler(including MPI compiler). Please noted that building `elpa` with a different MPI library may cause conflict between MPI libraries. Don't forget to [set environment variables](https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-render-linux/top/configure-your-system.html) before you start! `cmake` will use Intel MKL if the environment variable `MKLROOT` is set.
55
+
Alternatively, you can choose [Intel® oneAPI toolkit](https://software.intel.com/content/www/us/en/develop/tools/oneapi/commercial-base-hpc.html) (former Parallel Studio) as toolchain. The [Intel® oneAPI Base Toolkit](https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html#base-kit) contains Intel® oneAPI Math Kernel Library (aka `MKL`), including `BLAS`, `LAPACK`, `ScaLAPACK` and `FFTW3`. The [Intel® oneAPI HPC Toolkit](https://software.intel.com/content/www/us/en/develop/tools/oneapi/all-toolkits.html#hpc-kit) contains Intel® MPI Library, and C++ compiler(including MPI compiler). Please noted that building `elpa` with a different MPI library may cause conflict between MPI libraries. Don't forget to [set environment variables](https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-render-linux/top/configure-your-system.html) before you start! `cmake` will use Intel MKL if the environment variable `MKLROOT` is set.
54
56
55
57
> Please refer to our [guide](https://github.com/deepmodeling/abacus-develop/wiki/Building-and-Running-ABACUS) on requirements.
If environment variable `MKLROOT` exists, `cmake` will take MKL as a preference, i.e. not using `LAPACK` and `ScaLAPACK`. To disable MKL, unset environment variable `MKLROOT`, or pass `-DMKLROOT=OFF` to `cmake`.
97
99
98
-
You can also choose to build with which components.
100
+
You can also choose to build with which components, e.g.:
99
101
100
102
```bash
101
103
cmake -B build -DUSE_LIBXC=1 -DUSE_CUDA=1
102
104
```
103
105
104
-
If Libxc is not installed in standard path (i.e. installed with a custom prefix path), you may add the installation prefix of `FindLibxc.cmake` to `CMAKE_MODULE_PATH` environment variable, or set `Libxc_DIR` to the directory containing the file.
106
+
If Libxc is not installed in standard path (i.e. installed with a custom prefix path), you can set `Libxc_DIR` to the corresponding directory.
105
107
106
108
```bash
107
109
cmake -B build -DLibxc_DIR=~/libxc
@@ -241,9 +243,9 @@ This part of installation is based on [Installation](#installation). If DeePKS f
241
243
242
244
### Extra prerequisites
243
245
244
-
- C++ compiler, supporting **C++14**. For example, Intel C++ compiler 18
245
-
-[LibTorch](https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.9.0%2Bcpu.zip) for cpu, with c++11 ABI;
0 commit comments