| 查看: 2310 | 回復: 12 | |||
miaozhang木蟲 (小有名氣)
|
[交流]
【求助】求助:安裝abinit-6.2.3出現(xiàn)錯誤 已有2人參與
|
|
第一次接觸abinit,以前也沒接觸過,弱弱問下面這個問題是怎么回事? /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 見有人出現(xiàn)過相同問題,但沒看懂到底是什么原因,怎么解決啊? 還有在并行機上安裝abinit需要設置什么東西嗎? 謝謝!! |
至尊木蟲 (職業(yè)作家)
|
問題出在,你在configure這一步時,沒有指定安裝的目錄(也就是沒有設置--prefix的賦值),那運行make install這一步的時候,就默認得編譯得到的abinit可執(zhí)行模塊都要拷貝到/usr/local/bin目錄下,但是,這個目錄一般是只有root權限的用戶可以才可讀寫文件。 解決的辦法:重新./configure ---prefix="指定一個你當前用戶帳號可以讀寫的目錄" ......... 其他的與你以前的設置和做的步驟一樣。再重新編譯,安裝。 |
木蟲 (小有名氣)
|
木蟲 (小有名氣)
至尊木蟲 (職業(yè)作家)
榮譽版主 (著名寫手)

木蟲 (小有名氣)
|
IFORT, MPI,我都裝上了,在.BASHRC中指認了路徑: # .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)了以下錯誤, 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的編譯器出問題了? 謝謝! |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 070300化學319求調劑 +4 | 錦鯉0909 2026-03-17 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 308求調劑 +4 | 是Lupa啊 2026-03-16 | 4/200 |
|
|
[考研] 274求調劑0856材料化工 +13 | z2839474511 2026-03-11 | 14/700 |
|
|
[考研] 材料與化工專碩調劑 +5 | heming3743 2026-03-16 | 5/250 |
|
|
[考研] 藥學383 求調劑 +3 | 藥學chy 2026-03-15 | 4/200 |
|
|
[文學芳草園] 伙伴們,祝我生日快樂吧 +17 | myrtle 2026-03-10 | 26/1300 |
|
|
[考研] 283求調劑 +10 | 小樓。 2026-03-12 | 14/700 |
|
|
[考研] 294求調劑 +3 | Zys010410@ 2026-03-13 | 4/200 |
|
|
[考研] 331求調劑(0703有機化學 +5 | ZY-05 2026-03-13 | 6/300 |
|
|
[考研] 求材料調劑 085600英一數(shù)二總分302 前三科235 精通機器學習 一志愿哈工大 +4 | 林yaxin 2026-03-12 | 4/200 |
|
|
[考研] [0860]321分求調劑,ab區(qū)皆可 +4 | 寶貴熱 2026-03-13 | 4/200 |
|
|
[考研] 290求調劑 +9 | ADT 2026-03-11 | 9/450 |
|
|
[考研] 四川大學085601材料工程專碩 初試294求調劑 +4 | 祝我們好在冬天 2026-03-11 | 4/200 |
|
|
[考研] 工科,求調劑 +3 | 我887 2026-03-11 | 3/150 |
|
|
[考研] (081700)化學工程與技術-298分求調劑 +12 | 11啦啦啦 2026-03-11 | 35/1750 |
|
|
[考研] 281求調劑 +9 | Koxui 2026-03-12 | 11/550 |
|
|
[考研] 26調劑/材料科學與工程/總分295/求收留 +9 | 2026調劑俠 2026-03-12 | 9/450 |
|
|
[考研] 考研調劑 +4 | 芬達46 2026-03-12 | 4/200 |
|
|
[考研] 070303一志愿西北大學學碩310找調劑 +3 | d如愿上岸 2026-03-13 | 3/150 |
|
|
[考研] 321求調劑(食品/專碩) +3 | xc321 2026-03-12 | 6/300 |
|