安装ATLAS出错

由本社区发起的开源项目
回复
fucussy
帖子: 1
注册时间: 2012-08-26 5:11

安装ATLAS出错

#1

帖子 fucussy » 2012-08-26 7:59

下载了最新版的atlas-3.10.0和lapack-3.4.1.
基本上参考官网安装说明和国内博客安装:
http://math-atlas.sourceforge.net/atlas ... node6.html
http://blog.sina.com.cn/s/blog_708532ea0100m8nt.html
http://210.75.240.148/blog-449511-577597.html

switch off cpu throttling,安装gfortran包,按第2和第3条链接的提示安装好lapack,其中make.inc改了以下参数
FORTRAN = gfortran
OPTS = -O -msse3 -m64
DRVOPTS = $(OPTS)
NOOPT =
LOADER = gfortran
LOADOPTS =

其中FORTRAN和OPTS的值按照http://math-atlas.sourceforge.net/atlas_install/node47.html的方法得到。

安装lapack的过程中貌似一切正常。接着按照第一条链接的步骤安装atlas:

1. ../configure -b 64 -D c -DPentiumCPS=2400 \ # configure command
--prefix=/home/whaley/lib/atlas \ # install dir
--with-netlib-lapack-tarfile=/home/whaley/Downloads/lapack-3.4.1.tgz

我用64位机器,查了cpuinfo主频是2394.XX,用2400应该没大问题吧,后面地址也没问题。这一步成功了。

但是接着make build就出以下错误:

make[3]:*** [/home/whaley/Downloads/ATLAS/Linux_C2D64SSE3/include/atlas_pthreads.h] Error 2
make[3]: Leaving directory `/home/whaley/Downloads/ATLAS/Linux_C2D64SSE3/src/auxil'
make[2]: *** [IBuildPtlibs0] Error 2
make[3]: Leaving directory `/home/whaley/Downloads/ATLAS/Linux_C2D64SSE3/bin'

然后make check没任何错误,通过了,但接着make ptcheck出现错误:

make[3]:*** [sinvtst_pt.o] Error 1
make[3]: Leaving directory `/home/whaley/Downloads/ATLAS/Linux_C2D64SSE3/bin'
make[2]: *** [ptsanity_test] Error 2
make[2]: Leaving directory `/home/whaley/Downloads/ATLAS/Linux_C2D64SSE3/bin'
make[1]: *** [ptsanity_test] Error 2
make[1]: Leaving directory `/home/whaley/Downloads/ATLAS/Linux_C2D64SSE3'
make: *** [pttest] Error 2

接着make time倒是通过了,make install报了一连串带pt字样的文件不存在,无法copy,安装目录下倒是有了大部分文件,只是lib目录下只有4个.a文件,对比http://math-atlas.sourceforge.net/atlas_install/node48.html里的文件缺了所有.so文件和带pt的.a文件。

请问我这样算是装好了ATLAS吗,是不是并行功能没装成。如果只是没有并行功能,其他部分能用的话还可以接受,我就怕出这个错用不了啊。我是i5的cpu,win7用虚拟机挂的ubuntu 12.04,想问下这个错误怎么解决。
头像
reverland
帖子: 1317
注册时间: 2011-11-26 15:57
系统: windows xp
联系:

Re: 安装ATLAS出错

#2

帖子 reverland » 2012-08-26 8:32

你用虚拟机跑计算……lappack官方源应该有
托在github上的jekyll博客
Always Look on the Bright Side of Life
fushaoshuai
帖子: 3
注册时间: 2013-10-14 11:08
系统: ubuntu 12.04

Re: 安装ATLAS出错

#3

帖子 fushaoshuai » 2013-10-14 11:11

我连你说的这些都没有出现,直接 ../configure 那一步就会出错。不知道大侠的qq多少,我加你。我的是 ~无私无刘其就留儿留~
fushaoshuai
帖子: 3
注册时间: 2013-10-14 11:08
系统: ubuntu 12.04

Re: 安装ATLAS出错

#4

帖子 fushaoshuai » 2013-10-14 11:15

fucussy,
回复