| 2 | 1/1 | 返回列表 |
| 查看: 4229 | 回復(fù): 1 | ||
TS_boy新蟲 (初入文壇)
|
[求助]
安裝openmpi時(shí)出現(xiàn)錯(cuò)誤,如何解決? 已有1人參與
|
|
剛用Centos 7系統(tǒng)第一次安裝時(shí)好好的,就是裝完后編譯自己程序時(shí)提示ld: warning: libifport.so.5, needed by /opt/openmpi/lib/libmpi_usempif08.so, not found (try using -rpath or -rpath-link),問了老師(不是計(jì)算機(jī)專業(yè)),說是我openmpi沒裝對(duì),我卸載后重裝,就出現(xiàn)這個(gè)問題了:/home/lindun/Downloads/openmpi-1.8.4/libtool: line 8979: ifort: command not found libtool: install: error: relink `libmpi_usempif08.la' with the above command before installing it make[3]: *** [install-libLTLIBRARIES] Error 1 make[3]: Leaving directory `/home/lindun/Downloads/openmpi-1.8.4/ompi/mpi/fortran/use-mpi-f08' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/lindun/Downloads/openmpi-1.8.4/ompi/mpi/fortran/use-mpi-f08' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/lindun/Downloads/openmpi-1.8.4/ompi' make: *** [install-recursive] Error 1 請(qǐng)問怎么解決? |
鐵桿木蟲 (著名寫手)
暫時(shí)離開小木蟲
|
第一,編譯完程序ldd之,不一定是openmpi沒有裝對(duì),而是有可能是你沒有export openmpi的庫文件,故在環(huán)境變量中找不到,故有那樣的提示。 第二,/home/lindun/Downloads/openmpi-1.8.4/libtool: line 8979: ifort: command not found,顯然ifort命令沒有找到,檢查環(huán)境中的ifort是否配置好了 |
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|