24小时热门版块排行榜    

查看: 1734  |  回复: 2
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zhangmao511

铁虫 (小有名气)

[求助] Ubuntu下安装FFTW3.3.4时候报错,求助!! 已有1人参与

Ubuntu下安装FFTW3.3.4时候,命令是:./configure --prefix=/home/zhangjia/Downloads/fftw --enable-mpi --enable-single --enable-shared=yes --enable-sse --enable-sse2 --enable-avx,报错“configure: error: could not find mpi library for --enable-mpi”。如下:
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ocamlbuild... no
checking for mpicc... no
checking for hcc... no
checking for mpcc... no
checking for mpcc_r... no
checking for mpxlc... no
checking for cmpicc... no
checking for MPI_Init... no
checking for MPI_Init in -lmpi... no
checking for MPI_Init in -lmpich... no
configure: error: could not find mpi library for --enable-mpi

我换成./configure --prefix=/home/zhangjia/Downloads/fftw --enable-mpi,也是报上面 的错。但是我把--enable-mpi去掉,就能通过。请教大虾是什么原因,如何解决呢?谢谢!!
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangmao511

铁虫 (小有名气)

正解,it's OK!!
thanks!!
3楼2014-11-18 21:13:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 3 个回答

sialon2010

铜虫 (职业作家)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
zhangmao511(abinitio代发): 金币+5, 感谢应助 2014-11-18 08:08:57
zhangmao511: 金币+10, ★★★★★最佳答案, 正解!!! 2014-11-18 21:13:14
没有安装mpi,去网上下一个openmpi装上,再用你这种方法安装

[ 发自小木虫客户端 ]
一切凭自己搞定
2楼2014-11-17 22:42:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见