Skip to content

Commit 772c418

Browse files
committed
update abacus_env.sh usage
1 parent 506e0c9 commit 772c418

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/quick_start/easy_install.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ Please refer to our [guide](https://github.com/deepmodeling/abacus-develop/wiki/
5454

5555
We offer a set of [toolchain](https://github.com/deepmodeling/abacus-develop/tree/develop/toolchain)
5656
scripts to compile and install all the requirements
57-
automatically and suitable for machine characteristic in an online or offline way.
58-
The toolchain can be downloaded with ABACUS repo, which is easily used and can
59-
have a convenient installation under HPC environment in both `GNU` or `Intel-oneAPI` toolchain.
60-
Sometimes, ABACUS by toolchain installation may have highly efficient performance.
57+
automatically and suitable for machine characteristic in an online or offline way.
58+
The toolchain can be downloaded with ABACUS repo, and users can easily compile the requirements by running *toolchain_[gnu,intel].sh* and ABACUS itself by running *build_abacus_[gnu,intel].sh* script in the toolchain directory in both `GNU` and `Intel-oneAPI` toolchain.
59+
Sometimes, ABACUS by toolchain installation may have better efficient performance due to the suitable compiled dependencies.
60+
6161
Users should read the README in toolchain directory for most of the information before use, and a tutorial for using this toolchain can be accessed in [bohrium-notebook](https://nb.bohrium.dp.tech/detail/5215742477) as reference.
6262

6363
> Notice: the toolchain is under development, please let we know if you encounter any problem in using this toolchain by raising issue or contacting us.
@@ -159,6 +159,12 @@ If ABACUS is installed into a custom directory using `CMAKE_INSTALL_PREFIX`, ple
159159
export PATH=/my-install-dir/:$PATH
160160
```
161161

162+
If ABACUS is installed by toolchain, there will be an environment script in the toolchain directory named as *abacus_env.sh*. You can source it to set the environment variables.
163+
164+
```bash
165+
source /path/to/abacus/toolchain/abacus_env.sh
166+
```
167+
162168
Please set OpenMP threads by setting environment variable:
163169

164170
```bash

0 commit comments

Comments
 (0)