HPC安装测试
Posted vmsysjack
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HPC安装测试相关的知识,希望对你有一定的参考价值。
#!/bin/bash set -ex CDIR="$(cd "$(dirname "$0")";pwd -P)" NDIR="$CDIR/.." mkdir -p $CDIR/src tar -xf hucx-v1.2.1-huawei.tar.gz -C $CDIR/src tar -xf xucg-v1.2.1-huawei.tar.gz -C $CDIR/src tar -xf hmpi-v1.2.1-huawei.tar.gz -C $CDIR/src unzip OpenBLAS-0.3.19.zip -d $CDIR/src tar -xf hpl-2.3.tar.gz -C $CDIR/src cp -r $CDIR/src/xucg-v1.2.1-huawei/* $CDIR/src/hucx-v1.2.1-huawei/src/ucg cd $CDIR/src/hucx-v1.2.1-huawei ./autogen.sh ./contrib/configure-opt --prefix=/usr/local/hucx make -j$(grep -w processor /proc/cpuinfo | wc -l) make -j$(grep -w processor /proc/cpuinfo | wc -l) cd $CDIR/src/hmpi-v1.2.1-huawei/ ./autogen.pl ./configure --prefix=/usr/local/hmpi --with-platform=contrib/platform/mellanox/optimized \\ --enable-mpi1-compatibility --with-ucx=/usr/local/hucx && \\ make$(grep -w processor /proc/cpuinfo | wc -l) && make$(grep -w processor /proc/cpuinfo | wc -l) install cat>>/etc/profile<<\'EOF\' export HUCX=/usr/local/hucx export HMPI=/usr/local/hmpi export PATH=$HMPI/bin:$HUCX/bin:$PATH export LD_LIBRARY_PATH=$HMPI/lib:$HUCX/lib:$LD_LIBRARY_PATH EOF source /etc/profile # install OpenBlas cat>>/etc/profile<<\'EOF\' export CC=`which gcc` export CXX=`which g++` export FC=`which gfortran` export OPENBLAS_HOME=/usr/local/OpenBLAS-0.3.19 export LD_LIBRARY_PATH=$OPENBLAS_HOME:$LD_LIBRARY_PATH EOF source /etc/profile cd $CDIR/src/OpenBLAS-0.3.19 make && make PREFIX=/usr/local/OPENBLAS-0.3.19 install
以上是关于HPC安装测试的主要内容,如果未能解决你的问题,请参考以下文章
即使似乎安装了 graphviz,如何在 HPC 集群上安装 pygraphviz 而不会出错?
Intel oneAPI HPC Toolkit 安装教程(Linux)