diff --git a/package/hmpi/1.1.1/kgcc/install.sh b/package/hmpi/1.1.1/kgcc/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..3f81337850fd5b635ef9a1ab17ce81e5621e8642 --- /dev/null +++ b/package/hmpi/1.1.1/kgcc/install.sh @@ -0,0 +1,25 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://github.com/kunpengcompute/hucx/archive/refs/tags/v1.1.1-huawei.tar.gz -f hucx-1.1.1-huawei.tar.gz +. ${DOWNLOAD_TOOL} -u https://github.com/kunpengcompute/xucg/archive/refs/tags/v1.1.1-huawei.tar.gz -f xucg-1.1.1-huawei.tar.gz +. ${DOWNLOAD_TOOL} -u https://github.com/kunpengcompute/hmpi/archive/refs/tags/v1.1.1-huawei.tar.gz -f hmpi-1.1.1-huawei.tar.gz +cd ${JARVIS_TMP} +## yum install -y perl-Data-Dumper autoconf automake libtool binutils valgrind +rm -rf hmpi-1.1.1-huawei hucx-1.1.1-huawei xucg-1.1.1-huawei +tar -xvf ${JARVIS_DOWNLOAD}/hucx-1.1.1-huawei.tar.gz +tar -xvf ${JARVIS_DOWNLOAD}/xucg-1.1.1-huawei.tar.gz +tar -xvf ${JARVIS_DOWNLOAD}/hmpi-1.1.1-huawei.tar.gz +\cp -rf xucg-1.1.1-huawei/* hucx-1.1.1-huawei/src/ucg/ +sleep 3 +cd hucx-1.1.1-huawei +./autogen.sh +# ./contrib/configure-opt --prefix=$1/hucx CFLAGS="-DHAVE___CLEAR_CACHE=1" --disable-numa +./contrib/configure-opt --prefix=$1/hucx +make -j64 +make install +cd ../hmpi-1.1.1-huawei +./autogen.pl +./configure --prefix=$1 --with-platform=contrib/platform/mellanox/optimized --enable-mpi1-compatibility --with-ucx=$1/hucx +make -j64 +make install diff --git a/package/kgcc/10.3.1/install.sh b/package/kgcc/10.3.1/install.sh index 79fe13a6fed626317b220dfabdbfdec96336d7c3..8f795270428a78476ab778403572f82add9a4435 100644 --- a/package/kgcc/10.3.1/install.sh +++ b/package/kgcc/10.3.1/install.sh @@ -2,4 +2,5 @@ set -x set -e cd ${JARVIS_TMP} -tar -xzvf ${JARVIS_DOWNLOAD}/gcc-10.3.1-2021.09-aarch64-linux.tar.gz -C $1 --strip-components=1 \ No newline at end of file +. ${DOWNLOAD_TOOL} -u https://mirrors.huaweicloud.com/kunpeng/archive/compiler/kunpeng_gcc/gcc-10.3.1-2021.09-aarch64-linux.tar.gz +tar -xzvf ${JARVIS_DOWNLOAD}/gcc-10.3.1-2021.09-aarch64-linux.tar.gz -C $1 --strip-components=1 diff --git a/package/openblas/0.3.18/install.sh b/package/openblas/0.3.18/install.sh index d475d9e78dd32c9d39a627f87615b6e00937e43f..cfba11339d89a18a14bf2441f0904349ba7bff0b 100644 --- a/package/openblas/0.3.18/install.sh +++ b/package/openblas/0.3.18/install.sh @@ -1,6 +1,7 @@ #!/bin/bash set -x set -e +. ${DOWNLOAD_TOOL} -u https://github.com/xianyi/OpenBLAS/archive/refs/tags/v0.3.18.tar.gz -f OpenBLAS-0.3.18.tar.gz cd ${JARVIS_TMP} tar -xzvf ${JARVIS_DOWNLOAD}/OpenBLAS-0.3.18.tar.gz cd OpenBLAS-0.3.18 diff --git a/package/scalapack/2.1.0/clang/install.sh b/package/scalapack/2.1.0/clang/install.sh new file mode 100644 index 0000000000000000000000000000000000000000..b7ab17a978ee9a306c73aaf57facc2d04f38769b --- /dev/null +++ b/package/scalapack/2.1.0/clang/install.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -x +set -e +cd ${JARVIS_TMP} +. ${DOWNLOAD_TOOL} -u http://www.netlib.org/scalapack/scalapack-2.1.0.tgz +tar -xvf ${JARVIS_DOWNLOAD}/scalapack-2.1.0.tgz +cd scalapack-2.1.0 +cp SLmake.inc.example SLmake.inc +sed -i "58c\BLASLIB =${JARVIS_ROOT}/software/libs/bisheng2/openblas/0.3.18/lib/libopenblas.a" SLmake.inc +sed -i "59c\LAPACKLIB =${JARVIS_ROOT}/software/libs/bisheng2/openblas/0.3.18/lib/libopenblas.a" SLmake.inc +sed -i "18a\$(LIBS) += -fuse-ld=lld" REDIST/TESTING/Makefile +make +mkdir $1/lib +cp *.a $1/lib