ubuntu10.10下基于ifort来测试blas库

时间:2016-05-02 04:45:15
【文件属性】:
文件名称:ubuntu10.10下基于ifort来测试blas库
文件大小:350KB
文件格式:GZ
更新时间:2016-05-02 04:45:15
BLAS test ifort makefile 目的:测试BLAS库中的SGEMM函数是否可用。 测试环境:GFORTRAN/ubuntu10.10 先行条件: 1)安装了ifort编译器 2)下载BLAS库的源代码 3)编译源代码,生成libblas.a文件 步骤: 1)设定makefile文件中的BLASDIR变量,及blas位置 2)执行make 3)执行sh run.sh,终端显示以下信息: ------------------------------------------------------------------ a= 1.000000 1.000000 2.000000 1.000000 b= 2.000000 1.000000 3.000000 1.000000 c= 0.0000000E+00 0.0000000E+00 0.0000000E+00 0.0000000E+00 solve= 4.000000 3.000000 5.000000 4.000000 ------------------------------------------------------------------ 则测试通过。 卸载: 1)执行make clean
【文件预览】:
blas_test_ifort
----BLAS()
--------libblas.a(902KB)
----sgemm_blas_test.f90(264B)
----makefile(191B)
----run.sh(34B)
----readme(825B)

网友评论