From e8a896b6fd8dace5bbce4e282bd2b7c3ed85b9c3 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 14:11:30 +0800 Subject: [PATCH 01/11] add gitee proxy --- package/fftw/3.3.10/install.sh | 15 ++------------- package/fftw/3.3.8/install.sh | 19 +++---------------- package/fftw/meta.sh | 25 +++++++++++++++++++++++++ package/openblas/0.3.14/install.sh | 10 ++-------- package/openblas/0.3.18/install.sh | 10 ++-------- package/openblas/0.3.23/install.sh | 11 ++--------- package/openblas/0.3.24/install.sh | 11 ++--------- package/openblas/0.3.6/install.sh | 9 ++------- package/openblas/latest/install.sh | 4 ++++ package/openblas/meta.sh | 16 ++++++++++++++++ 10 files changed, 60 insertions(+), 70 deletions(-) create mode 100644 package/fftw/meta.sh create mode 100644 package/openblas/latest/install.sh create mode 100644 package/openblas/meta.sh diff --git a/package/fftw/3.3.10/install.sh b/package/fftw/3.3.10/install.sh index 81b1134..62a50fd 100755 --- a/package/fftw/3.3.10/install.sh +++ b/package/fftw/3.3.10/install.sh @@ -1,16 +1,5 @@ #!/bin/bash set -x set -e -cd ${JARVIS_TMP} -rm -rf fftw-3.3.10 -${DOWNLOAD_TOOL} -u http://www.fftw.org/fftw-3.3.10.tar.gz -tar -xvf ${JARVIS_DOWNLOAD}/fftw-3.3.10.tar.gz -cd fftw-3.3.10 -./configure --prefix=$1 --enable-single --enable-float --enable-neon --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" -make -j && make install -make clean -./configure --prefix=$1 --enable-long-double --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" -make -j && make install -make clean -./configure --prefix=$1 --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" -make -j && make install +export fftw_ver=3.3.10 +../meta.sh $1 diff --git a/package/fftw/3.3.8/install.sh b/package/fftw/3.3.8/install.sh index 0fc9829..39395c0 100755 --- a/package/fftw/3.3.8/install.sh +++ b/package/fftw/3.3.8/install.sh @@ -1,18 +1,5 @@ -#!/bin/bash +#!/bin/bash set -x set -e -. ${DOWNLOAD_TOOL} -u http://www.fftw.org/fftw-3.3.8.tar.gz -cd ${JARVIS_TMP} -tar -xvf ${JARVIS_DOWNLOAD}/fftw-3.3.8.tar.gz -cd fftw-3.3.8 - -./configure --prefix=$1 --enable-single --enable-float --enable-neon --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" -make -j && make install -make clean -./configure --prefix=$1 --enable-long-double --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" -make -j && make install -make clean -./configure --prefix=$1 --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" -make -j && make install - - +export fftw_ver=3.3.8 +../meta.sh $1 diff --git a/package/fftw/meta.sh b/package/fftw/meta.sh new file mode 100644 index 0000000..99c4555 --- /dev/null +++ b/package/fftw/meta.sh @@ -0,0 +1,25 @@ +#!/bin/bash +set -x +set -e + + +if [[ $UseGitee -eq 1 ]]; then +. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/fftw3/archive/refs/tags/fftw-${fftw_ver}.tar.gz -f fftw-${fftw_ver}.tar.gz +else +. ${DOWNLOAD_TOOL} -u http://www.fftw.org/fftw-${fftw_ver}.tar.gz -f fftw-${fftw_ver}.tar.gz +fi + +cd ${JARVIS_TMP} +rm -rf fftw-${fftw_ver} +tar -xvf ${JARVIS_DOWNLOAD}/fftw-${fftw_ver}.tar.gz +cd fftw-${fftw_ver} +./configure --prefix=$1 --enable-single --enable-float --enable-neon --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" +make -j && make install +make clean +./configure --prefix=$1 --enable-long-double --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" +make -j && make install +make clean +./configure --prefix=$1 --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" +make -j && make install + + diff --git a/package/openblas/0.3.14/install.sh b/package/openblas/0.3.14/install.sh index b2de366f..011741d 100755 --- a/package/openblas/0.3.14/install.sh +++ b/package/openblas/0.3.14/install.sh @@ -1,10 +1,4 @@ #!/bin/bash -set -x set -e -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/xianyi/OpenBLAS/archive/refs/tags/v0.3.14.tar.gz -f OpenBLAS-0.3.14.tar.gz -cd ${JARVIS_TMP} -rm -rf OpenBLAS-0.3.14 -tar -xzvf ${JARVIS_DOWNLOAD}/OpenBLAS-0.3.14.tar.gz -cd OpenBLAS-0.3.14 -make -j -make PREFIX=$1 install +export openblas_ver=0.3.14 +../meta.sh $1 diff --git a/package/openblas/0.3.18/install.sh b/package/openblas/0.3.18/install.sh index 2c2ce71..1a8d171 100755 --- a/package/openblas/0.3.18/install.sh +++ b/package/openblas/0.3.18/install.sh @@ -1,10 +1,4 @@ #!/bin/bash -set -x set -e -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/xianyi/OpenBLAS/archive/refs/tags/v0.3.18.tar.gz -f OpenBLAS-0.3.18.tar.gz -cd ${JARVIS_TMP} -rm -rf OpenBLAS-0.3.18 -tar -xzvf ${JARVIS_DOWNLOAD}/OpenBLAS-0.3.18.tar.gz -cd OpenBLAS-0.3.18 -make -j -make PREFIX=$1 install +export openblas_ver=0.3.18 +../meta.sh $1 diff --git a/package/openblas/0.3.23/install.sh b/package/openblas/0.3.23/install.sh index 54172ab..d7b0a16 100644 --- a/package/openblas/0.3.23/install.sh +++ b/package/openblas/0.3.23/install.sh @@ -1,11 +1,4 @@ #!/bin/bash -set -x set -e -ver="0.3.23" -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/xianyi/OpenBLAS/archive/refs/tags/v${ver}.tar.gz -f OpenBLAS-${ver}.tar.gz -cd ${JARVIS_TMP} -rm -rf OpenBLAS-${ver} -tar -xzvf ${JARVIS_DOWNLOAD}/OpenBLAS-${ver}.tar.gz -cd OpenBLAS-${ver} -make -j 16 -make PREFIX=$1 install \ No newline at end of file +export openblas_ver=0.3.23 +../meta.sh $1 diff --git a/package/openblas/0.3.24/install.sh b/package/openblas/0.3.24/install.sh index 08136ca..0534460 100644 --- a/package/openblas/0.3.24/install.sh +++ b/package/openblas/0.3.24/install.sh @@ -1,11 +1,4 @@ #!/bin/bash -set -x set -e -ver="0.3.24" -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/xianyi/OpenBLAS/archive/refs/tags/v${ver}.tar.gz -f OpenBLAS-${ver}.tar.gz -cd ${JARVIS_TMP} -rm -rf OpenBLAS-${ver} -tar -xzvf ${JARVIS_DOWNLOAD}/OpenBLAS-${ver}.tar.gz -cd OpenBLAS-${ver} -make -j 16 -make PREFIX=$1 install +export openblas_ver=0.3.24 +../meta.sh $1 diff --git a/package/openblas/0.3.6/install.sh b/package/openblas/0.3.6/install.sh index 1ad0eb2..e85a6e2 100755 --- a/package/openblas/0.3.6/install.sh +++ b/package/openblas/0.3.6/install.sh @@ -1,9 +1,4 @@ #!/bin/bash -set -x set -e -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/xianyi/OpenBLAS/archive/refs/tags/v0.3.6.tar.gz -f OpenBLAS-0.3.6.tar.gz -cd ${JARVIS_TMP} -tar -xzvf ${JARVIS_DOWNLOAD}/OpenBLAS-0.3.6.tar.gz -cd OpenBLAS-0.3.6 -make -j -make PREFIX=$1 install +export openblas_ver=0.3.6 +../meta.sh $1 diff --git a/package/openblas/latest/install.sh b/package/openblas/latest/install.sh new file mode 100644 index 0000000..982b0fe --- /dev/null +++ b/package/openblas/latest/install.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -e +export openblas_ver=`curl https://github.com/OpenMathLib/OpenBLAS/releases|grep OpenBLAS|grep .tar.gz|awk -F "OpenBLAS-" '{print $2}'|awk -F ".tar.gz" '{print $1}'|awk NR==1` +../meta.sh $1 diff --git a/package/openblas/meta.sh b/package/openblas/meta.sh new file mode 100644 index 0000000..5867367 --- /dev/null +++ b/package/openblas/meta.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -x +set -e + +if [[ $UseGitee -eq 1 ]]; then +. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/OpenBLAS/archive/refs/tags/v${openblas_ver}.tar.gz -f OpenBLAS-${openblas_ver}.tar.gz +else +. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/OpenMathLib/OpenBLAS/releases/download/v${openblas_ver}/OpenBLAS-v${openblas_ver}.tar.gz -f OpenBLAS-${openblas_ver}.tar.gz +fi + +cd ${JARVIS_TMP} +rm -rf OpenBLAS-${openblas_ver} +tar -xzvf ${JARVIS_DOWNLOAD}/OpenBLAS-${openblas_ver}.tar.gz +cd OpenBLAS-${openblas_ver} +make -j +make PREFIX=$1 install \ No newline at end of file -- Gitee From 229df859511ebb5b31494632bf85390668ec3b2b Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 16:56:11 +0800 Subject: [PATCH 02/11] add gitee proxy --- package/openblas/meta.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package/openblas/meta.sh b/package/openblas/meta.sh index 5867367..40fba3e 100644 --- a/package/openblas/meta.sh +++ b/package/openblas/meta.sh @@ -3,14 +3,20 @@ set -x set -e if [[ $UseGitee -eq 1 ]]; then -. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/OpenBLAS/archive/refs/tags/v${openblas_ver}.tar.gz -f OpenBLAS-${openblas_ver}.tar.gz +#. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/OpenBLAS/archive/refs/tags/v${openblas_ver}.tar.gz -f OpenBLAS-${openblas_ver}.tar.gz +cd ${JARVIS_TMP} +git clone https://gitee.com/kp-hpc-mod/OpenBLAS.git +cd OpenBLAS +git checkout v${openblas_ver} + else . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/OpenMathLib/OpenBLAS/releases/download/v${openblas_ver}/OpenBLAS-v${openblas_ver}.tar.gz -f OpenBLAS-${openblas_ver}.tar.gz -fi - cd ${JARVIS_TMP} rm -rf OpenBLAS-${openblas_ver} tar -xzvf ${JARVIS_DOWNLOAD}/OpenBLAS-${openblas_ver}.tar.gz cd OpenBLAS-${openblas_ver} +fi + + make -j make PREFIX=$1 install \ No newline at end of file -- Gitee From 07261e5b381261739768a8d619440fa963ef6cf6 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 19:43:12 +0800 Subject: [PATCH 03/11] update use gitee --- package/fftw/meta.sh | 13 ++++++++++--- package/hmpi/1.1.1/install.sh | 13 +++++++------ package/openblas/meta.sh | 3 ++- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/package/fftw/meta.sh b/package/fftw/meta.sh index 99c4555..1efa02e 100644 --- a/package/fftw/meta.sh +++ b/package/fftw/meta.sh @@ -4,15 +4,22 @@ set -e if [[ $UseGitee -eq 1 ]]; then -. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/fftw3/archive/refs/tags/fftw-${fftw_ver}.tar.gz -f fftw-${fftw_ver}.tar.gz +#. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/fftw3/archive/refs/tags/fftw-${fftw_ver}.tar.gz -f fftw-${fftw_ver}.tar.gz +cd ${JARVIS_TMP} +git clone https://gitee.com/kp-hpc-mod/fftw3.git +mv fftw3 fftw-${fftw_ver} +cd fftw-${fftw_ver} +git checkout fftw-${fftw_ver} + else . ${DOWNLOAD_TOOL} -u http://www.fftw.org/fftw-${fftw_ver}.tar.gz -f fftw-${fftw_ver}.tar.gz -fi - cd ${JARVIS_TMP} rm -rf fftw-${fftw_ver} tar -xvf ${JARVIS_DOWNLOAD}/fftw-${fftw_ver}.tar.gz cd fftw-${fftw_ver} +fi + + ./configure --prefix=$1 --enable-single --enable-float --enable-neon --enable-shared --enable-threads --enable-openmp --enable-mpi CFLAGS="-O3 -fomit-frame-pointer -fstrict-aliasing" make -j && make install make clean diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index 666258e..6fb5c87 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -3,17 +3,18 @@ set -x set -e hmpi_version='1.1.1' if [[ $UseGitee -eq 1 ]]; then -. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/hpc-src/raw/master/hucx-1.1.1-huawei.zip -f hucx-1.1.1-huawei.zip -. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/hpc-src/raw/master/xucg-1.1.1-huawei.zip -f xucg-1.1.1-huawei.zip -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hmpi/archive/refs/tags/v1.1.1-huawei.zip -f hmpi-1.1.1-huawei.zip +. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/hpc-src/raw/master/hucx-${hmpi_version}-huawei.zip -f hucx-${hmpi_version}-huawei.zip +. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/hpc-src/raw/master/xucg-${hmpi_version}-huawei.zip -f xucg-${hmpi_version}-huawei.zip +. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/hpc-src/raw/master/hmpi-v${hmpi_version}.zip -f hmpi-${hmpi_version}-huawei.zip else -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hucx/archive/refs/tags/v1.1.1-huawei.zip -f hucx-1.1.1-huawei.zip -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/xucg/archive/refs/tags/v1.1.1-huawei.zip -f xucg-1.1.1-huawei.zip -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hmpi/archive/refs/tags/v1.1.1-huawei.zip -f hmpi-1.1.1-huawei.zip +. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hucx/archive/refs/tags/v${hmpi_version}-huawei.zip -f hucx-${hmpi_version}-huawei.zip +. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/xucg/archive/refs/tags/v${hmpi_version}-huawei.zip -f xucg-${hmpi_version}-huawei.zip +. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hmpi/archive/refs/tags/v${hmpi_version}-huawei.zip -f hmpi-${hmpi_version}-huawei.zip fi cd ${JARVIS_TMP} . $CHECK_ROOT && yum install -y perl-Data-Dumper autoconf automake libtool binutils flex + rm -rf hmpi-${hmpi_version}-huawei hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei unzip ${JARVIS_DOWNLOAD}/hucx-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/xucg-${hmpi_version}-huawei.zip diff --git a/package/openblas/meta.sh b/package/openblas/meta.sh index 40fba3e..23edd40 100644 --- a/package/openblas/meta.sh +++ b/package/openblas/meta.sh @@ -6,7 +6,8 @@ if [[ $UseGitee -eq 1 ]]; then #. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/OpenBLAS/archive/refs/tags/v${openblas_ver}.tar.gz -f OpenBLAS-${openblas_ver}.tar.gz cd ${JARVIS_TMP} git clone https://gitee.com/kp-hpc-mod/OpenBLAS.git -cd OpenBLAS +mv OpenBLAS OpenBLAS-${openblas_ver} +cd OpenBLAS-${openblas_ver} git checkout v${openblas_ver} else -- Gitee From bf75e0c595acaaa3a141c9abfbbb8726067eaf38 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 20:31:46 +0800 Subject: [PATCH 04/11] first commit --- package/hmpi/1.1.1/install.sh | 8 +++++--- package/openblas/meta.sh | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index 6fb5c87..0148c68 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -21,15 +21,17 @@ unzip ${JARVIS_DOWNLOAD}/xucg-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/hmpi-${hmpi_version}-huawei.zip \cp -rf xucg-${hmpi_version}-huawei/* hucx-${hmpi_version}-huawei/src/ucg/ sleep 3 + cd hucx-${hmpi_version}-huawei ./autogen.sh ./contrib/configure-opt --prefix=$1/hucx CFLAGS="-DHAVE___CLEAR_CACHE=1" --disable-numa --without-java for file in `find . -name Makefile`;do sed -i "s/-Werror//g" $file;done for file in `find . -name Makefile`;do sed -i "s/-implicit-function-declaration//g" $file;done -make -j64 +make -j make install -cd ../hmpi-${hmpi_version}-huawei + +cd ../hmpi-${hmpi_version} ./autogen.pl ./configure --prefix=$1 --with-platform=contrib/platform/mellanox/optimized --enable-mpi1-compatibility --with-ucx=$1/hucx -make -j64 +make -j make install diff --git a/package/openblas/meta.sh b/package/openblas/meta.sh index 23edd40..d0fbdfc 100644 --- a/package/openblas/meta.sh +++ b/package/openblas/meta.sh @@ -9,7 +9,6 @@ git clone https://gitee.com/kp-hpc-mod/OpenBLAS.git mv OpenBLAS OpenBLAS-${openblas_ver} cd OpenBLAS-${openblas_ver} git checkout v${openblas_ver} - else . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/OpenMathLib/OpenBLAS/releases/download/v${openblas_ver}/OpenBLAS-v${openblas_ver}.tar.gz -f OpenBLAS-${openblas_ver}.tar.gz cd ${JARVIS_TMP} -- Gitee From bdd0450853a0b574197a122438e410528868d688 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 20:34:58 +0800 Subject: [PATCH 05/11] first commit --- package/hmpi/1.1.1/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index 0148c68..ba31535 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -15,7 +15,7 @@ fi cd ${JARVIS_TMP} . $CHECK_ROOT && yum install -y perl-Data-Dumper autoconf automake libtool binutils flex -rm -rf hmpi-${hmpi_version}-huawei hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei +rm -rf hmpi-${hmpi_version} hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei unzip ${JARVIS_DOWNLOAD}/hucx-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/xucg-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/hmpi-${hmpi_version}-huawei.zip -- Gitee From c66762f0889d7c563dcb07a0cc5366a3f51aecb7 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 20:38:34 +0800 Subject: [PATCH 06/11] first commit --- package/hmpi/1.1.1/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index ba31535..fb7b1e7 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -15,7 +15,7 @@ fi cd ${JARVIS_TMP} . $CHECK_ROOT && yum install -y perl-Data-Dumper autoconf automake libtool binutils flex -rm -rf hmpi-${hmpi_version} hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei +rm -rf hmpi-v${hmpi_version} hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei unzip ${JARVIS_DOWNLOAD}/hucx-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/xucg-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/hmpi-${hmpi_version}-huawei.zip @@ -30,7 +30,7 @@ for file in `find . -name Makefile`;do sed -i "s/-implicit-function-declaration/ make -j make install -cd ../hmpi-${hmpi_version} +cd ../hmpi-v${hmpi_version} ./autogen.pl ./configure --prefix=$1 --with-platform=contrib/platform/mellanox/optimized --enable-mpi1-compatibility --with-ucx=$1/hucx make -j -- Gitee From acc5b730cf563bbe2d55aabd70302c3db52f0ae5 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 21:11:11 +0800 Subject: [PATCH 07/11] fix hmpi --- package/hmpi/1.1.1/install.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index fb7b1e7..fd61a49 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -5,17 +5,25 @@ hmpi_version='1.1.1' if [[ $UseGitee -eq 1 ]]; then . ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/hpc-src/raw/master/hucx-${hmpi_version}-huawei.zip -f hucx-${hmpi_version}-huawei.zip . ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/hpc-src/raw/master/xucg-${hmpi_version}-huawei.zip -f xucg-${hmpi_version}-huawei.zip -. ${DOWNLOAD_TOOL} -u https://gitee.com/kp-hpc-mod/hpc-src/raw/master/hmpi-v${hmpi_version}.zip -f hmpi-${hmpi_version}-huawei.zip + +cd ${JARVIS_TMP} +rm -rf hmpi-${hmpi_version}-huawei +git clone https://gitee.com/kp-hpc-mod/hmpi.git +mv hmpi hmpi-${hmpi_version}-huawei +cd ${hmpi_version}-huawei +git checkout v${hmpi_version}-huawei + else . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hucx/archive/refs/tags/v${hmpi_version}-huawei.zip -f hucx-${hmpi_version}-huawei.zip . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/xucg/archive/refs/tags/v${hmpi_version}-huawei.zip -f xucg-${hmpi_version}-huawei.zip . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hmpi/archive/refs/tags/v${hmpi_version}-huawei.zip -f hmpi-${hmpi_version}-huawei.zip +rm -rf hmpi-${hmpi_version}-huawei fi cd ${JARVIS_TMP} . $CHECK_ROOT && yum install -y perl-Data-Dumper autoconf automake libtool binutils flex -rm -rf hmpi-v${hmpi_version} hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei +hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei unzip ${JARVIS_DOWNLOAD}/hucx-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/xucg-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/hmpi-${hmpi_version}-huawei.zip @@ -30,7 +38,7 @@ for file in `find . -name Makefile`;do sed -i "s/-implicit-function-declaration/ make -j make install -cd ../hmpi-v${hmpi_version} +cd ../hmpi-${hmpi_version}-huawei ./autogen.pl ./configure --prefix=$1 --with-platform=contrib/platform/mellanox/optimized --enable-mpi1-compatibility --with-ucx=$1/hucx make -j -- Gitee From 6d66e03a59146b4593ee6e279dac0866d78fe2e4 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 21:18:41 +0800 Subject: [PATCH 08/11] fix hmpi --- package/hmpi/1.1.1/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index fd61a49..cac17e4 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -10,7 +10,7 @@ cd ${JARVIS_TMP} rm -rf hmpi-${hmpi_version}-huawei git clone https://gitee.com/kp-hpc-mod/hmpi.git mv hmpi hmpi-${hmpi_version}-huawei -cd ${hmpi_version}-huawei +cd hmpi-${hmpi_version}-huawei git checkout v${hmpi_version}-huawei else -- Gitee From dfb6a5fca71fb24b81c06f92eeb39a4388bc91af Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 21:20:57 +0800 Subject: [PATCH 09/11] fix hmpi --- package/hmpi/1.1.1/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index cac17e4..409adcf 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -23,7 +23,7 @@ fi cd ${JARVIS_TMP} . $CHECK_ROOT && yum install -y perl-Data-Dumper autoconf automake libtool binutils flex -hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei +rm -rf hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei unzip ${JARVIS_DOWNLOAD}/hucx-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/xucg-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/hmpi-${hmpi_version}-huawei.zip -- Gitee From 0430389f43ec405c881360a7237b0125be592420 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 21:23:55 +0800 Subject: [PATCH 10/11] fix hmpi --- package/hmpi/1.1.1/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index 409adcf..8921ce3 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -12,7 +12,7 @@ git clone https://gitee.com/kp-hpc-mod/hmpi.git mv hmpi hmpi-${hmpi_version}-huawei cd hmpi-${hmpi_version}-huawei git checkout v${hmpi_version}-huawei - +cd ${JARVIS_DOWNLOAD} else . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hucx/archive/refs/tags/v${hmpi_version}-huawei.zip -f hucx-${hmpi_version}-huawei.zip . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/xucg/archive/refs/tags/v${hmpi_version}-huawei.zip -f xucg-${hmpi_version}-huawei.zip -- Gitee From 3e8fc0eff78fa18b57e88dcf7f5b886b2d11bcc3 Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 6 Aug 2025 21:27:17 +0800 Subject: [PATCH 11/11] fix hmpi --- package/hmpi/1.1.1/install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index 8921ce3..db55aab 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -12,21 +12,23 @@ git clone https://gitee.com/kp-hpc-mod/hmpi.git mv hmpi hmpi-${hmpi_version}-huawei cd hmpi-${hmpi_version}-huawei git checkout v${hmpi_version}-huawei -cd ${JARVIS_DOWNLOAD} + + else . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hucx/archive/refs/tags/v${hmpi_version}-huawei.zip -f hucx-${hmpi_version}-huawei.zip . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/xucg/archive/refs/tags/v${hmpi_version}-huawei.zip -f xucg-${hmpi_version}-huawei.zip . ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/kunpengcompute/hmpi/archive/refs/tags/v${hmpi_version}-huawei.zip -f hmpi-${hmpi_version}-huawei.zip rm -rf hmpi-${hmpi_version}-huawei +cd ${JARVIS_TMP} +unzip ${JARVIS_DOWNLOAD}/hmpi-${hmpi_version}-huawei.zip fi cd ${JARVIS_TMP} . $CHECK_ROOT && yum install -y perl-Data-Dumper autoconf automake libtool binutils flex - rm -rf hucx-${hmpi_version}-huawei xucg-${hmpi_version}-huawei unzip ${JARVIS_DOWNLOAD}/hucx-${hmpi_version}-huawei.zip unzip ${JARVIS_DOWNLOAD}/xucg-${hmpi_version}-huawei.zip -unzip ${JARVIS_DOWNLOAD}/hmpi-${hmpi_version}-huawei.zip + \cp -rf xucg-${hmpi_version}-huawei/* hucx-${hmpi_version}-huawei/src/ucg/ sleep 3 -- Gitee