Centos下HPL测试工具安装

内容部分来自:
Linpack之HPL测试 (HPL Benchmark)
并参考mpich+blas+hpl 集群配置

安装HPL之前需要配置好:
BLAS/CBLAS/ATLAS 库
GCC/Fortran77编译器
MPICH 并行环境

安装步骤
复制文件:

sudo cp CBLAS/lib/* /usr/local/lib
sudo cp BLAS-3.8.0/blas_LINUX.a /usr/local/lib

下载 hpl-2.3.tar.gz

wget http://www.netlib.org/benchmark/hpl/hpl-2.3.tar.gz
tar -xzf hpl-2.3.tar.gz
cd hpl-2.3

在hpl-2.3/setup中选择合适的makefile,这里需要选择Make.Linux_PII_FBLAS,把它拷贝至hpl-2.3目录下,修改名字为Make.LinuxGeneric修改它。
修改字段:

ARCH = LinuxGeneric
TOPdir       = /root/asc/hpl/hpl-2.3 #hpl解压目录
MPdir        = /usr/local/ #mpich安装目录 
LAdir         = /usr/local/lib
LAlib        = $(LAdir)/cblas_LINUX.a#blas编译出来的文件
CC            = /usr/local/bin/mpicc
LINKER     = /usr/local/bin/mpif77

我的配置文件

#  
#  -- High Performance Computing Linpack Benchmark (HPL)                
#     HPL - 2.3 - December 2, 2018                          
#     Antoine P. Petitet                                                
#     University of Tennessee, Knoxville                                
#     Innovative Computing Laboratory                                 
#     (C) Copyright 2000-2008 All Rights Reserved                       
#                                                                       
#  -- Copyright notice and Licensing terms:                             
#                                                                       
#  Redistribution  and  use in  source and binary forms, with or without
#  modification, are  permitted provided  that the following  conditions
#  are met:                                                             
#                                                                       
#  1. Redistributions  of  source  code  must retain the above copyright
#  notice, this list of conditions and the following disclaimer.        
#                                                                       
#  2. Redistributions in binary form must reproduce  the above copyright
#  notice, this list of conditions,  and the following disclaimer in the
#  documentation and/or other materials provide
  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值