您的位置:首页 > 其它

ubutu安装mpich3遇到的问题

2015-10-26 22:56 405 查看
安装mpich3的过程中出现报错

( cd ./src/binding/fortran/mpif_h && ./buildiface )

Cannot open fproto.h.new

Makefile:41434: recipe for target 'src/binding/fortran/mpi_h/buildiface-stamp' failed

过一会儿好了,换用做了sudo make好了

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /usr/local/mpich-3.1.4/confdb/missing aclocal-1.15 -I confdb

/usr/local/mpich-3.1.4/confdb/missing: 行 81: aclocal-1.15: 未找到命令

WARNING: 'aclocal-1.15' is missing on your system.

You should only need it if you modified 'acinclude.m4' or

'configure.ac' or m4 files included by 'configure.ac'.

The 'aclocal' program is part of the GNU Automake package:

<http://www.gnu.org/software/automake>

It also requires GNU Autoconf, GNU m4 and Perl in order to run:

<http://www.gnu.org/software/autoconf>

<http://www.gnu.org/software/m4/>

<http://www.perl.org/>

Makefile:10175: recipe for target 'aclocal.m4' failed

make: *** [aclocal.m4] Error 127

解决方法参考:
http://blog.csdn.net/arackethis/article/details/42222905
失败:

输入'aclocal-1.15':

未找到 'aclocal-1.15' 命令,您要输入的是否是:

命令 'aclocal-1.10' 来自于包 'automake1.10' (universe)

命令 'aclocal-1.14' 来自于包 'automake' (main)

命令 'aclocal-1.11' 来自于包 'automake1.11' (main)

于是尝试安装automake1.15:从官网下载 按照文件夹中的INSTALL安装即可

再编译成功.

(插入一段,安装成功后输入

$ aclocal-1.15

aclocal-1.15: error: 'configure.ac' is required

好像跟上述链接中说的原理有关,有空具体了解下)

继续make,这个错误没出现,继续往下进行了.

( cd . && ./maint/extractcvars --dirs="`cat ./maint/cvardirs`")

Error: open directory /tmp/axpzlRB5Gz/mpich-3.1.4/maint/../src/mpi -- 没有那个文件或目录

Makefile:41408: recipe for target 'src/util/cvar/mpich_cvars.c' failed

修改./maint/extractcvars和./maint/cvardirs`中所有的/tmp/axpzlRB5Gz/mpich-3.1.4/maint

,更改为/usr/local/mpich-3.1.4/maint
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: