From 39f4df01a41b3fec67298091bdce59741c307cd3 Mon Sep 17 00:00:00 2001 From: Zerry <996002763@qq.com> Date: Fri, 11 Apr 2025 11:14:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BA=94=E7=94=A8plink-1?= =?UTF-8?q?.9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plink/1.9/data.plink.arm-920.cpu.config | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 templates/plink/1.9/data.plink.arm-920.cpu.config diff --git a/templates/plink/1.9/data.plink.arm-920.cpu.config b/templates/plink/1.9/data.plink.arm-920.cpu.config new file mode 100644 index 0000000..f4aace9 --- /dev/null +++ b/templates/plink/1.9/data.plink.arm-920.cpu.config @@ -0,0 +1,57 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +plink/1.9 https://github.com/chrchang/plink-ng/archive/refs/heads/master.zip plink-master.zip + +[DEPENDENCY] +yum install make cmake gcc g++ -y +dnf install openblas-devel -y + +module purge +./jarvis -install hpckit/2024.12.30 com +module use ./software/compiler/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module load gcc/compiler12.3.1/gccmodule +module load gcc/kml2.5.0/kml + +cd ${JARVIS_TMP_DOWNLOAD} +unzip ${JARVIS_DOWNLOAD}/plink-master.zip + +[ENV] +module purge +module use ./software/compiler/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module load gcc/compiler12.3.1/gccmodule +module load gcc/kml2.5.0/kml + +[APP] +app_name = plink +build_dir = ${JARVIS_TMP_DOWNLOAD} +binary_dir = ${JARVIS_TMP_DOWNLOAD} +case_dir = + +[BUILD] + +cd plink-ng-master + +grep -rl "\-llapack -lblas -lcblas -latlas" | xargs sed -i 's%\-llapack -lblas -lcblas -latlas%-L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon/kblas/pthread -L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon -lkblas -lklapack_full -fopenmp%g' +grep -rl "\-llapack -lcblas -lblas" | xargs sed -i 's%\-llapack -lcblas -lblas%\-L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon/kblas/pthread -L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon -lkblas -lklapack_full -fopenmp%g' +grep -rl "\-llapack -lf77blas -latlas" | xargs sed -i 's%\-llapack -lf77blas -latlas%\-L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon/kblas/pthread -L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon -lkblas -lklapack_full -fopenmp%g' +sed -i 's%cblas.h%kblas.h%g' 1.9/plink_matrix.h +sed -i 's%cblas.h%kblas.h%g' 2.0/plink2_matrix.h +cd 1.9/ +./plink_first_compile +cd ../2.0 +./build.sh + +[CLEAN] +make clean + +[RUN] +run = +binary = +nodes = 1 + +[PERF] +perf= +nsys= +ncu= -- Gitee From 1e748cee727b92ecf392b587ae3fd0ae974395ec Mon Sep 17 00:00:00 2001 From: Zerry <996002763@qq.com> Date: Fri, 11 Apr 2025 11:14:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BA=94=E7=94=A8plink-1?= =?UTF-8?q?.9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plink/1.9/data.plink.arm-920.cpu.config | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 templates/plink/1.9/data.plink.arm-920.cpu.config diff --git a/templates/plink/1.9/data.plink.arm-920.cpu.config b/templates/plink/1.9/data.plink.arm-920.cpu.config new file mode 100644 index 0000000..1c3d77b --- /dev/null +++ b/templates/plink/1.9/data.plink.arm-920.cpu.config @@ -0,0 +1,56 @@ +[SERVER] +11.11.11.11 + +[DOWNLOAD] +plink/1.9 https://github.com/chrchang/plink-ng/archive/refs/heads/master.zip plink-master.zip + +[DEPENDENCY] +yum install make cmake gcc g++ -y +dnf install openblas-devel -y + +module purge +./jarvis -install hpckit/2024.12.30 com +module use ./software/compiler/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module load gcc/compiler12.3.1/gccmodule +module load gcc/kml2.5.0/kml + +cd ${JARVIS_TMP_DOWNLOAD} +rm -rf plink-ng-master +unzip ${JARVIS_DOWNLOAD}/plink-master.zip + +[ENV] +module purge +module use ./software/compiler/hpckit/2024.12.30/HPCKit/24.12.30/modulefiles +module load gcc/compiler12.3.1/gccmodule +module load gcc/kml2.5.0/kml + +[APP] +app_name = plink +build_dir = ${JARVIS_TMP_DOWNLOAD}/plink-ng-master +binary_dir = ${JARVIS_TMP_DOWNLOAD}/plink-ng-master/bin +case_dir = + +[BUILD] + +grep -rl "\-llapack -lblas -lcblas -latlas" | xargs sed -i 's%\-llapack -lblas -lcblas -latlas%-L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon/kblas/pthread -L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon -lkblas -lklapack_full -fopenmp%g' +grep -rl "\-llapack -lcblas -lblas" | xargs sed -i 's%\-llapack -lcblas -lblas%\-L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon/kblas/pthread -L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon -lkblas -lklapack_full -fopenmp%g' +grep -rl "\-llapack -lf77blas -latlas" | xargs sed -i 's%\-llapack -lf77blas -latlas%\-L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon/kblas/pthread -L\${JARVIS_COMPILER}/hpckit/2024.12.30/HPCKit/24.12.30/kml/gcc/lib/neon -lkblas -lklapack_full -fopenmp%g' +sed -i 's%cblas.h%kblas.h%g' 1.9/plink_matrix.h +sed -i 's%cblas.h%kblas.h%g' 2.0/plink2_matrix.h +cd 1.9/ +./plink_first_compile +cd ../2.0 +./build.sh + +[CLEAN] +make clean + +[RUN] +run = +binary = +nodes = 1 + +[PERF] +perf= +nsys= +ncu= -- Gitee