| 3 | 1/1 | 返回列表 |
| 查看: 860 | 回復: 2 | ||
hybren木蟲 (正式寫手)
|
[求助]
深夜求助——vasp5.2加入vtst編譯始終不成功
|
|
我在安裝了intel的編譯器和數(shù)學庫,mpi2ch的電腦上vasp5.2能夠編譯安裝成功,但是加入vtstcode以后編譯始終不成功,望高人指點。 按照網(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 問題一:在vtst的網(wǎng)站給的適合5.3以下用的code版本為vtstcode_v2.04b.tar.gz,其中包含有dynamic.F,可是在makefile中加入dynamic.O以后,并行編譯dynamic.F就報錯,如果按照網(wǎng)上很多教程中給出在makefile中不加入dynamic.O在編譯的時候這一步能過去,我想問如果不加這一個是否影響cneb的功能? 問題二:在上一步不加dynamic.O以后編譯始終會報錯如下,請問各位朋友該如何解決? 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] 錯誤 1 [ Last edited by hybren on 2013-10-8 at 09:57 ] |
木蟲 (正式寫手)
木蟲 (正式寫手)
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[論文投稿]
申請回稿延期一個月,編輯同意了。但系統(tǒng)上的時間沒變,給編輯又寫郵件了,沒回復
10+3
|
wangf9518 2026-03-17 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 307求調(diào)劑 +9 | 冷笙123 2026-03-17 | 9/450 |
|
|
[考研] 288求調(diào)劑 +15 | 于海海海海 2026-03-19 | 15/750 |
|
|
[考研] 一志愿武漢理工材料工程專碩調(diào)劑 +5 | Doleres 2026-03-19 | 5/250 |
|
|
[考博] 申博26年 +3 | 八6八68 2026-03-19 | 3/150 |
|
|
[考博] 東華理工大學化材專業(yè)26屆碩士博士申請 +8 | zlingli 2026-03-13 | 8/400 |
|
|
[考研] 本人考085602 化學工程 專碩 +17 | 不知道叫什么! 2026-03-15 | 19/950 |
|
|
[考研] 一志愿 西北大學 ,070300化學學碩,總分287,雙非一本,求調(diào)劑。 +3 | 晨昏線與星海 2026-03-19 | 3/150 |
|
|
[考研] 287求調(diào)劑 +3 | 晨昏線與星海 2026-03-19 | 4/200 |
|
|
[考研] 328求調(diào)劑,英語六級551,有科研經(jīng)歷 +3 | 生物工程調(diào)劑 2026-03-17 | 7/350 |
|
|
[考研] 【同濟軟件】軟件(085405)考研求調(diào)劑 +3 | 2026eternal 2026-03-18 | 3/150 |
|
|
[考研] 299求調(diào)劑 +5 | △小透明* 2026-03-17 | 5/250 |
|
|
[考研] 278求調(diào)劑 +5 | 煙火先于春 2026-03-17 | 5/250 |
|
|
[考博] 26博士申請 +3 | 1042136743 2026-03-17 | 3/150 |
|
|
[考研] 一志愿南京大學,080500材料科學與工程,調(diào)劑 +4 | Jy? 2026-03-16 | 4/200 |
|
|
[考研] [導師推薦]西南科技大學國防/材料導師推薦 +3 | 尖角小荷 2026-03-16 | 6/300 |
|
|
[考研] 070303 總分349求調(diào)劑 +3 | LJY9966 2026-03-15 | 5/250 |
|
|
[考研] 中科大材料專碩319求調(diào)劑 +3 | 孟鑫材料 2026-03-13 | 3/150 |
|
|
[考研] 330求調(diào)劑 +3 | ?醬給調(diào)劑跪了 2026-03-13 | 3/150 |
|
|
[考研] 311求調(diào)劑 +3 | 冬十三 2026-03-13 | 3/150 |
|