| 查看: 2308 | 回復(fù): 12 | |||
miaozhang木蟲 (小有名氣)
|
[交流]
【求助】求助:安裝abinit-6.2.3出現(xiàn)錯(cuò)誤 已有2人參與
|
|
第一次接觸abinit,以前也沒(méi)接觸過(guò),弱弱問(wèn)下面這個(gè)問(wèn)題是怎么回事? /usr/bin/install -c abinetcdf abinit aim anaddb band2eps conducti cut3d fftprof lwf mrgddb mrggkk mrgscr newsp optic ujdet macroave '/usr/local/bin' /usr/bin/install: cannot create regular file `/usr/local/bin/abinetcdf': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/abinit': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/aim': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/anaddb': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/band2eps': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/conducti': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/cut3d': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/fftprof': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/lwf': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/mrgddb': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/mrggkk': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/mrgscr': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/newsp': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/optic': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/ujdet': Permission denied /usr/bin/install: cannot create regular file `/usr/local/bin/macroave': Permission denied make[3]: *** [install-binPROGRAMS] Error 1 make[3]: Leaving directory `/home/ygzhang/abinit-6.2.3/src/98_main' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/ygzhang/abinit-6.2.3/src/98_main' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/ygzhang/abinit-6.2.3/src' make: *** [install-recursive] Error 1 見(jiàn)有人出現(xiàn)過(guò)相同問(wèn)題,但沒(méi)看懂到底是什么原因,怎么解決? 還有在并行機(jī)上安裝abinit需要設(shè)置什么東西嗎? 謝謝。! |
至尊木蟲 (職業(yè)作家)
|
問(wèn)題出在,你在configure這一步時(shí),沒(méi)有指定安裝的目錄(也就是沒(méi)有設(shè)置--prefix的賦值),那運(yùn)行make install這一步的時(shí)候,就默認(rèn)得編譯得到的abinit可執(zhí)行模塊都要拷貝到/usr/local/bin目錄下,但是,這個(gè)目錄一般是只有root權(quán)限的用戶可以才可讀寫文件。 解決的辦法:重新./configure ---prefix="指定一個(gè)你當(dāng)前用戶帳號(hào)可以讀寫的目錄" ......... 其他的與你以前的設(shè)置和做的步驟一樣。再重新編譯,安裝。 |
木蟲 (小有名氣)
|
木蟲 (小有名氣)
至尊木蟲 (職業(yè)作家)
新蟲 (小有名氣)
榮譽(yù)版主 (著名寫手)

木蟲 (小有名氣)
|
IFORT, MPI,我都裝上了,在.BASHRC中指認(rèn)了路徑: # .bashrc # User specific aliases and functions export PATH=/home/ygzhang/mpich2/bin:$PATH export PATH=/home/ygzhang/abinit/bin:$PATH # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi 然后./configure --prefix=/home/abinit FC=mpif90 --enable-mpi=yes 出現(xiàn)了以下錯(cuò)誤, checking for mpif90... /opt/intel/impi/3.1/bin64/mpif90 checking whether we are using the GNU Fortran compiler... no checking whether mpif90 accepts -g... no checking which type of Fortran compiler we have... generic 0.0 checking fortran 90 modules extension... configure: setting Fortran module extension to ".mod" checking for Fortran flag to compile .F90 files... unknown configure: WARNING: Fortran file extension could not be changed configure: WARNING: some advanced Fortran tests may fail configure: determining Fortran module case configure: error: in `/home/ygzhang/abinit-6.2.3': configure: error: unable to compile a simple Fortran module 不知怎么解決,是f90的編譯器出問(wèn)題了? 謝謝! |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 一志愿天津大學(xué)化學(xué)工藝專業(yè)(081702)315分求調(diào)劑 +4 | yangfz 2026-03-17 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 268求調(diào)劑 +6 | 好運(yùn)連綿不絕 2026-03-12 | 7/350 |
|
|
[考研] 290求調(diào)劑 +6 | 孔志浩 2026-03-12 | 11/550 |
|
|
[考研] 268求調(diào)劑 +7 | 一定有學(xué)上- 2026-03-14 | 8/400 |
|
|
[考研] 一志愿南京大學(xué),080500材料科學(xué)與工程,調(diào)劑 +4 | Jy? 2026-03-16 | 4/200 |
|
|
[考研] 341求調(diào)劑 +5 | 搗蛋豬豬 2026-03-11 | 5/250 |
|
|
[考研] [導(dǎo)師推薦]西南科技大學(xué)國(guó)防/材料導(dǎo)師推薦 +3 | 尖角小荷 2026-03-16 | 6/300 |
|
|
[考研] 化學(xué)調(diào)劑0703 +8 | 啊我我的 2026-03-11 | 8/400 |
|
|
[考研] 311求調(diào)劑 +5 | 26研0 2026-03-15 | 5/250 |
|
|
[考研] 283求調(diào)劑 +10 | 小樓。 2026-03-12 | 14/700 |
|
|
[考研] 285求調(diào)劑 +6 | ytter 2026-03-12 | 6/300 |
|
|
[考研] 本科南京大學(xué)一志愿川大藥學(xué)327 +3 | 麥田耕者 2026-03-14 | 3/150 |
|
|
[考研] 332求調(diào)劑 +3 | zjy101327 2026-03-11 | 6/300 |
|
|
[考研] 337一志愿華南理工0805材料求調(diào)劑 +7 | mysdl 2026-03-11 | 9/450 |
|
|
[考研] 308求調(diào)劑 +5 | 是Lupa啊 2026-03-11 | 5/250 |
|
|
[考研] 304求調(diào)劑 +7 | 7712b 2026-03-13 | 7/350 |
|
|
[考研] 329求調(diào)劑 +3 | miaodesi 2026-03-12 | 4/200 |
|
|
[考研] 考研調(diào)劑 +4 | 芬達(dá)46 2026-03-12 | 4/200 |
|
|
[考研] 290求調(diào)劑 +3 | ADT 2026-03-13 | 3/150 |
|
|
[考研] 270求調(diào)劑 085600材料與化工專碩 +3 | YXCT 2026-03-11 | 3/150 |
|