Skip to content

Commit e640c41

Browse files
committed
unify some name&text
1 parent b9ac327 commit e640c41

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

toolchain/build_abacus_aocc-aocl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ INSTALL_DIR=$TOOL/install
1616
source $INSTALL_DIR/setup
1717
cd $ABACUS_DIR
1818
ABACUS_DIR=$(pwd)
19-
#AOCLhome=/opt/aocl-linux-aocc-5.0.0/5.0.0/aocc/ # user should specify this parameter
19+
#AOCLhome=/opt/aocl-linux-aocc-5.0.0/5.0.0/aocl/ # user should specify this parameter
2020

2121
BUILD_DIR=build_abacus_aocl
2222
rm -rf $BUILD_DIR

toolchain/build_abacus_gnu-aocl.sh renamed to toolchain/build_abacus_gcc-aocl.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ INSTALL_DIR=$TOOL/install
1616
source $INSTALL_DIR/setup
1717
cd $ABACUS_DIR
1818
ABACUS_DIR=$(pwd)
19-
#AOCLhome=/opt/aocl-linux-aocc-5.0.0/5.0.0/aocc/ # user should specify this parameter
19+
#AOCLhome=/opt/aocl-linux-aocc-5.0.0/5.0.0/aocl/ # user should specify this parameter
2020

2121
BUILD_DIR=build_abacus_aocl
2222
rm -rf $BUILD_DIR
@@ -36,8 +36,6 @@ FFTW3=$AOCLhome
3636
# LIBNPY=$INSTALL_DIR/libnpy-1.0.1/include
3737
# DEEPMD=$HOME/apps/anaconda3/envs/deepmd # v3.0 might have problem
3838

39-
# if clang++ have problem, switch back to g++
40-
4139
cmake -B $BUILD_DIR -DCMAKE_INSTALL_PREFIX=$PREFIX \
4240
-DCMAKE_CXX_COMPILER=g++ \
4341
-DMPI_CXX_COMPILER=mpicxx \

toolchain/install_abacus_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ To build ABACUS by gnu-toolchain, just use:
891891
To build ABACUS by intel-toolchain, just use:
892892
./build_abacus_intel.sh
893893
To build ABACUS by amd-toolchain in gcc-aocl, just use:
894-
./build_abacus_gnu-aocl.sh
894+
./build_abacus_gcc-aocl.sh
895895
To build ABACUS by amd-toolchain in aocc-aocl, just use:
896896
./build_abacus_aocc-aocl.sh
897897
or you can modify the builder scripts to suit your needs.

toolchain/toolchain_aocc-aocl.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
#SBATCH -o compile.log
66
#SBATCH -e compile.err
77

8-
# JamesMisaka in 2023-09-16
9-
# install abacus dependency by gnu-toolchain
10-
# one can use mpich or openmpi.
11-
# openmpi will be faster, but not compatible in some cases.
8+
# JamesMisaka in 2025-05-05
9+
# install abacus dependency by aocc-aocl toolchain
10+
# openmpi is recommended to use
1211
# libtorch and libnpy are for deepks support, which can be =no
1312
# if you want to run EXX calculation, you should set --with-libri=install
14-
# mpich (and intel toolchain) is recommended for EXX support
13+
# gpu-lcao supporting modify: CUDA_PATH and --enable-cuda
14+
# export CUDA_PATH=/usr/local/cuda
1515

1616
./install_abacus_toolchain.sh \
1717
--with-amd=system \

toolchain/toolchain_gcc-aocl.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
#SBATCH -o compile.log
66
#SBATCH -e compile.err
77

8-
# JamesMisaka in 2023-09-16
9-
# install abacus dependency by gnu-toolchain
10-
# one can use mpich or openmpi.
11-
# openmpi will be faster, but not compatible in some cases.
8+
# JamesMisaka in 2025-05-05
9+
# install abacus dependency by gcc-aocl toolchain
10+
# openmpi is recommended to use
1211
# libtorch and libnpy are for deepks support, which can be =no
1312
# if you want to run EXX calculation, you should set --with-libri=install
14-
# mpich (and intel toolchain) is recommended for EXX support
13+
14+
# gpu-lcao supporting modify: CUDA_PATH and --enable-cuda
15+
# export CUDA_PATH=/usr/local/cuda
1516

1617
./install_abacus_toolchain.sh \
1718
--with-gcc=system \

toolchain/toolchain_gnu.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@
55
#SBATCH -o compile.log
66
#SBATCH -e compile.err
77

8-
# JamesMisaka in 2023-09-16
8+
# JamesMisaka in 2025-05-05
99
# install abacus dependency by gnu-toolchain
10-
# one can use mpich or openmpi.
11-
# openmpi will be faster, but not compatible in some cases.
10+
# one can use mpich or openmpi. openmpi will be faster and less compatiable
1211
# libtorch and libnpy are for deepks support, which can be =no
1312
# if you want to run EXX calculation, you should set --with-libri=install
14-
# mpich (and intel toolchain) is recommended for EXX support
13+
1514
# gpu-lcao supporting modify: CUDA_PATH and --enable-cuda
1615
# export CUDA_PATH=/usr/local/cuda
1716

toolchain/toolchain_intel.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@
55
#SBATCH -o compile.log
66
#SBATCH -e compile.err
77

8-
# JamesMisaka in 2023-08-31
8+
# JamesMisaka in 2025-05-05
99
# install abacus dependency by intel-toolchain
1010
# use mkl and intelmpi
1111
# but mpich and openmpi can also be tried
1212
# libtorch and libnpy are for deepks support, which can be =no
13+
# gpu-lcao supporting modify: CUDA_PATH and --enable-cuda
14+
# export CUDA_PATH=/usr/local/cuda
1315

1416
# module load mkl mpi compiler
15-
export CUDA_PATH=/usr/local/cuda
17+
1618
./install_abacus_toolchain.sh \
1719
--with-intel=system \
1820
--math-mode=mkl \

0 commit comments

Comments
 (0)