NAS Parallel Benchmarks tips
2015-06-11 18:55
555 查看
NAS Parallel Benchmarks tips
NAS Parallel Benchmarks are some of the most common used set of benchmarks for HPC systems. Description and download can be found here.One of the problems I came across when trying to compile some of the Fortran codes with gfortran was the following:
randi8.f: In function `randlc': randi8.f:23: data i246m1/X'00003FFFFFFFFFFF'/ Integer at (^) too large
This is due to the size of the random number that is tried to generated and the compiler doesn’t really like. To get it working you can alter the configuration file of the benchmarks and set
RAND = randi8_safe
from
RAND = randi8
randi8:
randi8: 1. Uses integer*8 arithmetic. Compiler must support integer*8 2. Uses the Fortran 90 IAND intrinsic. Compiler must support
randi8_safe:
randi8_safe 1. Uses integer*8 arithmetic 2. Uses the Fortran 90 IBITS intrinsic. 3. Does not make any assumptions about overflow. Should always work correctly if compiler supports integer*8 and IBITS.
To compile effectively the MPI code, you’ll need to alter the configuration file and set the right compilers: ‘mpicc’ for C and ‘f77′ for Fortran. Along with that, you might need to define the mpi, mpl and pthread libraries in the
*MPI_LIB entries. For instance
相关文章推荐
- 面试49
- leetcode之String to Integer (atoi)
- web-maven-tomcat
- oracle学习之路(四) ---------PL/SQL 表,二维数组(TABLE)
- 【OGG】OGG的单向DML复制配置(一)
- 常用的机器学习&数据挖掘知识点
- 页式内存管理
- 黑马程序员——java基础-泛型和集合框架工具类
- IOS键盘类型
- 诸葛管理:怎么才能快速提升执行力
- NSDateFormatter 格式说明
- WPF Theme Editor新建主题报错的解决方法
- integrated dev into product env.
- 【OGG】OGG的单向复制配置-支持DDL(二)
- leetcode 日经贴,Cpp code -Basic Calculator
- 在做产品时,需要谨慎处理哪些问题~
- 20150611_OC之数组NSMutableArray中函数操作
- Android--UI之Spinner
- 人类的智慧是一般不多?爱因斯坦的智商是多少?
- cocos3.3 响应Android的Menu键和Back键