Install CBLAS library on windows

本文档详细介绍了如何在Windows上安装CBLAS库,包括选择ATLAS项目,下载源代码,使用Cygwin编译项目,创建MinGW32.dat文件,设置构建和输出目录,执行编译、测试、性能基准测试和安装步骤,以及将生成的.a库转换为.lib/.dll库的过程。还提供了脚本修改和头文件来源的提示。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Things quickly turn out that the BLAS(Basic Linear Algebra Subprograms) library is what I need, not only the LAPACK. In the LAPACKE user guide, which can be accessed from: http://netlib.org/lapack/lapacke.html ,there are two examples named "Calling CGEQRF and the CBLAS". I cann't get them correctly complied because I don't have the CBLAS(the C interface to BLAS) library installed.


I have searched accross the web for methods to install CBLAS on windows platform, and found that ATLAS(Automatically Tuned Linear Algebra Software) project is the best choice for me.


The latest version of ATLAS is 3.10.0, and can be downloaded from: http://sourceforge.net/projects/math-atlas/files/ .


I have spended serval days to get ATLAS work properly to generate the CBLAS library that can be directly called in visual studio...


Let's get to the point directly, the tar package downloaded just contains source files and bundle of makefiles, you have compile the project manually to get the tuned CBLAS libs.


To compile the project, first of all, you need to have Cygwin installed. The process is quite simple, download the Setup.exe fromhttp://cygwin.com/setup.exe ,during the installation phase, remember to choose below package:gcc, mingw, make etc..


After unzip the ATLAS package, you will get a folder named./doc. You can find the most important guide there: atlas_install.pdf . The installation guide, together with other documents are some kind of confusing. To put simply, the useful informations

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值