linux系统superpi运行,Super PI使用介绍

Super PI

Super PI 官方地址http://www.superpi.net/在官网如下的链接可以查到大部分CPU的得分,有1M和32M两种,1M是2的20次方。

http://www.superpi.net/Scores/?action=searchScores&test=-12&vendor=&platform=&series=&rpp=20

官网下载的是Windows版本,Linux版本可以在如下链接下载

ftp://pi.super-computing.org/Linux/super_pi.tar.gz

下载解压就可以直接运行了,如果报如下错误

./super_pi 20

./super_pi: ./pi: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

是因为在64位的系统上,需要安装32位的库文件

yum install glibc.i686./super_pi 20 Version 2.0 of the super_pi for Linux OS Fortran source program was translated into C program with version 19981204 of f2c, then generated C source program was optimized manually. pgcc 3.2-3 with compile option of "-fast -tp px -Mbuiltin -Minline=size:1000 -M noframe -Mnobounds -Mcache_align -Mdalign -Mnoreentrant" was used for the compilation. ------ Started super_pi run : Sun Dec 28 22:35:32 CST 2014 Start of PI calculation up to 1048576 decimal digits End of initialization. Time= 0.235 Sec. I= 1 L= 0 Time= 0.571 Sec. I= 2 L= 0 Time= 0.550 Sec. I= 3 L= 1 Time= 0.552 Sec. I= 4 L= 2 Time= 0.553 Sec. I= 5 L= 5 Time= 0.552 Sec. I= 6 L= 10 Time= 0.553 Sec. I= 7 L= 21 Time= 0.554 Sec. I= 8 L= 43 Time= 0.554 Sec. I= 9 L= 87 Time= 0.553 Sec. I=10 L= 174 Time= 0.554 Sec. I=11 L= 349 Time= 0.558 Sec. I=12 L= 698 Time= 0.554 Sec. I=13 L= 1396 Time= 0.555 Sec. I=14 L= 2794 Time= 0.549 Sec. I=15 L= 5588 Time= 0.586 Sec. I=16 L= 11176 Time= 0.576 Sec. I=17 L= 22353 Time= 0.535 Sec. I=18 L= 44707 Time= 0.513 Sec. I=19 L= 89415 Time= 0.474 Sec. End of main loop End of calculation. Time= 11.095 Sec. End of data output. Time= 0.064 Sec. Total calculation(I/O) time= 11.159( 0.276) Sec. ------ Ended super_pi run : Super PI是一个典型的CPU密集型基准测试工具,原理非常简单,根据设置计算圆周率π小数点后N个位数,然后统计消耗的时间,根据时间长度的比较就能初步衡量CPU计算能力的强弱。Super PI主要是浮点计算能力的比较。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值