| 5 | 1/1 | 返回列表 |
| 查看: 863 | 回復(fù): 2 | ||
| 當(dāng)前只顯示滿(mǎn)足指定條件的回帖,點(diǎn)擊這里查看本話(huà)題的所有回帖 | ||
hybren木蟲(chóng) (正式寫(xiě)手)
|
[求助]
深夜求助——vasp5.2加入vtst編譯始終不成功
|
|
|
我在安裝了intel的編譯器和數(shù)學(xué)庫(kù),mpi2ch的電腦上vasp5.2能夠編譯安裝成功,但是加入vtstcode以后編譯始終不成功,望高人指點(diǎn)。 按照網(wǎng)站做法如下: 找到 main.F Find and replace: CALL CHAIN_FORCE(T_INFO%NIONS,DYN%POSION,TOTEN,TIFOR, & LATT_CUR%A,LATT_CUR%B,IO%IU6) with CALL CHAIN_FORCE(T_INFO%NIONS,DYN%POSION,TOTEN,TIFOR, & TSIF,LATT_CUR%A,LATT_CUR%B,IO%IU6) -------------------------------------------------------------------------------- 然后修改makefile Almost the same Makefile as the step 3 "Compile VASP parallel general-k verision by openmpi", except to add between steep.o and chain.o with dimer.o dynmat.o neb.o lanczos.o instanton.o sd.o cg.o qm.o lbfgs.o bfgs.o fire.o opt.o 問(wèn)題一:在vtst的網(wǎng)站給的適合5.3以下用的code版本為vtstcode_v2.04b.tar.gz,其中包含有dynamic.F,可是在makefile中加入dynamic.O以后,并行編譯dynamic.F就報(bào)錯(cuò),如果按照網(wǎng)上很多教程中給出在makefile中不加入dynamic.O在編譯的時(shí)候這一步能過(guò)去,我想問(wèn)如果不加這一個(gè)是否影響cneb的功能? 問(wèn)題二:在上一步不加dynamic.O以后編譯始終會(huì)報(bào)錯(cuò)如下,請(qǐng)問(wèn)各位朋友該如何解決? mpif90 -FR -O2 -c dynconstr.f90 dynconstr.f90(181): error #6404: This name does not have a type, and must have an explicit type. [DIR_APP] OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1 IR_LEN)//'HILLSPOT',STATUS='REPLACE')------------------------------------------------^ dynconstr.f90(181): error #6514: A substring must be of type CHARACTER. [DIR_APP] OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1 IR_LEN)//'HILLSPOT',STATUS='REPLACE')------------------------------------------------^ dynconstr.f90(181): error #6404: This name does not have a type, and must have an explicit type. [DIR_LEN] OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1 IR_LEN)//'HILLSPOT',STATUS='REPLACE')----------------------------------------------------------^ dynconstr.f90(104): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(IO%IU6,FMT='(3X,A22,X,F10.8)') ' ANDERSEN_PROB = ',ANDERSEN_PROB -----------------------------------------------^ dynconstr.f90(116): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(g_io%REPORT,FMT='(3X,A22,X,F10.8)') ' ANDERSEN_PROB = ',ANDERSEN_PROB ----------------------------------------------------^ dynconstr.f90(1489): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(IO%IU6,FMT='(3X,A22,X,F10.8)') ' HILLS_H = ', high -----------------------------------------^ dynconstr.f90(1490): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(IO%IU6,FMT='(3X,A22,X,F10.8)') ' HILLS_W = ' , width -----------------------------------------^ dynconstr.f90(1492): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(IO%IU6,FMT='(3X,A22,X,F10.8)') ' HILLS_STRIDE = ', hills%stride -----------------------------------------^ dynconstr.f90(1497): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(g_io%REPORT,FMT='(3X,A22,X,F10.8)') ' HILLS_H = ', high ----------------------------------------------^ dynconstr.f90(1498): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(g_io%REPORT,FMT='(3X,A22,X,F10.8)') ' HILLS_W = ' , width ----------------------------------------------^ dynconstr.f90(1500): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(g_io%REPORT,FMT='(3X,A22,X,F10.8)') ' HILLS_STRIDE = ', hills%stride ----------------------------------------------^ dynconstr.f90(1507): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(IO%IU6,FMT='(3X,A22,X,F10.8)') 'HILLS_ANDERSEN_PROB = ', hills%andersen_prob -------------------------------------------^ dynconstr.f90(1537): remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'. write(g_io%REPORT,FMT='(3X,A22,X,F10.8)') 'HILLS_ANDERSEN_PROB = ', hills%andersen_prob ------------------------------------------------^ dynconstr.f90(2177): error #6514: A substring must be of type CHARACTER. [DIR_APP] OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1 IR_LEN)//'HILLSPOT',STATUS='UNKNOWN',POSITION='APPEND')------------------------------------------^ compilation aborted for dynconstr.f90 (code 1) make: *** [dynconstr.o] 錯(cuò)誤 1 [ Last edited by hybren on 2013-10-8 at 09:57 ] |
木蟲(chóng) (正式寫(xiě)手)
木蟲(chóng) (正式寫(xiě)手)
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 各位老師好,我的一志愿為北京科技大學(xué)085601材料專(zhuān)碩 +7 | Koxui 2026-03-28 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 086000生物與醫(yī)藥調(diào)劑 +3 | Feisty。 2026-03-28 | 7/350 |
|
|
[考研] 0703化學(xué)調(diào)劑,求導(dǎo)師收 +9 | 天天好運(yùn)來(lái)上岸?/a> 2026-03-24 | 10/500 |
|
|
[考研] 311(085601)求調(diào)劑 +4 | liziyeyeye 2026-03-28 | 4/200 |
|
|
[考研] 312,生物學(xué)求調(diào)劑 +3 | 小譯同學(xué)abc 2026-03-28 | 3/150 |
|
|
[考研] 0703化學(xué)求調(diào)劑 +9 | 奶油草莓. 2026-03-22 | 10/500 |
|
|
[考研] 070300求調(diào)劑306分 +4 | 26要上岸 2026-03-27 | 4/200 |
|
|
[考研] 085600 286分 材料求調(diào)劑 +7 | 麻辣魷魚(yú) 2026-03-27 | 8/400 |
|
|
[考研] 339求調(diào)劑,想調(diào)回江蘇 +6 | 烤麥芽 2026-03-27 | 8/400 |
|
|
[考研] 292求調(diào)劑 +14 | 鵝鵝鵝額額額額?/a> 2026-03-25 | 15/750 |
|
|
[考研] 0703化學(xué)一志愿南京師范大學(xué)303求調(diào)劑 +3 | zzffylgg 2026-03-24 | 3/150 |
|
|
[考研] 351求調(diào)劑 +4 | 麥克阿磊 2026-03-24 | 4/200 |
|
|
[考研] 求調(diào)劑 一志愿 本科 北科大 化學(xué) 343 +6 | 13831862839 2026-03-24 | 7/350 |
|
|
[考研] 294分080500材料科學(xué)與工程求調(diào)劑 +4 | 柳溪邊 2026-03-26 | 4/200 |
|
|
[考研] 0703化學(xué)求調(diào)劑 +3 | 丹青奶蓋 2026-03-26 | 5/250 |
|
|
[考研] 中國(guó)科學(xué)院深圳先進(jìn)技術(shù)研究院-光纖傳感課題組招生-中國(guó)科學(xué)院大學(xué)、深圳理工大學(xué)聯(lián)培 +5 | YangTyu1 2026-03-26 | 5/250 |
|
|
[考研] 085601求調(diào)劑總分293英一數(shù)二 +4 | 鋼鐵大炮 2026-03-24 | 4/200 |
|
|
[考研] 材料科學(xué)與工程 317求調(diào)劑 +4 | JKSOIID 2026-03-26 | 4/200 |
|
|
[考研] 化學(xué)調(diào)劑一志愿上海交通大學(xué)336分-本科上海211 +4 | 小魚(yú)愛(ài)有機(jī) 2026-03-25 | 4/200 |
|
|
[考研] 293求調(diào)劑 +7 | 加一一九 2026-03-24 | 7/350 |
|