ubutu安裝mpich3遇到的問題

安裝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




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章