From bc0e24ec77fe685ce0fff958968f356a266c925b Mon Sep 17 00:00:00 2001 From: sunlock0653 Date: Wed, 30 Jul 2025 17:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=9D=E5=AF=B9=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 +- .../openeuler-bisheng2-bowtie2-2.4.5.def | 2 +- .../openeuler-gcc-9.3.0-bowtie2-2.4.5.def | 1 - .../openeuler-bisheng2-hmpi1-imb-2021.3.def | 1 - .../openeuler-bisheng2-hmpi1-mfem-4.4.def | 1 - container/ncl/data.NCL.arm.cpu.config.def | 4 +- package/R/4.3.0/install.sh | 16 +++ package/admixtools/7.0.2/install.sh | 15 +++ package/blat/35.1/install.sh | 13 ++ package/darshan/1.1.0/install.sh | 25 ++++ package/darshan/2.3.0/install.sh | 25 ++++ package/darshan/3.4.6/install.sh | 25 ++++ package/deeptool/3.5.1/install.sh | 14 ++ package/eig/8.0.0/install.sh | 19 +++ package/gau2grid/1.3.0/install.sh | 2 +- package/gcc/10.3.1/install.sh | 7 + package/gcc/12.3.1/install.sh | 7 + package/gdal/3.7.0/install.sh | 12 ++ package/gsl/2.7.1/install.sh | 11 ++ package/hmpi/1.1.1/install.sh | 27 ++-- package/hpckit/latest/install.sh | 4 + package/kp-hpc/2.1.0/install.sh | 9 ++ package/ncbi-vdb/3.0.0/install.sh | 15 +++ package/openblas/0.3.23/install.sh | 11 ++ package/pnetcdf/1.9.0/install.sh | 13 ++ package/relion/3.1.2/install.sh | 2 +- package/samtools/0.1.9/install.sh | 8 ++ templates/amber/20/data.amber.arm.gpu.config | 2 + .../2.2.10/deepmdkit.arm.cpu.kgcc.hmpi.config | 2 +- .../1.1/dl_poly.arm.cpu.bisheng.hmpi.config | 2 +- .../2.7.1/data.container-duns.arm.cpu.config | 1 - .../data.container-duns_sve.arm.cpu.config | 1 - .../ecFlow/5.5.2/data.ecFlow.arm.cpu.config | 2 +- .../2.18.0/data.eccodes.arm.cpu.config | 2 +- .../eigen/3.4/data.eigen.arm-920.cpu.config | 1 - .../eman2/2.99.64/data.eman2.arm.cpu.config | 2 +- .../fasta/36.3.8/data.fasta.arm.cpu.config | 2 +- .../2.3.5/data.gadget2.arm.cpu.kgcc.config | 2 +- .../2021.3/data.gromacs.arm.gpu.config | 2 +- .../2022.5/data.gromacs.arm-sve.cpu.config | 2 +- .../2022.5/data.gromacs.arm.gpu.config | 2 +- templates/gsea/4.3.2/data.gsea.arm.cpu.config | 51 ++++++++ .../2.3.01/data.hycom.arm-920.cpu.config | 2 +- .../0.51.1/data.kallisto.arm.cpu.kgcc.config | 2 +- .../5.2.2/likwid.arm.cpu.bisheng.hmpi.config | 2 +- .../data.container-mopac-sve.arm.cpu.config | 17 ++- .../data.container-mopac.arm.cpu.config | 19 ++- templates/mpb/1.11.1/data.mpb.arm.cpu.config | 2 + templates/ncl/6.5.0/data.NCL.arm.cpu.config | 3 +- .../ncl/6.6.2/data.NCL.arm_centos8.cpu.config | 3 +- .../data.nemo-container-sve.arm.cpu.config | 9 +- .../data.nemo-container.arm.cpu.config | 1 - .../10.3/data.octopus.arm.kpgcc.cpu.config | 2 +- .../11.4/data.octopus.arm.bs-sve.cpu.config | 2 +- .../11.4/data.octopus.arm.bs.cpu.config | 2 +- .../1906/data.openfoam.new.SVE.cpu.config | 2 +- .../1906/data.openfoam.new.bisheng.cpu.config | 2 +- .../2.1/data.palabos-common.arm.cpu.config | 2 +- .../1.3.2/data.psi4-common.arm.cpu.config | 2 +- .../data.psi4-container-sve.arm.cpu.config | 8 +- .../1.3.2/data.psi4-container.arm.cpu.config | 4 +- .../psi4/1.3.2/data.psi4.arm.cpu.kgcc.config | 4 +- .../qdk/2.3.12/data.qdk.arm-920.cpu.config | 2 - .../qgis/3.34.7/data.qgis.arm.cpu.config | 2 - .../3.14.0/data.qmcpack-sve.arm.cpu.config | 2 +- .../3.14.0/data.qmcpack.arm.cpu.config | 1 - .../8.0/scorep.arm.cpu.kgcc.hmpi.config | 1 - .../4.0.2/data.siesta.arm.clang.cpu.config | 1 - .../4.0.2/data.siesta.arm.sve.cpu.config | 2 +- .../1.2.0/data.snappy.arm-920.cpu.config | 2 - ...pecfem3d_globe.arm.cpu.bisheng.hmpi.config | 2 +- .../3.46.0/data.sqlite.arm-920.cpu.config | 2 - .../swmm/5.2.4/data.swmm.arm-920.cpu.config | 2 - .../0.52/data.vaspkit.arm-920.cpu.config | 1 - .../2.6.1/data.want.arm.bisheng.hmpi.config | 4 +- templates/wrf/4.6.1/data.wrf.arm.cpu.config | 120 ++++++++++++++++++ ...50\346\204\217\344\272\213\351\241\271.md" | 17 +++ 77 files changed, 520 insertions(+), 105 deletions(-) create mode 100644 package/R/4.3.0/install.sh create mode 100644 package/admixtools/7.0.2/install.sh create mode 100644 package/blat/35.1/install.sh create mode 100644 package/darshan/1.1.0/install.sh create mode 100644 package/darshan/2.3.0/install.sh create mode 100644 package/darshan/3.4.6/install.sh create mode 100644 package/deeptool/3.5.1/install.sh create mode 100644 package/eig/8.0.0/install.sh create mode 100644 package/gcc/10.3.1/install.sh create mode 100644 package/gcc/12.3.1/install.sh create mode 100644 package/gdal/3.7.0/install.sh create mode 100644 package/gsl/2.7.1/install.sh create mode 100644 package/hpckit/latest/install.sh create mode 100644 package/kp-hpc/2.1.0/install.sh create mode 100644 package/ncbi-vdb/3.0.0/install.sh create mode 100644 package/openblas/0.3.23/install.sh create mode 100644 package/pnetcdf/1.9.0/install.sh create mode 100644 package/samtools/0.1.9/install.sh create mode 100644 templates/gsea/4.3.2/data.gsea.arm.cpu.config create mode 100644 templates/wrf/4.6.1/data.wrf.arm.cpu.config create mode 100644 "\350\264\276\347\273\264\346\226\257\345\274\200\345\217\221\350\200\205\346\263\250\346\204\217\344\272\213\351\241\271.md" diff --git a/README.md b/README.md index 9712cde3..43002aa4 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ HPC被喻为是IT行业“金字塔上的明珠”,其部署、编译、运行 ## 下载贾维斯 执行如下命令安装相关依赖并下载贾维斯 ``` -yum -y install environment python3 python3-devel cmake +yum -y install git environment-modules python python3 python3-devel python3-libs python3-pip cmake make numactl-libs rpmbuild rpmdevtools wget unzip flex tar patch git clone https://gitee.com/openeuler/hpcrunner.git ``` @@ -164,12 +164,13 @@ option支持列表如下所示 # FAQ -Q1:如何在没有网络的环境下使用贾维斯部署软件? +Q1:如何在没有网络的环境或者网速很慢的环境下,使用贾维斯完成软件安装部署? ``` A: -步骤1:寻找一台有外网链接的服务器环境,执行jarvis -d命令,下载相关依赖 -步骤2:将事先下载好的安装包放置到downloads目录下即可进行后续安装操作。 +步骤1:寻找一台有外网链接的服务器环境B,执行jarvis -d命令,下载相关依赖 +步骤2:将事先下载好的安装包即环境B下downloads目录里所有内容,放置到原环境的downloads目录下 +步骤3:在原来环境下进行后续安装操作 ``` # 欢迎贡献 diff --git a/container/bowtie2/openeuler-bisheng2-bowtie2-2.4.5.def b/container/bowtie2/openeuler-bisheng2-bowtie2-2.4.5.def index 87851780..6f46ae44 100644 --- a/container/bowtie2/openeuler-bisheng2-bowtie2-2.4.5.def +++ b/container/bowtie2/openeuler-bisheng2-bowtie2-2.4.5.def @@ -9,7 +9,7 @@ From: openeuler/openeuler %post # Install the necessary development environment - yum install -y environment-modules git wget unzip make flex tar + # Install base gcc yum install -y gcc gcc-c++ make cmake automake zlib-devel bzip2-devel xz-devel curl-devel openssl-devel source /etc/profile || true diff --git a/container/bowtie2/openeuler-gcc-9.3.0-bowtie2-2.4.5.def b/container/bowtie2/openeuler-gcc-9.3.0-bowtie2-2.4.5.def index 0c6b191d..2ee369bc 100644 --- a/container/bowtie2/openeuler-gcc-9.3.0-bowtie2-2.4.5.def +++ b/container/bowtie2/openeuler-gcc-9.3.0-bowtie2-2.4.5.def @@ -9,7 +9,6 @@ From: openeuler/openeuler %post # Install the necessary development environment - yum install -y environment-modules git flex wget vim tar unzip coreutils # Install base gcc yum install -y gcc gcc-c++ make cmake libgfortran automake zlib-devel bzip2-devel xz-devel curl-devel openssl-devel source /etc/profile || true diff --git a/container/imb/openeuler-bisheng2-hmpi1-imb-2021.3.def b/container/imb/openeuler-bisheng2-hmpi1-imb-2021.3.def index af93037e..0b8ab62b 100644 --- a/container/imb/openeuler-bisheng2-hmpi1-imb-2021.3.def +++ b/container/imb/openeuler-bisheng2-hmpi1-imb-2021.3.def @@ -10,7 +10,6 @@ From: openeuler/openeuler %post # Install the necessary development environment - yum install -y environment-modules git wget unzip make flex tar source /etc/profile || true git config --global http.sslVerify false git clone https://gitee.com/openeuler/hpcrunner diff --git a/container/mfem/openeuler-bisheng2-hmpi1-mfem-4.4.def b/container/mfem/openeuler-bisheng2-hmpi1-mfem-4.4.def index 2d09bab0..dd540c01 100644 --- a/container/mfem/openeuler-bisheng2-hmpi1-mfem-4.4.def +++ b/container/mfem/openeuler-bisheng2-hmpi1-mfem-4.4.def @@ -10,7 +10,6 @@ From: openeuler/openeuler %post # Install the necessary development environment - yum install -y environment-modules git wget unzip make flex tar source /etc/profile || true git config --global http.sslVerify false git clone https://gitee.com/openeuler/hpcrunner diff --git a/container/ncl/data.NCL.arm.cpu.config.def b/container/ncl/data.NCL.arm.cpu.config.def index 8ef74d74..59c7b7e0 100644 --- a/container/ncl/data.NCL.arm.cpu.config.def +++ b/container/ncl/data.NCL.arm.cpu.config.def @@ -31,11 +31,9 @@ From: centos:8.2.2004 sed -i '16 s/^#//' /etc/yum.repos.d/CentOS-PowerTools.repo sed -i '18c enabled=1' /etc/yum.repos.d/CentOS-PowerTools.repo yum makecache - yum install -y rpm-build - yum install rpmdevtools -y rpmdev-setuptree cd / - yum install -y tar + # Install the necessary development environment yum install -y environment-modules git dmidecode pciutils wget vim zlib expat-devel python3 cpio # Install base gcc diff --git a/package/R/4.3.0/install.sh b/package/R/4.3.0/install.sh new file mode 100644 index 00000000..b583b31b --- /dev/null +++ b/package/R/4.3.0/install.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -x +set -e + +. $CHECK_ROOT +yum install libXt-devel.aarch64 readline-devel.aarch64 -y +yum install libX11-devel libz bzip2-devel liblzma* xz-devel pcre-devel pcre2-devel libcurl-devel -y + +. ${DOWNLOAD_TOOL} -u https://cran.r-project.org/src/base/R-4/R-4.3.0.tar.gz + +cd ${JARVIS_TMP} +tar -xvf ${JARVIS_DOWNLOAD}/R-4.3.0.tar.gz +cd R-4.3.0 +./configure -enable-R-shlib -enable-R-static-lib --with-libpng --with-jpeglib --prefix=$1 +make all -j +make install \ No newline at end of file diff --git a/package/admixtools/7.0.2/install.sh b/package/admixtools/7.0.2/install.sh new file mode 100644 index 00000000..2acdbbd5 --- /dev/null +++ b/package/admixtools/7.0.2/install.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -x +set -e + +wget https://github.com/DReichLab/AdmixTools/archive/v7.0.2.tar.gz -O ${JARVIS_DOWNLOAD}/AdmixTools-7.0.2.tar.gz + +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/AdmixTools-7.0.2.tar.gz +cd AdmixTools-7.0.2/src +sed -i '14d' Makefile +sed -i '18d' Makefile +sed -i "14s%^.*$%override CFLAGS += -I$targetdir/openblas/openblas_install/include -I$targetdir/gsl/gsl_install/include%g" Makefile +sed -i "15s%^.*$%override LDFLAGS += -L$targetdir/openblas/openblas_install/lib -L$targetdir/gsl/gsl_install/lib%g" Makefile +make -j 16 +make install \ No newline at end of file diff --git a/package/blat/35.1/install.sh b/package/blat/35.1/install.sh new file mode 100644 index 00000000..fddc861a --- /dev/null +++ b/package/blat/35.1/install.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -x +set -e + +wget https://codeload.github.com/djhshih/blat/tar.gz/v35.1 -O ${JARVIS_DOWNLOAD}/blat-35.1.tar.gz +yum -y install libpng-devel + +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/blat-35.1.tar.gz +cd blat-35.1/ +sed -i 's/jmp_buf htmlRecover/\/\/jmp_buf htmlRecover/g' src/inc/htmshell.h +export MACHTYPE=aarch64 +make \ No newline at end of file diff --git a/package/darshan/1.1.0/install.sh b/package/darshan/1.1.0/install.sh new file mode 100644 index 00000000..1d062616 --- /dev/null +++ b/package/darshan/1.1.0/install.sh @@ -0,0 +1,25 @@ +#!/bin/bash +# please build with gcc/icc+openmpi +# gcc: export CC=mpicc +# icc: export CC=mpiicc +set -x +set -e +version='1.1.0' +. $CHECK_ROOT && yum install -y texlive* gnuplot perl-Pod-LaTeX perl-HTML-Parser zlib-devel ghostscript +. ${DOWNLOAD_TOOL} -u https://ftp.mcs.anl.gov/pub/darshan/releases/darshan-${version}.tar.gz +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/darshan-${version}.tar.gz +cd darshan-${version} +./prepare.sh +# install darshan runtime to collect IO info. +cd darshan-runtime +mkdir -p $1/runtime +./configure --prefix=$1/runtime --with-mem-align=8 --with-log-path-by-env=DARSHAN_LOG_DIR_PATH --with-jobid-env=NONE +make -j +make install +# install darshan util to analysis IO info. +cd ../darshan-util +mkdir -p $1/util +./configure --prefix=$1/util +make -j +make install \ No newline at end of file diff --git a/package/darshan/2.3.0/install.sh b/package/darshan/2.3.0/install.sh new file mode 100644 index 00000000..1c0cc1a9 --- /dev/null +++ b/package/darshan/2.3.0/install.sh @@ -0,0 +1,25 @@ +#!/bin/bash +# please build with gcc/icc+openmpi +# gcc: export CC=mpicc +# icc: export CC=mpiicc +set -x +set -e +version='2.3.0' +. $CHECK_ROOT && yum install -y texlive* gnuplot perl-Pod-LaTeX perl-HTML-Parser zlib-devel ghostscript +. ${DOWNLOAD_TOOL} -u https://ftp.mcs.anl.gov/pub/darshan/releases/darshan-${version}.tar.gz +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/darshan-${version}.tar.gz +cd darshan-${version} +./prepare.sh +# install darshan runtime to collect IO info. +cd darshan-runtime +mkdir -p $1/runtime +./configure --prefix=$1/runtime --with-mem-align=8 --with-log-path-by-env=DARSHAN_LOG_DIR_PATH --with-jobid-env=NONE +make -j +make install +# install darshan util to analysis IO info. +cd ../darshan-util +mkdir -p $1/util +./configure --prefix=$1/util +make -j +make install \ No newline at end of file diff --git a/package/darshan/3.4.6/install.sh b/package/darshan/3.4.6/install.sh new file mode 100644 index 00000000..0be079b6 --- /dev/null +++ b/package/darshan/3.4.6/install.sh @@ -0,0 +1,25 @@ +#!/bin/bash +# please build with gcc/icc+openmpi +# gcc: export CC=mpicc +# icc: export CC=mpiicc +set -x +set -e +version='3.4.6' +. $CHECK_ROOT && yum install -y texlive* gnuplot perl-Pod-LaTeX perl-HTML-Parser zlib-devel ghostscript +. ${DOWNLOAD_TOOL} -u https://ftp.mcs.anl.gov/pub/darshan/releases/darshan-${version}.tar.gz +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/darshan-${version}.tar.gz +cd darshan-${version} +./prepare.sh +# install darshan runtime to collect IO info. +cd darshan-runtime +mkdir -p $1/runtime +./configure --prefix=$1/runtime --with-mem-align=8 --with-log-path-by-env=DARSHAN_LOG_DIR_PATH --with-jobid-env=NONE +make -j +make install +# install darshan util to analysis IO info. +cd ../darshan-util +mkdir -p $1/util +./configure --prefix=$1/util +make -j +make install \ No newline at end of file diff --git a/package/deeptool/3.5.1/install.sh b/package/deeptool/3.5.1/install.sh new file mode 100644 index 00000000..8099282e --- /dev/null +++ b/package/deeptool/3.5.1/install.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -x +set -e + + +wget https://github.com/deeptools/deepTools/archive/refs/tags/3.5.1.tar.gz -O ${JARVIS_DOWNLOAD}/deepTools-3.5.1.tar.gz +yum -y install doxygen cmake +yum install wget git tar libatomic git openssl glibc-devel libstdc++-static make perl cmake fuse-devel libxml2-devel file-devel patch -y + +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/deepTools-3.5.1.tar.gz + +cd deepTools-3.5.1 +python3 setup.py install \ No newline at end of file diff --git a/package/eig/8.0.0/install.sh b/package/eig/8.0.0/install.sh new file mode 100644 index 00000000..929d5275 --- /dev/null +++ b/package/eig/8.0.0/install.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -x +set -e + +./jarvis -install openblas/0.3.23 clang +./jarvis -install gsl/2.7.1 clang + +wget https://github.com/DReichLab/EIG/archive/refs/tags/v8.0.0.tar.gz -O ${JARVIS_DOWNLOAD}/EIG-8.0.0.tar.gz + +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/EIG-8.0.0.tar.gz > /dev/null 2>&1 +cd cd EIG-8.0.0/src +sed -i "1s%^.*$%override CFLAGS += -I../include -I$targetdir/openblas/openblas_install/include%g" Makefile +sed -i '10d' Makefile +sed -i '12d' Makefile +sed -i "10s%^.*$%override CFLAGS += -I$targetdir/openblas/openblas_install/include -I$targetdir/gsl/gsl_install/include%g" Makefile +sed -i "11s%^.*$%override LDFLAGS += -L$targetdir/openblas/openblas_install/lib -L$targetdir/gsl/gsl_install/lib%g" Makefile +make -j 16 +make install \ No newline at end of file diff --git a/package/gau2grid/1.3.0/install.sh b/package/gau2grid/1.3.0/install.sh index 6b83b297..2b95d9d2 100755 --- a/package/gau2grid/1.3.0/install.sh +++ b/package/gau2grid/1.3.0/install.sh @@ -8,7 +8,7 @@ tar -xvf ${JARVIS_DOWNLOAD}/v1.3.0.tar.gz cd gau2grid-1.3.0 mkdir build cd build -yum install python python3-pip -y + #pip3 install numpy wget https://files.pythonhosted.org/packages/bd/54/15a0ba87e6335d02475201c9767a6a424ee39ed438ebdb6438f34abc2c25/numpy-2.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl pip3 install numpy-2.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl diff --git a/package/gcc/10.3.1/install.sh b/package/gcc/10.3.1/install.sh new file mode 100644 index 00000000..987235b0 --- /dev/null +++ b/package/gcc/10.3.1/install.sh @@ -0,0 +1,7 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://mirrors.huaweicloud.com/kunpeng/archive/compiler/kunpeng_gcc/gcc-10.3.1-2022.06-aarch64-linux.tar.gz +cd ${JARVIS_TMP} +rm -rf gcc-10.3.1 +tar -xzvf ${JARVIS_DOWNLOAD}/gcc-10.3.1-2022.06-aarch64-linux.tar.gz diff --git a/package/gcc/12.3.1/install.sh b/package/gcc/12.3.1/install.sh new file mode 100644 index 00000000..ef3aed6a --- /dev/null +++ b/package/gcc/12.3.1/install.sh @@ -0,0 +1,7 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://mirrors.huaweicloud.com/kunpeng/archive/compiler/kunpeng_gcc/gcc-12.3.1-2024.09-aarch64-linux.tar.gz +cd ${JARVIS_TMP} +rm -rf gcc-12.3.1 +tar -xzvf ${JARVIS_DOWNLOAD}/gcc-12.3.1-2024.09-aarch64-linux.tar.gz \ No newline at end of file diff --git a/package/gdal/3.7.0/install.sh b/package/gdal/3.7.0/install.sh new file mode 100644 index 00000000..e197565c --- /dev/null +++ b/package/gdal/3.7.0/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://download.osgeo.org/gdal/3.7.0/gdal-3.7.0.tar.xz +cd ${JARVIS_TMP} +rm -rf gdal-2.2.4 +tar -xvf ${JARVIS_DOWNLOAD}/gdal-3.7.0.tar.xz > /dev/null 2>&1 +cd gdal-3.7.0/ +mkdir build +cd build +cmake ../ +make install \ No newline at end of file diff --git a/package/gsl/2.7.1/install.sh b/package/gsl/2.7.1/install.sh new file mode 100644 index 00000000..15368bf7 --- /dev/null +++ b/package/gsl/2.7.1/install.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://ftpmirror.gnu.org/gsl/gsl-2.7.1.tar.gz +cd ${JARVIS_TMP} +rm -rf gsl-2.7.1 +tar -xvf ${JARVIS_DOWNLOAD}/gsl-2.7.1.tar.gz +cd gsl-2.7.1 +./configure --prefix=$1 +make -j +make install \ No newline at end of file diff --git a/package/hmpi/1.1.1/install.sh b/package/hmpi/1.1.1/install.sh index 0de33156..5e4c1528 100755 --- a/package/hmpi/1.1.1/install.sh +++ b/package/hmpi/1.1.1/install.sh @@ -1,26 +1,17 @@ #!/bin/bash set -x set -e + +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 +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 +fi + cd ${JARVIS_TMP} . $CHECK_ROOT && yum install -y perl-Data-Dumper autoconf automake libtool binutils flex -rm -rf hmpi-1.1.1-huawei hucx-1.1.1-huawei xucg-1.1.1-huawei -unzip ${JARVIS_DOWNLOAD}/hucx-1.1.1-huawei.zip -unzip ${JARVIS_DOWNLOAD}/xucg-1.1.1-huawei.zip -unzip ${JARVIS_DOWNLOAD}/hmpi-1.1.1-huawei.zip -\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 --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 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 +rm -rf hmpi-1.1.1-huawei hucx-1.1.1-huawei xucg-1.1.1-huawei \ No newline at end of file diff --git a/package/hpckit/latest/install.sh b/package/hpckit/latest/install.sh new file mode 100644 index 00000000..3aeed9a8 --- /dev/null +++ b/package/hpckit/latest/install.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -e +export hpckit_ver=`curl https://mirrors.huaweicloud.com/kunpeng/archive/HPC/HPCKit/| awk -F "HPCKit_" '{print $2}'|awk -F "_Linux-aarch64" '{print $1}'|awk '{lines[NR]=$0} END{print lines[NR-1]}'` +../meta.sh $1 \ No newline at end of file diff --git a/package/kp-hpc/2.1.0/install.sh b/package/kp-hpc/2.1.0/install.sh new file mode 100644 index 00000000..14067a88 --- /dev/null +++ b/package/kp-hpc/2.1.0/install.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -x +set -e +file_name=kunpeng-hpc-2.1.0-aarch64-linux +. ${DOWNLOAD_TOOL} -u https://mirrors.huaweicloud.com/kunpeng/archive/Kunpeng_SDK/HPC/${file_name}.tar.gz +cd ${JARVIS_TMP} +tar -xvf ${JARVIS_DOWNLOAD}/${file_name}.tar.gz +cd ${file_name}/script +./install.sh \ No newline at end of file diff --git a/package/ncbi-vdb/3.0.0/install.sh b/package/ncbi-vdb/3.0.0/install.sh new file mode 100644 index 00000000..b31b8956 --- /dev/null +++ b/package/ncbi-vdb/3.0.0/install.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -x +set -e + +wget https://github.com/ncbi/ncbi-vdb/archive/refs/tags/3.0.0.tar.gz -O ${JARVIS_DOWNLOAD}/ncbi-vdb-3.0.0.tar.gz +yum -y install doxygen cmake +yum install wget git tar libatomic git openssl glibc-devel libstdc++-static make perl cmake fuse-devel libxml2-devel file-devel patch -y + +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/ncbi-vdb-3.0.0.tar.gz + +cd ncbi-vdb-3.0.0 +cp -r interfaces/cc/gcc/arm64 interfaces/cc/gcc/aarch64 +./configure --relative-build-out-dir +make -j && make install \ No newline at end of file diff --git a/package/openblas/0.3.23/install.sh b/package/openblas/0.3.23/install.sh new file mode 100644 index 00000000..54172ab6 --- /dev/null +++ b/package/openblas/0.3.23/install.sh @@ -0,0 +1,11 @@ +#!/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 diff --git a/package/pnetcdf/1.9.0/install.sh b/package/pnetcdf/1.9.0/install.sh new file mode 100644 index 00000000..4a07f42d --- /dev/null +++ b/package/pnetcdf/1.9.0/install.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -x +set -e +pnetcdf_ver='1.9.0' +. ${DOWNLOAD_TOOL} -u https://parallel-netcdf.github.io/Release/parallel-netcdf-1.9.0.tar.gz +cd ${JARVIS_TMP} +rm -rf pnetcdf-${pnetcdf_ver} +tar zxvf ${JARVIS_DOWNLOAD}/parallel-netcdf-1.9.0.tar.gz +cd parallel-netcdf-1.9.0 +./configure --prefix=$1 --enable-shared --enable-fortran --enable-large-file-test +make -j16 +make install \ No newline at end of file diff --git a/package/relion/3.1.2/install.sh b/package/relion/3.1.2/install.sh index dddc79ec..b11d46bf 100755 --- a/package/relion/3.1.2/install.sh +++ b/package/relion/3.1.2/install.sh @@ -3,7 +3,7 @@ set -x set -e -. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/3dem/relion/archive/refs/tags/3.1.2.tar.gz relion-3.1.2.tar.gz +. ${DOWNLOAD_TOOL} -u $JARVIS_PROXY/3dem/relion/archive/refs/tags/3.1.2.tar.gz -f relion-3.1.2.tar.gz cd ${JARVIS_TMP} rm -rf relion-3.1.2 tar -xvf ${JARVIS_DOWNLOAD}/relion-3.1.2.tar.gz diff --git a/package/samtools/0.1.9/install.sh b/package/samtools/0.1.9/install.sh new file mode 100644 index 00000000..432b54b8 --- /dev/null +++ b/package/samtools/0.1.9/install.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -x +set -e +wget https://codeload.github.com/samtools/samtools/tar.gz/0.1.9 -O ${JARVIS_DOWNLOAD}/samtools-0.1.9.tar.gz +cd ${JARVIS_TMP} +tar xvf ${JARVIS_DOWNLOAD}/samtools-0.1.9.tar.gz > /dev/null 2>&1 +cd samtools-0.1.9 +make \ No newline at end of file diff --git a/templates/amber/20/data.amber.arm.gpu.config b/templates/amber/20/data.amber.arm.gpu.config index bf505f37..223b8c8f 100644 --- a/templates/amber/20/data.amber.arm.gpu.config +++ b/templates/amber/20/data.amber.arm.gpu.config @@ -1,6 +1,8 @@ [SERVER] 1.1.1.1 +[DOWNLOAD] + [DEPENDENCY] yum install -y flex* bison* zlib* libzip* boost* bzip2* diff --git a/templates/deepmd-kit/2.2.10/deepmdkit.arm.cpu.kgcc.hmpi.config b/templates/deepmd-kit/2.2.10/deepmdkit.arm.cpu.kgcc.hmpi.config index de43a144..4d31578c 100644 --- a/templates/deepmd-kit/2.2.10/deepmdkit.arm.cpu.kgcc.hmpi.config +++ b/templates/deepmd-kit/2.2.10/deepmdkit.arm.cpu.kgcc.hmpi.config @@ -7,7 +7,7 @@ set -e set -x -yum install -y cmake + module purge ./jarvis -install package/anaconda3/2024.10 any module use ./software/modulefiles diff --git a/templates/dlPoly/1.1/dl_poly.arm.cpu.bisheng.hmpi.config b/templates/dlPoly/1.1/dl_poly.arm.cpu.bisheng.hmpi.config index d096daa5..804b0fe5 100644 --- a/templates/dlPoly/1.1/dl_poly.arm.cpu.bisheng.hmpi.config +++ b/templates/dlPoly/1.1/dl_poly.arm.cpu.bisheng.hmpi.config @@ -8,7 +8,7 @@ TEST41 https://gitlab.com/DL_POLY_Classic/tests/-/raw/master/TEST41.tar.gz TEST4 [DEPENDENCY] set -e set -x -yum install -y make cmake + module purge ./jarvis -install bisheng/4.1.0 com module use ./software/modulefiles diff --git a/templates/duns/2.7.1/data.container-duns.arm.cpu.config b/templates/duns/2.7.1/data.container-duns.arm.cpu.config index 3f0cf269..c05ef157 100644 --- a/templates/duns/2.7.1/data.container-duns.arm.cpu.config +++ b/templates/duns/2.7.1/data.container-duns.arm.cpu.config @@ -14,7 +14,6 @@ tar -xjf ${JARVIS_DOWNLOAD}/duns-2.7.1-src.tar.bz2 -C ${JARVIS_ROOT} tar -xjf ${JARVIS_DOWNLOAD}/duns-2.7.1-test.tar.bz2 -C ${JARVIS_ROOT} [ENV] -export JARVIS_ROOT=/hpcrunner export DUNSARCH=linux export DUNSPATH27=${JARVIS_ROOT}/duns-2.7.1 export PATH=$DUNSPATH27/util:${JARVIS_ROOT}/software/libs/bisheng4.0.0/duns/2.7.1/bin:$PATH diff --git a/templates/duns/2.7.1/data.container-duns_sve.arm.cpu.config b/templates/duns/2.7.1/data.container-duns_sve.arm.cpu.config index f1b43c50..d0587aed 100644 --- a/templates/duns/2.7.1/data.container-duns_sve.arm.cpu.config +++ b/templates/duns/2.7.1/data.container-duns_sve.arm.cpu.config @@ -14,7 +14,6 @@ tar -xjf ${JARVIS_DOWNLOAD}/duns-2.7.1-src.tar.bz2 -C ${JARVIS_ROOT} tar -xjf ${JARVIS_DOWNLOAD}/duns-2.7.1-test.tar.bz2 -C ${JARVIS_ROOT} [ENV] -export JARVIS_ROOT=/hpcrunner export DUNSARCH=linux export DUNSPATH27=${JARVIS_ROOT}/duns-2.7.1 export PATH=$DUNSPATH27/util:${JARVIS_ROOT}/software/libs/bisheng4.0.0/duns/2.7.1/bin:$PATH diff --git a/templates/ecFlow/5.5.2/data.ecFlow.arm.cpu.config b/templates/ecFlow/5.5.2/data.ecFlow.arm.cpu.config index 8a13cf7e..9693b5fc 100644 --- a/templates/ecFlow/5.5.2/data.ecFlow.arm.cpu.config +++ b/templates/ecFlow/5.5.2/data.ecFlow.arm.cpu.config @@ -15,7 +15,7 @@ export CC=`which gcc` export CXX=`which g++` export FC=`which gfortran` -yum install -y python3 + yum install -y qt5 qt5-devel ./jarvis -install boost-python/1.72.0 gcc diff --git a/templates/eccodes/2.18.0/data.eccodes.arm.cpu.config b/templates/eccodes/2.18.0/data.eccodes.arm.cpu.config index 40911b99..a7c09bce 100644 --- a/templates/eccodes/2.18.0/data.eccodes.arm.cpu.config +++ b/templates/eccodes/2.18.0/data.eccodes.arm.cpu.config @@ -7,7 +7,7 @@ eccodes/2.18.0 http://confluence.ecmwf.int/download/attachments/45757960/Eccodes [DEPENDENCY] set -e set -x -yum install -y cmake + yum install -y libcurl-devel module use ./software/modulefiles module purge diff --git a/templates/eigen/3.4/data.eigen.arm-920.cpu.config b/templates/eigen/3.4/data.eigen.arm-920.cpu.config index b7b0ec56..93091050 100644 --- a/templates/eigen/3.4/data.eigen.arm-920.cpu.config +++ b/templates/eigen/3.4/data.eigen.arm-920.cpu.config @@ -5,7 +5,6 @@ eigen/3.4 https://gitlab.com/libeigen/eigen/-/archive/3.4/eigen-3.4.tar.gz [DEPENDENCY] -yum install make cmake -y module purge ./jarvis -install bisheng/4.1.0 com diff --git a/templates/eman2/2.99.64/data.eman2.arm.cpu.config b/templates/eman2/2.99.64/data.eman2.arm.cpu.config index dfa3f0aa..aebc17c3 100644 --- a/templates/eman2/2.99.64/data.eman2.arm.cpu.config +++ b/templates/eman2/2.99.64/data.eman2.arm.cpu.config @@ -8,7 +8,7 @@ eman2/2.99.64 https://github.com/cryoem/eman2/archive/refs/tags/v2.99.64.tar.gz set -e set -x -yum install -y make cmake -y + module purge ./jarvis -install package/anaconda3/2023.3 any source ${JARVIS_ROOT}/software/utils/anaconda3/2023.3/etc/profile.d/conda.sh diff --git a/templates/fasta/36.3.8/data.fasta.arm.cpu.config b/templates/fasta/36.3.8/data.fasta.arm.cpu.config index 45651c68..53290795 100644 --- a/templates/fasta/36.3.8/data.fasta.arm.cpu.config +++ b/templates/fasta/36.3.8/data.fasta.arm.cpu.config @@ -9,7 +9,7 @@ sse2neon/master https://github.com/DLTcollab/sse2neon/archive/refs/heads/master. [DEPENDENCY] set -e set -x -yum install -y make + module purge ./jarvis -install kgcc/10.3.1 com diff --git a/templates/gadget2/2.3.5/data.gadget2.arm.cpu.kgcc.config b/templates/gadget2/2.3.5/data.gadget2.arm.cpu.kgcc.config index 6c2ecff0..6727f253 100644 --- a/templates/gadget2/2.3.5/data.gadget2.arm.cpu.kgcc.config +++ b/templates/gadget2/2.3.5/data.gadget2.arm.cpu.kgcc.config @@ -7,7 +7,7 @@ gadget2/2.3.5 https://github.com/gadget-framework/gadget2/archive/refs/tags/v2.3 [DEPENDENCY] set -e set -x -yum install -y make cmake libX11 libX11-devel +yum install -y libX11 libX11-devel ./jarvis -install hpckit/2024.12.30 any module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles module purge diff --git a/templates/gromacs/2021.3/data.gromacs.arm.gpu.config b/templates/gromacs/2021.3/data.gromacs.arm.gpu.config index 95b22f57..d0b7f1e7 100644 --- a/templates/gromacs/2021.3/data.gromacs.arm.gpu.config +++ b/templates/gromacs/2021.3/data.gromacs.arm.gpu.config @@ -8,7 +8,7 @@ cuda/11.4.0 https://developer.download.nvidia.com/compute/cuda/11.4.0/local_inst [DEPENDENCY] set -e set -x -yum install -y cmake make + module use ./software/modulefiles module purge ./jarvis -install kgcc/9.3.1 com diff --git a/templates/gromacs/2022.5/data.gromacs.arm-sve.cpu.config b/templates/gromacs/2022.5/data.gromacs.arm-sve.cpu.config index 8024d8b9..9bcdd7af 100644 --- a/templates/gromacs/2022.5/data.gromacs.arm-sve.cpu.config +++ b/templates/gromacs/2022.5/data.gromacs.arm-sve.cpu.config @@ -7,7 +7,7 @@ gromacs/2022.5 http://ftp.gromacs.org/pub/gromacs/gromacs-2022.5.tar.gz [DEPENDENCY] #set -e #set -x -yum install -y cmake make + module purge module use ./software/modulefiles ./jarvis -install bisheng/2.1.0 com diff --git a/templates/gromacs/2022.5/data.gromacs.arm.gpu.config b/templates/gromacs/2022.5/data.gromacs.arm.gpu.config index 6280a155..d5c14050 100644 --- a/templates/gromacs/2022.5/data.gromacs.arm.gpu.config +++ b/templates/gromacs/2022.5/data.gromacs.arm.gpu.config @@ -8,7 +8,7 @@ gromacs/2022.5 http://ftp.gromacs.org/pub/gromacs/gromacs-2022.5.tar.gz #set -e #set -x -yum install -y cmake make + module purge module use ./software/modulefiles ./jarvis -install bisheng/2.1.0 com diff --git a/templates/gsea/4.3.2/data.gsea.arm.cpu.config b/templates/gsea/4.3.2/data.gsea.arm.cpu.config new file mode 100644 index 00000000..6eb711e9 --- /dev/null +++ b/templates/gsea/4.3.2/data.gsea.arm.cpu.config @@ -0,0 +1,51 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +GSEA/4.3.2 https://data.broadinstitute.org/gsea-msigdb/gsea/software/desktop/4.3/GSEA_4.3.2.zip GSEA_4.3.2.zip + +[DOWNLOADORI] +GSEA/4.3.2 https://data.broadinstitute.org/gsea-msigdb/gsea/software/desktop/4.3/GSEA_4.3.2.zip GSEA_4.3.2.zip + +[DEPENDENCY] +module use ./software/modulefiles +module purge +./jarvis -install kgcc/9.3.1 com +module load kgcc/9.3.1 + + + +[ENV] +module use ./software/modulefiles +module purge +module load kgcc/9.3.1 + +[APP] +app_name = STAR +build_dir = $JARVIS_ROOT +binary_dir = +case_dir = + + + +[BUILD] +set -x +set -e +module use ./software/modulefiles +module purge +module load kgcc/9.3.1 + + +cd ${JARVIS_TMP} +rm -rf GSEA_4.3.2 +uinzip $JARVIS_DOWNLOAD/GSEA_4.3.2.zip +cd ${JARVIS_TMP}/GSEA_4.3.2 + + +[CLEAN] +./clean_build + +[RUN] +run = +binary = +nodes = 1 \ No newline at end of file diff --git a/templates/hycom/2.3.01/data.hycom.arm-920.cpu.config b/templates/hycom/2.3.01/data.hycom.arm-920.cpu.config index 022cf0e4..28490a8d 100644 --- a/templates/hycom/2.3.01/data.hycom.arm-920.cpu.config +++ b/templates/hycom/2.3.01/data.hycom.arm-920.cpu.config @@ -8,7 +8,7 @@ hycom/2.3.01 https://github.com/HYCOM/HYCOM-src/releases/download/2.3.01/HYCOM-s set -e set -x -yum install -y make cmake gcc g++ csh +yum install -y csh ./jarvis -install bisheng/4.1.0 com module purge diff --git a/templates/kallisto-bustools_python/0.51.1/data.kallisto.arm.cpu.kgcc.config b/templates/kallisto-bustools_python/0.51.1/data.kallisto.arm.cpu.kgcc.config index 4038fd5a..03effe4f 100644 --- a/templates/kallisto-bustools_python/0.51.1/data.kallisto.arm.cpu.kgcc.config +++ b/templates/kallisto-bustools_python/0.51.1/data.kallisto.arm.cpu.kgcc.config @@ -7,7 +7,7 @@ kallisto/0.51.1 https://github.com/pachterlab/kallisto/archive/refs/tags/v0.51.1 [DEPENDENCY] set -e set -x -yum install -y make cmake + yum install -y autoconf automake libtool yum -y install xz-devel yum install libarchive -y diff --git a/templates/likwid/5.2.2/likwid.arm.cpu.bisheng.hmpi.config b/templates/likwid/5.2.2/likwid.arm.cpu.bisheng.hmpi.config index 6eb47a0c..9d277e31 100644 --- a/templates/likwid/5.2.2/likwid.arm.cpu.bisheng.hmpi.config +++ b/templates/likwid/5.2.2/likwid.arm.cpu.bisheng.hmpi.config @@ -7,7 +7,7 @@ likwid/5.2.2 https://github.com/RRZE-HPC/likwid/archive/refs/tags/v5.2.2.tar.gz [DEPENDENCY] set -e set -x -yum install -y make cmake + module purge ./jarvis -install hpckit/2024.12.30 any module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles diff --git a/templates/mopac/22.0.4/data.container-mopac-sve.arm.cpu.config b/templates/mopac/22.0.4/data.container-mopac-sve.arm.cpu.config index be1d945c..8f2c684a 100644 --- a/templates/mopac/22.0.4/data.container-mopac-sve.arm.cpu.config +++ b/templates/mopac/22.0.4/data.container-mopac-sve.arm.cpu.config @@ -7,23 +7,26 @@ mopac/22.0.4 https://github.com/openmopac/mopac/archive/refs/tags/v22.0.4.tar.gz [DEPENDENCY] export CC=mpicc CXX=mpicxx FC=mpifort -yum install python -y + ./jarvis -install package/lapack/3.8.0/bisheng/ bisheng -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0 +module use software/moduledeps/bisheng4.0.0 module add lapack-bisheng/3.8.0 export LAPACK_PATH=$LAPACK_BISHENG_PATH export CFLAGS="-Wno-implicit-function-declaration" -./jarvis -install package/openblas/0.3.14/ bisheng+mpi -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0-hmpi2.4.1 +./jarvis -install package/openblas/0.3.14 bisheng+mpi +module use software/moduledeps/bisheng4.0.0-hmpi2.4.1 module add openblas/0.3.14 [ENV] -export JARVIS_ROOT=/hpcrunner -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0 +module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module purge +module add bisheng/compiler4.1.0/bishengmodule bisheng/hmpi2.4.3/hmpi +export CC=mpicc CXX=mpicxx FC=mpifort +module use ./software/moduledeps/bisheng4.1.0 module add lapack-bisheng/3.8.0 export LAPACK_PATH=$LAPACK_BISHENG_PATH export CFLAGS="-Wno-implicit-function-declaration" -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0-hmpi2.4.1 +module use ./software/moduledeps/bisheng4.1.0-hmpi2.4.3 module add openblas/0.3.14 export PATH=$JARVIS_ROOT/software/mopac/22.0.4/bin:$PATH export LD_LIBRARY_PATH=$JARVIS_ROOT/software/mopac/22.0.4/lib64:$LD_LIBRARY_PATH diff --git a/templates/mopac/22.0.4/data.container-mopac.arm.cpu.config b/templates/mopac/22.0.4/data.container-mopac.arm.cpu.config index 60d260e6..2aeb840a 100644 --- a/templates/mopac/22.0.4/data.container-mopac.arm.cpu.config +++ b/templates/mopac/22.0.4/data.container-mopac.arm.cpu.config @@ -6,24 +6,31 @@ mopac/22.0.4 https://github.com/openmopac/mopac/archive/refs/tags/v22.0.4.tar.gz [DEPENDENCY] +./jarvis -install hpckit/2024.12.30 any +module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module purge +module add bisheng/compiler4.1.0/bishengmodule bisheng/hmpi2.4.3/hmpi export CC=mpicc CXX=mpicxx FC=mpifort -yum install python -y + ./jarvis -install package/lapack/3.8.0/bisheng/ bisheng -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0 +module use ./software/moduledeps/bisheng4.1.0 module add lapack-bisheng/3.8.0 export LAPACK_PATH=$LAPACK_BISHENG_PATH export CFLAGS="-Wno-implicit-function-declaration" ./jarvis -install package/openblas/0.3.14 bisheng+mpi -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0-hmpi2.4.1 +module use ./software/moduledeps/bisheng4.1.0-hmpi2.4.3 module add openblas/0.3.14 [ENV] -export JARVIS_ROOT=/hpcrunner -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0 +module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module purge +module add bisheng/compiler4.1.0/bishengmodule bisheng/hmpi2.4.3/hmpi +export CC=mpicc CXX=mpicxx FC=mpifort +module use ./software/moduledeps/bisheng4.1.0 module add lapack-bisheng/3.8.0 export LAPACK_PATH=$LAPACK_BISHENG_PATH export CFLAGS="-Wno-implicit-function-declaration" -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0-hmpi2.4.1 +module use ./software/moduledeps/bisheng4.1.0-hmpi2.4.3 module add openblas/0.3.14 export PATH=$JARVIS_ROOT/software/mopac/22.0.4/bin:$PATH export LD_LIBRARY_PATH=$JARVIS_ROOT/software/mopac/22.0.4/lib64:$LD_LIBRARY_PATH diff --git a/templates/mpb/1.11.1/data.mpb.arm.cpu.config b/templates/mpb/1.11.1/data.mpb.arm.cpu.config index 4a2d4a71..5ad8f5e6 100644 --- a/templates/mpb/1.11.1/data.mpb.arm.cpu.config +++ b/templates/mpb/1.11.1/data.mpb.arm.cpu.config @@ -17,11 +17,13 @@ module purge ./jarvis -install package/hpckit/2024.12.30 any module use software/utils/hpckit/2024.12.30/HPCKit/latest/modulefiles module add bisheng/compiler4.1.0/bishengmodule +module add bisheng/hmpi2.4.3/hmpi [ENV] module purge module use software/utils/hpckit/2024.12.30/HPCKit/latest/modulefiles module add bisheng/compiler4.1.0/bishengmodule +module add bisheng/hmpi2.4.3/hmpi export MPB_DEPENDENCIES_DIR=${JARVIS_ROOT}/MPB_DEPENDENCIES export MPB_DIR=${JARVIS_ROOT}/software/apps/bisheng/mpb/1.11.1 export PATH=${MPB_DEPENDENCIES_DIR}/bin:${MPB_DIR}/bin:$PATH diff --git a/templates/ncl/6.5.0/data.NCL.arm.cpu.config b/templates/ncl/6.5.0/data.NCL.arm.cpu.config index 484ce91c..066a5c91 100644 --- a/templates/ncl/6.5.0/data.NCL.arm.cpu.config +++ b/templates/ncl/6.5.0/data.NCL.arm.cpu.config @@ -39,8 +39,7 @@ sed -i -e 's|$releasever|8|g' /etc/yum.repos.d/epel* yum install -y netcdf-fortran-devel hdf-static hdf-devel g2clib-static gdal-devel proj-devel imake libXaw-devel flex-static udunits2-devel byacc cairo-devel flex gsl-devel openblas-devel yum -y install xorg-x11-xauth xorg-x11-server-utils xorg-x11-server-Xnest libXtst -yum install -y rpmbuild -yum install rpmdevtools -y + rpmdev-setuptree diff --git a/templates/ncl/6.6.2/data.NCL.arm_centos8.cpu.config b/templates/ncl/6.6.2/data.NCL.arm_centos8.cpu.config index 60097699..dc951cd4 100644 --- a/templates/ncl/6.6.2/data.NCL.arm_centos8.cpu.config +++ b/templates/ncl/6.6.2/data.NCL.arm_centos8.cpu.config @@ -39,8 +39,7 @@ sed -i -e 's|$releasever|8|g' /etc/yum.repos.d/epel* yum install -y netcdf-fortran-devel hdf-static hdf-devel g2clib-static gdal-devel proj-devel imake libXaw-devel flex-static udunits2-devel byacc cairo-devel flex gsl-devel openblas-devel yum -y install xorg-x11-xauth xorg-x11-server-utils xorg-x11-server-Xnest libXtst -yum install -y rpmbuild -yum install rpmdevtools -y + rpmdev-setuptree diff --git a/templates/nemo/3.6/bisheng/data.nemo-container-sve.arm.cpu.config b/templates/nemo/3.6/bisheng/data.nemo-container-sve.arm.cpu.config index 0f0b6144..6670b603 100644 --- a/templates/nemo/3.6/bisheng/data.nemo-container-sve.arm.cpu.config +++ b/templates/nemo/3.6/bisheng/data.nemo-container-sve.arm.cpu.config @@ -6,8 +6,8 @@ nemo/3.6 http://forge.ipsl.jussieu.fr/nemo/changeset/15814/NEMO/releases/release [DEPENDENCY] yum install -y svn python3 -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0 -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0-hmpi2.4.1 +module use software/moduledeps/bisheng4.0.0 +module use software/moduledeps/bisheng4.0.0-hmpi2.4.1 export CC=mpicc CXX=mpicxx FC=mpifort sed -i '10c ./configure --prefix=$1 --enable-fortran --enable-static=yes --enable-parallel --enable-shared CFLAGS="-O3 -fPIC -Wno-incompatible-pointer-types-discards-qualifiers -Wno-non-literal-null-conversion -Wno-int-conversion -Wno-implicit-int -Wno-implicit-function-declaration -Wno-incompatible-function-pointer-types" FCFLAGS="-O3 -fPIC" LDFLAGS="-Wl,--build-id"' package/hdf5/1.10.1/clang/install.sh ./jarvis -install package/hdf5/1.10.1/clang/ bisheng+mpi @@ -27,9 +27,8 @@ sed -i '5c cp -r /mnt/xios-1.0/* $1' package/xios/1.0/install.sh [ENV] -#export JARVIS_ROOT=/hpcrunner -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0 -module use $JARVIS_ROOT/software/moduledeps/bisheng4.0.0-hmpi2.4.1 +module use software/moduledeps/bisheng4.0.0 +module use software/moduledeps/bisheng4.0.0-hmpi2.4.1 module load pnetcdf/1.12.1 hdf5-clang/1.10.1 netcdf-clang/4.7.4 blitz/1.0.1 xios/1.0 export CC=mpicc CXX=mpicxx FC=mpifort export PATH=$JARVIS_ROOT/NEMO/releases/release-3.6/NEMOGCM/CONFIG/MY_AMM12/BLD/bin:$JARVIS_ROOT/NEMO/releases/release-3.6/NEMOGCM/CONFIG/MY_AMM12/EXP00:$PATH diff --git a/templates/nemo/3.6/bisheng/data.nemo-container.arm.cpu.config b/templates/nemo/3.6/bisheng/data.nemo-container.arm.cpu.config index c20b573e..0d19620f 100644 --- a/templates/nemo/3.6/bisheng/data.nemo-container.arm.cpu.config +++ b/templates/nemo/3.6/bisheng/data.nemo-container.arm.cpu.config @@ -27,7 +27,6 @@ sed -i '5c cp -r /mnt/xios-1.0/* $1' package/xios/1.0/install.sh [ENV] -#export JARVIS_ROOT=/hpcrunner module use ${JARVIS_ROOT}/software/moduledeps/bisheng4.0.0 module use ${JARVIS_ROOT}/software/moduledeps/bisheng4.0.0-hmpi2.4.1 module load pnetcdf/1.12.1 hdf5-clang/1.10.1 netcdf-clang/4.7.4 blitz/1.0.1 xios/1.0 diff --git a/templates/octopus/10.3/data.octopus.arm.kpgcc.cpu.config b/templates/octopus/10.3/data.octopus.arm.kpgcc.cpu.config index 2deb3d37..1ac73316 100644 --- a/templates/octopus/10.3/data.octopus.arm.kpgcc.cpu.config +++ b/templates/octopus/10.3/data.octopus.arm.kpgcc.cpu.config @@ -6,7 +6,7 @@ octopus/10.3 https://octopus-code.org/download/10.3/octopus-10.3.tar.gz octopus- [DEPENDENCY] module purge -yum install -y cmake + yum install blas-devel lapack-devel -y ./jarvis -install kgcc/9.3.1 com module use ./software/modulefiles diff --git a/templates/octopus/11.4/data.octopus.arm.bs-sve.cpu.config b/templates/octopus/11.4/data.octopus.arm.bs-sve.cpu.config index 62b03151..716bdc00 100644 --- a/templates/octopus/11.4/data.octopus.arm.bs-sve.cpu.config +++ b/templates/octopus/11.4/data.octopus.arm.bs-sve.cpu.config @@ -45,7 +45,7 @@ case_dir = [BUILD] ./configure --prefix=${JARVIS_ROOT}/software/apps/bisheng3.2.0/octopus/11.4 CFLAGS='-O3 -march=armv8.2-a -mtune=tsv110 -mcpu=linxicore9100 -mllvm -force-customized-pipeline=true' FCFLAGS='-O3 -march=armv8.2-a -mtune=tsv110 -mcpu=linxicore9100 -mllvm -force-customized-pipeline=true' --with-gsl-prefix=${JARVIS_LIBS}/bisheng3.2.0/gsl/2.6 --with-libxc-prefix=${JARVIS_LIBS}/bisheng3.2.0/libxc/4.3.4 --with-fftw-prefix=${JARVIS_LIBS}/bisheng3.2.0/hmpi2.3.0/fftw/3.3.8 --with-blas=${JARVIS_LIBS}/bisheng3.2.0/lapack/3.8.0/lib/libblas.so --with-lapack=${JARVIS_LIBS}/bisheng3.2.0/lapack/3.8.0/lib/liblapack.so --enable-mpi -yum install -y patch + patch -p0 < /hpcrunner/templates/octopus/11.4/cuda.F90.patch patch -p0 < /hpcrunner/templates/octopus/11.4/run.F90.patch patch -p0 < /hpcrunner/templates/octopus/11.4/accel_inc.F90.patch diff --git a/templates/octopus/11.4/data.octopus.arm.bs.cpu.config b/templates/octopus/11.4/data.octopus.arm.bs.cpu.config index 8e1c1690..b7cca51c 100644 --- a/templates/octopus/11.4/data.octopus.arm.bs.cpu.config +++ b/templates/octopus/11.4/data.octopus.arm.bs.cpu.config @@ -46,7 +46,7 @@ case_dir = [BUILD] ./configure --prefix=${JARVIS_ROOT}/software/apps/bisheng3.2.0/octopus/11.4 CFLAGS='-O3 -march=armv8.2-a -mtune=tsv110 ' FCFLAGS='-O3 -march=armv8.2-a -mtune=tsv110 ' --with-gsl-prefix=${JARVIS_LIBS}/bisheng3.2.0/gsl/2.6 --with-libxc-prefix=${JARVIS_LIBS}/bisheng3.2.0/libxc/4.3.4 --with-fftw-prefix=${JARVIS_LIBS}/bisheng3.2.0/hmpi2.3.0/fftw/3.3.8 --with-blas=${JARVIS_LIBS}/bisheng3.2.0/lapack/3.8.0/lib/libblas.so --with-lapack=${JARVIS_LIBS}/bisheng3.2.0/lapack/3.8.0/lib/liblapack.so --enable-mpi -yum install -y patch + patch -p0 < /hpcrunner/templates/octopus/11.4/cuda.F90.patch patch -p0 < /hpcrunner/templates/octopus/11.4/run.F90.patch patch -p0 < /hpcrunner/templates/octopus/11.4/accel_inc.F90.patch diff --git a/templates/openfoam/1906/data.openfoam.new.SVE.cpu.config b/templates/openfoam/1906/data.openfoam.new.SVE.cpu.config index 603bd2de..45ec0f1e 100644 --- a/templates/openfoam/1906/data.openfoam.new.SVE.cpu.config +++ b/templates/openfoam/1906/data.openfoam.new.SVE.cpu.config @@ -28,7 +28,7 @@ module use ./software/modulefiles module load bisheng/3.2.0-mini module use ./software/moduledeps module load bisheng3.2.0/hmpi/2.3.0 -export JARVIS_ROOT=/hpcrunner + export PATH=${JARVIS_ROOT}/OpenFOAM-v1906/platforms/linuxARM64ClangDPInt32Opt/bin:$PATH export LD_LIBRARY_PATH=${JARVIS_ROOT}/OpenFOAM-v1906/platforms/linuxARM64ClangDPInt32Opt/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=${JARVIS_ROOT}/OpenFOAM-v1906/platforms/linuxARM64ClangDPInt32Opt/lib/dummy:$LD_LIBRARY_PATH diff --git a/templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config b/templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config index df77caf9..a316793d 100644 --- a/templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config +++ b/templates/openfoam/1906/data.openfoam.new.bisheng.cpu.config @@ -28,7 +28,7 @@ module load bisheng/3.2.0-mini module use ./software/moduledeps module load bisheng3.2.0/hmpi/2.3.0 #source /hpcrunner/OpenFOAM-v1906/etc/bashrc -export JARVIS_ROOT=/hpcrunner + export PATH=${JARVIS_ROOT}/OpenFOAM-v1906/platforms/linuxARM64ClangDPInt32Opt/bin:$PATH export LD_LIBRARY_PATH=${JARVIS_ROOT}/OpenFOAM-v1906/platforms/linuxARM64ClangDPInt32Opt/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=${JARVIS_ROOT}/OpenFOAM-v1906/platforms/linuxARM64ClangDPInt32Opt/lib/dummy:$LD_LIBRARY_PATH diff --git a/templates/palabos/2.1/data.palabos-common.arm.cpu.config b/templates/palabos/2.1/data.palabos-common.arm.cpu.config index 050c955d..d37e9ace 100644 --- a/templates/palabos/2.1/data.palabos-common.arm.cpu.config +++ b/templates/palabos/2.1/data.palabos-common.arm.cpu.config @@ -16,7 +16,7 @@ export CC=clang CXX=clang++ FC=flang module use software/moduledeps/bisheng4.1.0 module load cmake/3.23.1 yum install ImageMagick -y -#yum install python3 python3-devel -y + ./jarvis -install package/python3/3.6.8 clang module add python3/3.6.8 diff --git a/templates/psi4/1.3.2/data.psi4-common.arm.cpu.config b/templates/psi4/1.3.2/data.psi4-common.arm.cpu.config index 824dbdb4..64fc2316 100644 --- a/templates/psi4/1.3.2/data.psi4-common.arm.cpu.config +++ b/templates/psi4/1.3.2/data.psi4-common.arm.cpu.config @@ -11,7 +11,7 @@ module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles module purge module add gcc/compiler12.3.1/gccmodule gcc/hmpi2.4.3/hmpi -yum install cmake -y + export CC=gcc FC=gfortran CXX=g++ ./jarvis -install package/python3/3.7.10 gcc diff --git a/templates/psi4/1.3.2/data.psi4-container-sve.arm.cpu.config b/templates/psi4/1.3.2/data.psi4-container-sve.arm.cpu.config index 23c276eb..39021fc1 100644 --- a/templates/psi4/1.3.2/data.psi4-container-sve.arm.cpu.config +++ b/templates/psi4/1.3.2/data.psi4-container-sve.arm.cpu.config @@ -5,12 +5,12 @@ psi4/1.3.2 https://github.com/psi4/psi4/archive/v1.3.2.tar.gz [DEPENDENCY] -yum install cmake -y + export CC=clang FC=flang CXX=clang++ export CFLAGS="-Wno-implicit-function-declaration" sed -i '9c ./configure --prefix=\$1 --with-ensurepip=yes CFLAGS="-O3 -Wno-implicit-function-declaration"' package/python3/3.7.10/install.sh ./jarvis -install package/python3/3.7.10 bisheng -module use $JARVIS_ROOT/software/moduledeps +module use software/moduledeps module add bisheng4.0.0/python3/3.7.10 ./jarvis -install package/openblas/0.3.14/ bisheng module add bisheng4.0.0/openblas/0.3.14 @@ -31,8 +31,8 @@ module add bisheng4.0.0/pybind11/2.6.2 [ENV] -#export JARVIS_ROOT=/hpcrunner -module use $JARVIS_ROOT/software/moduledeps + +module use software/moduledeps module add bisheng4.0.0/python3/3.7.10 module add bisheng4.0.0/openblas/0.3.14 module add bisheng4.0.0/gau2grid/1.3.0 diff --git a/templates/psi4/1.3.2/data.psi4-container.arm.cpu.config b/templates/psi4/1.3.2/data.psi4-container.arm.cpu.config index 57f28b70..6c18e3e9 100644 --- a/templates/psi4/1.3.2/data.psi4-container.arm.cpu.config +++ b/templates/psi4/1.3.2/data.psi4-container.arm.cpu.config @@ -5,7 +5,7 @@ psi4/1.3.2 https://github.com/psi4/psi4/archive/v1.3.2.tar.gz [DEPENDENCY] -yum install cmake -y + export CC=clang FC=flang CXX=clang++ export CFLAGS="-Wno-implicit-function-declaration" sed -i '9c ./configure --prefix=\$1 --with-ensurepip=yes CFLAGS="-O3 -Wno-implicit-function-declaration"' package/python3/3.7.10/install.sh @@ -31,7 +31,7 @@ module add bisheng4.0.0/pybind11/2.6.2 [ENV] -#export JARVIS_ROOT=/hpcrunner + module use ${JARVIS_ROOT}/software/moduledeps module add bisheng4.0.0/python3/3.7.10 module add bisheng4.0.0/openblas/0.3.14 diff --git a/templates/psi4/1.3.2/data.psi4.arm.cpu.kgcc.config b/templates/psi4/1.3.2/data.psi4.arm.cpu.kgcc.config index 4e1499f0..8cedc2f5 100644 --- a/templates/psi4/1.3.2/data.psi4.arm.cpu.kgcc.config +++ b/templates/psi4/1.3.2/data.psi4.arm.cpu.kgcc.config @@ -7,11 +7,10 @@ psi4/1.3.2 https://github.com/psi4/psi4/archive/v1.3.2.tar.gz psi4-1.3.2.tar.gz [DEPENDENCY] set -e set -x -yum install -y python3 python3-devel python3-libs python3-pip + pip3 install QCElemental QCEngine deepdiff sudo yum groupinstall "Development Tools" -y && sudo yum install glibc-devel -y pip3 install numpy --upgrade --force-reinstall -sudo yum install -y make cmake ./jarvis -install kgcc/10.3.1 com module use software/modulefiles module purge @@ -32,7 +31,6 @@ module load libint/1.2.0 ./jarvis -install libxc/4.3.0 gcc module use ./software/moduledeps/kgcc10.3.1 module load libxc/4.3.0 -sudo yum install python3-devel ./jarvis -install pybind11/2.6.2 gcc module use ./software/moduledeps/kgcc10.3.1 module load pybind11/2.6.2 diff --git a/templates/qdk/2.3.12/data.qdk.arm-920.cpu.config b/templates/qdk/2.3.12/data.qdk.arm-920.cpu.config index b9551a5b..fbd11e6e 100644 --- a/templates/qdk/2.3.12/data.qdk.arm-920.cpu.config +++ b/templates/qdk/2.3.12/data.qdk.arm-920.cpu.config @@ -8,8 +8,6 @@ qdk/2.3.12 https://github.com/qnap-dev/QDK/archive/refs/tags/v2.3.12.tar.gz qdk- set -e set -x -yum install cmake make gcc g++ -y - ./jarvis -install gcc/13.3.0 com module purge module use ./software/modulefiles diff --git a/templates/qgis/3.34.7/data.qgis.arm.cpu.config b/templates/qgis/3.34.7/data.qgis.arm.cpu.config index 2e1f7b3d..29f035d3 100644 --- a/templates/qgis/3.34.7/data.qgis.arm.cpu.config +++ b/templates/qgis/3.34.7/data.qgis.arm.cpu.config @@ -8,8 +8,6 @@ qgis/3.34.7 https://github.com/qgis/QGIS/archive/refs/tags/final-3_34_7.zip QGIS set -e set -x -yum install -y python3 python3-devel cmake - ./jarvis -install bisheng/4.1.0 com module purge module use ./software/modulefiles diff --git a/templates/qmcpack/3.14.0/data.qmcpack-sve.arm.cpu.config b/templates/qmcpack/3.14.0/data.qmcpack-sve.arm.cpu.config index 68a3bd78..6182c6ee 100644 --- a/templates/qmcpack/3.14.0/data.qmcpack-sve.arm.cpu.config +++ b/templates/qmcpack/3.14.0/data.qmcpack-sve.arm.cpu.config @@ -32,7 +32,7 @@ rm qmcpack-3.14.0 -rf tar -xvf ${JARVIS_DOWNLOAD}/v3.14.0.tar.gz [ENV] -export JARVIS_ROOT=/hpcrunner + module use ${JARVIS_ROOT}/software/moduledeps/bisheng4.0.0 module add boost-clang/1.72.0 zlib/1.2.11 libxml2/2.10.1 module load openblas/0.3.14 diff --git a/templates/qmcpack/3.14.0/data.qmcpack.arm.cpu.config b/templates/qmcpack/3.14.0/data.qmcpack.arm.cpu.config index a469ae5c..a3b9016a 100644 --- a/templates/qmcpack/3.14.0/data.qmcpack.arm.cpu.config +++ b/templates/qmcpack/3.14.0/data.qmcpack.arm.cpu.config @@ -32,7 +32,6 @@ rm qmcpack-3.14.0 -rf tar -xvf ${JARVIS_DOWNLOAD}/v3.14.0.tar.gz [ENV] -export JARVIS_ROOT=/hpcrunner module use ${JARVIS_ROOT}/software/moduledeps/bisheng4.0.0 module add boost-clang/1.72.0 zlib/1.2.11 libxml2/2.10.1 module load openblas/0.3.14 diff --git a/templates/scorep/8.0/scorep.arm.cpu.kgcc.hmpi.config b/templates/scorep/8.0/scorep.arm.cpu.kgcc.hmpi.config index 09b19467..7847b6d3 100644 --- a/templates/scorep/8.0/scorep.arm.cpu.kgcc.hmpi.config +++ b/templates/scorep/8.0/scorep.arm.cpu.kgcc.hmpi.config @@ -7,7 +7,6 @@ scorep/8.0 https://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-8.0 [DEPENDENCY] set -e set -x -yum install cmake make -y module purge ./jarvis -install hpckit/2024.12.30 any module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles diff --git a/templates/siesta/4.0.2/data.siesta.arm.clang.cpu.config b/templates/siesta/4.0.2/data.siesta.arm.clang.cpu.config index d7106b1f..f078a6f1 100644 --- a/templates/siesta/4.0.2/data.siesta.arm.clang.cpu.config +++ b/templates/siesta/4.0.2/data.siesta.arm.clang.cpu.config @@ -6,7 +6,6 @@ siesta/4.0.2 https://launchpadlibrarian.net/379220821/siesta-4.0.2.tar.gz [DEPENDENCY] source /root/.bashrc -yum -y install python3-devel.aarch64 ln -s /usr/bin/python3 /usr/bin/python export CC=mpicc CXX=mpicxx FC=mpifort export CFLAGS="-Wno-implicit-function-declaration -Wno-implicit-int" diff --git a/templates/siesta/4.0.2/data.siesta.arm.sve.cpu.config b/templates/siesta/4.0.2/data.siesta.arm.sve.cpu.config index 1b4eb70c..26283653 100644 --- a/templates/siesta/4.0.2/data.siesta.arm.sve.cpu.config +++ b/templates/siesta/4.0.2/data.siesta.arm.sve.cpu.config @@ -6,7 +6,7 @@ siesta/4.0.2 https://launchpadlibrarian.net/379220821/siesta-4.0.2.tar.gz [DEPENDENCY] source /root/.bashrc -yum -y install python3-devel.aarch64 + ln -s /usr/bin/python3 /usr/bin/python export CC=mpicc CXX=mpicxx FC=mpifort export CFLAGS="-Wno-implicit-function-declaration -Wno-implicit-int" diff --git a/templates/snappy/1.2.0/data.snappy.arm-920.cpu.config b/templates/snappy/1.2.0/data.snappy.arm-920.cpu.config index 8dc24ec6..887564ca 100644 --- a/templates/snappy/1.2.0/data.snappy.arm-920.cpu.config +++ b/templates/snappy/1.2.0/data.snappy.arm-920.cpu.config @@ -10,8 +10,6 @@ benchmark https://github.com/google/benchmark/archive/refs/tags/v1.7.1.zip bench set -e set -x -yum install make cmake gcc g++ -y - ./jarvis -install bisheng/4.1.0 com module purge module use ./software/modulefiles diff --git a/templates/specfem3d_globe/7.0.0/data.specfem3d_globe.arm.cpu.bisheng.hmpi.config b/templates/specfem3d_globe/7.0.0/data.specfem3d_globe.arm.cpu.bisheng.hmpi.config index e4b1cd6f..8ff0a0bd 100644 --- a/templates/specfem3d_globe/7.0.0/data.specfem3d_globe.arm.cpu.bisheng.hmpi.config +++ b/templates/specfem3d_globe/7.0.0/data.specfem3d_globe.arm.cpu.bisheng.hmpi.config @@ -7,7 +7,7 @@ specfem3d_globe/7.0.0 https://github.com/geodynamics/specfem3d_globe/archive/v7. [DEPENDENCY] set -e set -x -yum install -y git make cmake + module purge ./jarvis -install hpckit/2024.12.30 any module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles diff --git a/templates/sqlite/3.46.0/data.sqlite.arm-920.cpu.config b/templates/sqlite/3.46.0/data.sqlite.arm-920.cpu.config index 08ad393d..1fd4e84d 100644 --- a/templates/sqlite/3.46.0/data.sqlite.arm-920.cpu.config +++ b/templates/sqlite/3.46.0/data.sqlite.arm-920.cpu.config @@ -8,8 +8,6 @@ sqlite/3.46.0 https://github.com/sqlite/sqlite/archive/refs/tags/version-3.16.0. set -e set -x -yum install make cmake gcc g++ -y - ./jarvis -install gcc/13.3.0 com module purge module use ./software/modulefiles diff --git a/templates/swmm/5.2.4/data.swmm.arm-920.cpu.config b/templates/swmm/5.2.4/data.swmm.arm-920.cpu.config index 91d9bc02..85022a35 100644 --- a/templates/swmm/5.2.4/data.swmm.arm-920.cpu.config +++ b/templates/swmm/5.2.4/data.swmm.arm-920.cpu.config @@ -8,8 +8,6 @@ swmm/5.2.4 https://github.com/USEPA/Stormwater-Management-Model/archive/refs/hea set -e set -x -yum install make cmake gcc g++ -y - ./jarvis -install gcc/13.3.0 com module purge module use ./software/modulefiles diff --git a/templates/vaspkit/0.52/data.vaspkit.arm-920.cpu.config b/templates/vaspkit/0.52/data.vaspkit.arm-920.cpu.config index c650cb95..0b72861f 100644 --- a/templates/vaspkit/0.52/data.vaspkit.arm-920.cpu.config +++ b/templates/vaspkit/0.52/data.vaspkit.arm-920.cpu.config @@ -5,7 +5,6 @@ vaspkit/0.52 https://sourceforge.net/projects/vaspkit/files/Src/vaspkit.0.52.tar.gz [DEPENDENCY] -yum install make cmake gcc g++ -y module purge ./jarvis -install bisheng/4.1.0 com diff --git a/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config b/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config index d686fa93..8add7d7f 100644 --- a/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config +++ b/templates/want/2.6.1/data.want.arm.bisheng.hmpi.config @@ -8,7 +8,7 @@ want/2.6.1 https://github.com/QEF/want/archive/want-2.6.1.tar.gz want-2.6.1.tar. set -e set -x -yum install -y make cmake + ./jarvis -install bisheng/2.1.0 com module purge module use ./software/modulefiles @@ -27,7 +27,7 @@ yum install lapack* blas* -y tar -vzxf ${JARVIS_DOWNLOAD}/want-2.6.1.tar.gz [ENV] -yum install -y make cmake + module purge module use ./software/modulefiles module load bisheng/2.1.0 diff --git a/templates/wrf/4.6.1/data.wrf.arm.cpu.config b/templates/wrf/4.6.1/data.wrf.arm.cpu.config new file mode 100644 index 00000000..b986a965 --- /dev/null +++ b/templates/wrf/4.6.1/data.wrf.arm.cpu.config @@ -0,0 +1,120 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +wrf/4.6.1 https://codeload.github.com/wrf-model/WRF/tar.gz/refs/tags/v4.6.1 wrf-4.6.1.tar.gz + + +[DEPENDENCY] + +module purge +module use ./software/modulefiles +./jarvis -install kgcc/9.3.1 com +module load kgcc/9.3.1 +export CC=gcc CXX=g++ FC=gfortran + +./jarvis -install hmpi/1.1.1 gcc +module load hmpi/1.1.1 +export CC=mpicc CXX=mpicxx FC=mpifort +module load hdf5/1.10.1 +./jarvis -install hdf5/1.10.1 gcc +./jarvis -install package/pnetcdf/1.11.2 gcc +module load pnetcdf/1.11.2 +./jarvis -install package/netcdf/4.7.0 gcc +./jarvis -install optimized-routines/20.02 gcc +cd ${JARVIS_TMP} + +tar -zxvf $JARVIS_DOWNLOAD/wrf-4.6.1.tar.gz + +[ENV] +module purge +module use ./software/modulefiles +module load kgcc/9.3.1 +module load hmpi/1.1.1 +export CC=mpicc CXX=mpicxx FC=mpifort +module load pnetcdf/1.11.2 +module load netcdf/4.7.0 +module load optimized-routines/20.02 + + +[APP] +app_name = WRF +build_dir = ${WRF_DIR} +binary_dir = +case_dir = ${JARVIS_ROOT}/workloads/test_wrf + +[BUILD] +cd ${JARVIS_TMP} +cd WRF-4.6.1 + +export HDF5=`which h5diff` +export HDF5=${HDF5%/*/*} +export NETCDF=`nc-config --prefix` +export PNETCDF=`pnetcdf-config --prefix` + +export CPPFLAGS="-I$HDF5/include -I$PNETCDF/include -I$NETCDF/include" +export LDFLAGS="-L$HDF5/lib -L$PNETCDF/lib -L$NETCDF/lib -lnetcdf -lnetcdff -lpnetcdf -lhdf5_hl -lhdf5 -lz" +export WRFIO_NCD_LARGE_FILE_SUPPORT=1 + +sed -i $((`sed -n '$=' arch/configure.defaults`-2)),$((`sed -n '$=' arch/configure.defaults`))d arch/configure.defaults + +mathlib_path=$JARVIS_ROOT/software/compiler/kgcc/9.3.1/lib64/libhpc +cat >> arch/configure.defaults <&1 | tee -a compile.log + + +[CLEAN] +./clean + +[RUN] +run = dsub -s run.sh +binary = +nodes = 1 diff --git "a/\350\264\276\347\273\264\346\226\257\345\274\200\345\217\221\350\200\205\346\263\250\346\204\217\344\272\213\351\241\271.md" "b/\350\264\276\347\273\264\346\226\257\345\274\200\345\217\221\350\200\205\346\263\250\346\204\217\344\272\213\351\241\271.md" new file mode 100644 index 00000000..11cc5ca8 --- /dev/null +++ "b/\350\264\276\347\273\264\346\226\257\345\274\200\345\217\221\350\200\205\346\263\250\346\204\217\344\272\213\351\241\271.md" @@ -0,0 +1,17 @@ +# HPCRunner 开发者注意事项 +# 1、使用安装HPCKIT的方式替代单独安装HMPI、BISHENG以及数学库 +建议使用如下方式安装并使能hpckit +``` +./jarvis -install package/hpckit/2024.12.30/ any +module use software/utils/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module purge +module load bisheng/compiler4.1.0/bishengmodule bisheng/hmpi2.4.3/hmpi +``` +不建议使用如下方式 +``` +./jarvis -install hmpi/1.1.1 clang +module use software/moduledeps/bisheng2.1.0 +module load hmpi/1.1.1 +``` + +export JARVIS_ROOT=/hpcrunner -- Gitee