| 查看: 816 | 回复: 2 | |||
hybren木虫 (正式写手)
|
[求助]
深夜求助——vasp5.2加入vtst编译始终不成功
|
|
我在安装了intel的编译器和数学库,mpi2ch的电脑上vasp5.2能够编译安装成功,但是加入vtstcode以后编译始终不成功,望高人指点。 按照网站做法如下: 找到 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的网站给的适合5.3以下用的code版本为vtstcode_v2.04b.tar.gz,其中包含有dynamic.F,可是在makefile中加入dynamic.O以后,并行编译dynamic.F就报错,如果按照网上很多教程中给出在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 ] |
» 猜你喜欢
导师想让我从独立一作变成了共一第一
已经有9人回复
博士读完未来一定会好吗
已经有23人回复
到新单位后,换了新的研究方向,没有团队,持续积累2区以上论文,能申请到面上吗
已经有11人回复
读博
已经有4人回复
JMPT 期刊投稿流程
已经有4人回复
心脉受损
已经有5人回复
Springer期刊投稿求助
已经有4人回复
小论文投稿
已经有3人回复
申请2026年博士
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
vasp5.2如何计算DOS和band structure?
已经有10人回复
【已解决】VASP内存占用疯涨……看来得重新编译了……
已经有14人回复
vasp 计算 dimer的问题
已经有4人回复
VASP5.2算出的静电势很低
已经有7人回复
VASP5.2 直接计算弹性常数
已经有52人回复
求助vasp编译好后无法运行问题??
已经有24人回复
编译vasp.5.lib出错
已经有7人回复
使用PGI编译VASP中无法使用长数组
已经有5人回复
vasp5.2光学计算中怎么加入scissor operation?
已经有13人回复
vasp5.2 openmpi+intel+mkl编译,能量正值问题
已经有7人回复
vasp5.2 并行编译如何修改makefile
已经有5人回复
【其他】VASP运行出现这样的错误提示,这是什么原因呢
已经有7人回复
【求助成功】vasp5.2并行安装不上
已经有18人回复
【分享】vasp2cif.f90 for vasp5.2
已经有4人回复
【求助】vasp 5.2中用HSE06计算不能进入主循环
已经有7人回复
【求助成功】单机编译并行VASP,出现语法错误
已经有6人回复
【求助】vasp5.2用B3LYP计算
已经有21人回复
【求助】vasp编译 OFLAG
已经有7人回复
【求助】vasp5.2异常退出的问题
已经有16人回复
hybren
木虫 (正式写手)
- 应助: 7 (幼儿园)
- 金币: 3210.8
- 红花: 4
- 帖子: 643
- 在线: 275.1小时
- 虫号: 257551
- 注册: 2006-06-04
- 性别: GG
- 专业: 理论和计算化学
2楼2013-10-08 09:59:23
hybren
木虫 (正式写手)
- 应助: 7 (幼儿园)
- 金币: 3210.8
- 红花: 4
- 帖子: 643
- 在线: 275.1小时
- 虫号: 257551
- 注册: 2006-06-04
- 性别: GG
- 专业: 理论和计算化学
3楼2013-10-08 11:09:44













IR_LEN)//'HILLSPOT',STATUS='REPLACE')
回复此楼