ubutu安裝mpich3遇到的問題

2021-07-06 04:50:24 字數 1606 閱讀 6465

安裝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="$:" && 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:

it also requires gnu autoconf, gnu m4 and perl in order to run:

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

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

解決方法參考:

失敗:輸入'aclocal-1.15':

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

命令 'aclocal-1.10' 來自於包 'automake1.10' (universe)

命令 'aclocal-1.14' 來自於包 'automake' (main)

命令 'aclocal-1.11' 來自於包 'automake1.11' (main)

再編譯成功.

(插入一段,安裝成功後輸入

$ 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

fedora下安裝MPICH3過程

2.解壓到home xx mpi下 3.安裝 在root許可權下安裝,進入root命令是su cd home xx mpi configure prefix opt mpi disable f77 安裝到 opt下面 安裝前需要有c和c 以及fortan到編譯器,如果不需要則在disable後面註明...

MPICH3環境配置

分類 分布式計算 2013 06 20 22 56 4661人閱讀收藏 舉報 mpimpich 1.安裝mpich3 2.配置環境變數 主要是修改path,為path新增mpi的bin目錄 3.配置多伺服器間無密碼訪問 192.168.5.123 node1 192.168.5.124 node2 ...

安裝vue cli3遇到的問題

在nodejs目錄下輸入命令npm install g vue cli 報錯如下 npm err code elifecycle npm err errno 1 npm err protobufjs 6.8.8 postinstall node scripts postinstall npm err...