Skip to content

Commit e0d5242

Browse files
committed
update toolchain script
1 parent 7216372 commit e0d5242

File tree

8 files changed

+12
-0
lines changed

8 files changed

+12
-0
lines changed

toolchain/build_abacus_aocc-aocl.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RAPIDJSON=$INSTALL_DIR/rapidjson-master/
3030
LAPACK=$AOCLhome/lib
3131
SCALAPACK=$AOCLhome/lib
3232
FFTW3=$AOCLhome
33+
# NEP_DIR=$INSTALL_DIR/nep_cpu-main
3334
# LIBRI=$INSTALL_DIR/LibRI-0.2.1.0
3435
# LIBCOMM=$INSTALL_DIR/LibComm-master
3536
# LIBTORCH=$INSTALL_DIR/libtorch-2.1.2/share/cmake/Torch
@@ -60,6 +61,7 @@ cmake -B $BUILD_DIR -DCMAKE_INSTALL_PREFIX=$PREFIX \
6061
# -DLIBRI_DIR=$LIBRI \
6162
# -DLIBCOMM_DIR=$LIBCOMM \
6263
# -DDeePMD_DIR=$DEEPMD \
64+
# -DNEP_DIR=$NEP_DIR \
6365
# -DUSE_CUDA=ON \
6466
# -DENABLE_CUSOLVERMP=ON \
6567
# -D CAL_CUSOLVERMP_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/2x.xx/math_libs/1x.x/targets/x86_64-linux/lib

toolchain/build_abacus_gcc-aocl.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RAPIDJSON=$INSTALL_DIR/rapidjson-master/
3030
LAPACK=$AOCLhome/lib
3131
SCALAPACK=$AOCLhome/lib
3232
FFTW3=$AOCLhome
33+
# NEP_DIR=$INSTALL_DIR/nep_cpu-main
3334
# LIBRI=$INSTALL_DIR/LibRI-0.2.1.0
3435
# LIBCOMM=$INSTALL_DIR/LibComm-master
3536
# LIBTORCH=$INSTALL_DIR/libtorch-2.1.2/share/cmake/Torch
@@ -58,6 +59,7 @@ cmake -B $BUILD_DIR -DCMAKE_INSTALL_PREFIX=$PREFIX \
5859
# -DLIBRI_DIR=$LIBRI \
5960
# -DLIBCOMM_DIR=$LIBCOMM \
6061
# -DDeePMD_DIR=$DEEPMD \
62+
# -DNEP_DIR=$NEP_DIR \
6163
# -DUSE_CUDA=ON \
6264
# -DENABLE_CUSOLVERMP=ON \
6365
# -D CAL_CUSOLVERMP_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/2x.xx/math_libs/1x.x/targets/x86_64-linux/lib

toolchain/build_abacus_gnu.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ FFTW3=$INSTALL_DIR/fftw-3.3.10
2929
CEREAL=$INSTALL_DIR/cereal-master/include/cereal
3030
LIBXC=$INSTALL_DIR/libxc-7.0.0
3131
RAPIDJSON=$INSTALL_DIR/rapidjson-master/
32+
# NEP_DIR=$INSTALL_DIR/nep_cpu-main
3233
# LIBRI=$INSTALL_DIR/LibRI-0.2.1.0
3334
# LIBCOMM=$INSTALL_DIR/LibComm-master
3435
# LIBTORCH=$INSTALL_DIR/libtorch-2.1.2/share/cmake/Torch
@@ -57,6 +58,7 @@ cmake -B $BUILD_DIR -DCMAKE_INSTALL_PREFIX=$PREFIX \
5758
# -DLIBRI_DIR=$LIBRI \
5859
# -DLIBCOMM_DIR=$LIBCOMM \
5960
# -DDeePMD_DIR=$DEEPMD \
61+
# -DNEP_DIR=$NEP_DIR \
6062
# -DUSE_CUDA=ON \
6163
# -DENABLE_CUSOLVERMP=ON \
6264
# -D CAL_CUSOLVERMP_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/2x.xx/math_libs/1x.x/targets/x86_64-linux/lib

toolchain/build_abacus_intel.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ RAPIDJSON=$INSTALL_DIR/rapidjson-master/
3131
# LIBNPY=$INSTALL_DIR/libnpy-1.0.1/include
3232
LIBRI=$INSTALL_DIR/LibRI-0.2.1.1
3333
LIBCOMM=$INSTALL_DIR/LibComm-master
34+
# NEP_DIR=$INSTALL_DIR/nep_cpu-main
3435
# DEEPMD=$HOME/apps/anaconda3/envs/deepmd # v3.0 might have problem
3536

3637
# Notice: if you are compiling with AMD-CPU or GPU-version ABACUS, then `icpc` and `mpiicpc` compilers are recommended
@@ -54,6 +55,7 @@ cmake -B $BUILD_DIR -DCMAKE_INSTALL_PREFIX=$PREFIX \
5455
# -Dlibnpy_INCLUDE_DIR=$LIBNPY \
5556
# -DENABLE_LIBRI=ON \
5657
# -DDeePMD_DIR=$DEEPMD \
58+
# -DNEP_DIR=$NEP_DIR \
5759
# -DUSE_CUDA=ON \
5860
# -DENABLE_CUSOLVERMP=ON \
5961
# -D CAL_CUSOLVERMP_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/2x.xx/math_libs/1x.x/targets/x86_64-linux/lib

toolchain/toolchain_aocc-aocl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
--with-cereal=install \
2828
--with-rapidjson=install \
2929
--with-libtorch=no \
30+
--with-nepcpu=no \
3031
--with-libnpy=no \
3132
--with-libri=no \
3233
--with-libcomm=no \

toolchain/toolchain_gcc-aocl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
--with-cereal=install \
2929
--with-rapidjson=install \
3030
--with-libtorch=no \
31+
--with-nepcpu=no \
3132
--with-libnpy=no \
3233
--with-libri=no \
3334
--with-libcomm=no \

toolchain/toolchain_gnu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
--with-cereal=install \
2828
--with-rapidjson=install \
2929
--with-libtorch=no \
30+
--with-nepcpu=no \
3031
--with-libnpy=no \
3132
--with-libri=no \
3233
--with-libcomm=no \

toolchain/toolchain_intel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
--with-cereal=install \
2929
--with-rapidjson=install \
3030
--with-libtorch=no \
31+
--with-nepcpu=no \
3132
--with-libnpy=no \
3233
--with-libri=install \
3334
--with-libcomm=install \

0 commit comments

Comments
 (0)