| 3 | 1/1 | 返回列表 |
| 查看: 859 | 回復(fù): 2 | ||
hybren木蟲 (正式寫手)
|
[求助]
深夜求助——vasp5.2加入vtst編譯始終不成功
|
|
我在安裝了intel的編譯器和數(shù)學(xué)庫,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ā)表 | |
|---|---|---|---|---|
|
[考研] 296求調(diào)劑 +3 | www_q 2026-03-18 | 6/300 |
|
|---|---|---|---|---|
|
[考研] 材料專碩274一志愿陜西師范大學(xué)求調(diào)劑 +8 | 薛云鵬 2026-03-13 | 8/400 |
|
|
[考研] 286求調(diào)劑 +6 | lemonzzn 2026-03-16 | 10/500 |
|
|
[考研] 287求調(diào)劑 +3 | 晨昏線與星海 2026-03-19 | 4/200 |
|
|
[考研] 085601專碩,總分342求調(diào)劑,地區(qū)不限 +5 | share_joy 2026-03-16 | 5/250 |
|
|
[考研] 311求調(diào)劑 +6 | 26研0 2026-03-15 | 6/300 |
|
|
[考研] 311求調(diào)劑 +11 | 冬十三 2026-03-15 | 12/600 |
|
|
[考研] 材料專碩306英一數(shù)二 +10 | z1z2z3879 2026-03-16 | 13/650 |
|
|
[考研] 0703化學(xué)調(diào)劑 +3 | 妮妮ninicgb 2026-03-17 | 3/150 |
|
|
[考研] 工科材料085601 279求調(diào)劑 +6 | 困于星晨 2026-03-17 | 6/300 |
|
|
[考研] 278求調(diào)劑 +5 | 煙火先于春 2026-03-17 | 5/250 |
|
|
[考研] 334求調(diào)劑 +3 | 志存高遠意在機?/a> 2026-03-16 | 3/150 |
|
|
[基金申請] 被我言中:新模板不強調(diào)格式了,假專家開始管格式了 +4 | beefly 2026-03-14 | 4/200 |
|
|
[考博] 26申博 +4 | 八6八68 2026-03-16 | 4/200 |
|
|
[考研] 材料工程專碩274一志愿211求調(diào)劑 +6 | 薛云鵬 2026-03-15 | 6/300 |
|
|
[考研] 333求調(diào)劑 +3 | 文思客 2026-03-16 | 7/350 |
|
|
[基金申請]
今年的國基金是打分制嗎?
50+3
|
zhanghaozhu 2026-03-14 | 3/150 |
|
|
[考研] 304求調(diào)劑 +4 | ahbd 2026-03-14 | 4/200 |
|
|
[考研] 材料與化工 323 英一+數(shù)二+物化,一志愿:哈工大 本人本科雙一流 +4 | 自由的_飛翔 2026-03-13 | 5/250 |
|
|
[考研] 297一志愿上交085600求調(diào)劑 +5 | 指尖八千里 2026-03-14 | 5/250 |
|