版块导航
正在加载中...
客户端APP下载
论文辅导
申博辅导
登录
注册
帖子
帖子
用户
本版
应《网络安全法》要求,自2017年10月1日起,未进行实名认证将不得使用互联网跟帖服务。为保障您的帐号能够正常使用,请尽快对帐号进行手机号验证,感谢您的理解与支持!
24小时热门版块排行榜
>
论坛更新日志
(3528)
>
虫友互识
(363)
>
导师招生
(244)
>
文献求助
(165)
>
考研
(122)
>
公派出国
(76)
>
硕博家园
(63)
>
招聘信息布告栏
(56)
>
考博
(52)
>
博后之家
(47)
>
论文投稿
(43)
>
休闲灌水
(38)
>
基金申请
(24)
>
教师之家
(24)
>
绿色求助(高悬赏)
(20)
>
无机非金属
(19)
小木虫论坛-学术科研互动平台
»
计算模拟区
»
第一性原理
»
Vasp&MedeA
»
VASP5.2编译依然不过,同志们,会诊一下
南方科技大学公共卫生及应急管理学院2025级博士研究生招生报考通知
3
1/1
返回列表
查看: 594 | 回复: 2
只看楼主
@他人
存档
新回复提醒
(忽略)
收藏
在APP中查看
hakuna
木虫
(知名作家)
1ST强帖: 3
应助: 82
(初中生)
金币: 8735.9
散金: 158
红花: 126
帖子: 5599
在线: 1367.2小时
虫号: 167622
注册: 2006-01-15
专业: 考古理论
[交流]
VASP5.2编译依然不过,同志们,会诊一下
已有1人参与
RHEL 6.4
parallel studio xe 2013 update2+openmpi-1.6.5
并行编译到dynconstr.f90时,出现错误后退出。感觉不应该是VASP代码本身问题,还是makefile可能存在问题,
我将makefile附在后面,大家会诊一下,看看哪里的问题,先谢过了
CODE:
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:DIR_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:DIR_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:DIR_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(2181): error #6514: A substring must be of type CHARACTER. [DIR_APP]
OPEN(UNIT=g_io%STRUCTINPUT,FILE=DIR_APP(1:DIR_LEN)//'HILLSPOT',STATUS='UNKNOWN',POSITION='APPEND')
------------------------------------------^
compilation aborted for dynconstr.f90 (code 1)
make: *** [dynconstr.o] 错误 1[code]
*************************************
以下为MAKEFIE:
[list]
[*]null
[/list]
[code]
.SUFFIXES: .inc .f .f90 .F
SUFFIX=.f90
CPP_ = ./preprocess <$*.F | /usr/bin/cpp -P -C -traditional >$*$(SUFFIX)
FFLAGS = -free -assume byterecl -heap-arrays 64
OFLAG=-O2 -xHost
OFLAG_HIGH = $(OFLAG)
OBJ_HIGH =
OBJ_NOOPT =
DEBUG = -free -O0
INLINE = $(OFLAG)
LINK =
FC=mpif90
FCL=mpif90 -mkl
CPP = $(CPP_) -DMPI -DHOST=\"LinuxIFC\" -DIFC -DPROFILING \
-DCACHE_SIZE=4000 -DPGF90 -Davoidalloc -DNGZhalf \
-DMPI_BLOCK=8000
#-DRPROMU_DGEMV -DRACCMU_DGEMV
#-----------------------------------------------------------------------
# libraries for mpi
#-----------------------------------------------------------------------
LIB = -L../vasp.5.lib -ldmy \
../vasp.5.lib/linpack_double.o $(LAPACK) \
# $(SCA) $(BLAS)
# alternatively: fftw.3.1.X is slighly faster and should be used if available
FFT3D = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o /opt/intel/composer_xe_2013.2.146/mkl/interfaces/fftw3xf/libfftw3xf_intel.a
#-----------------------------------------------------------------------
# general rules and compile lines
#-----------------------------------------------------------------------
BASIC= symmetry.o symlib.o lattlib.o random.o
SOURCE= base.o mpi.o smart_allocate.o xml.o \
constant.o jacobi.o main_mpi.o scala.o \
asa.o lattice.o poscar.o ini.o mgrid.o xclib.o vdw_nl.o xclib_grad.o \
radial.o pseudo.o gridq.o ebs.o \
mkpoints.o wave.o wave_mpi.o wave_high.o \
$(BASIC) nonl.o nonlr.o nonl_high.o dfast.o choleski2.o \
mix.o hamil.o xcgrad.o xcspin.o potex1.o potex2.o \
constrmag.o cl_shift.o relativistic.o LDApU.o \
paw_base.o metagga.o egrad.o pawsym.o pawfock.o pawlhf.o rhfatm.o paw.o \
mkpoints_full.o charge.o Lebedev-Laikov.o stockholder.o dipol.o pot.o \
dos.o elf.o tet.o tetweight.o hamil_rot.o \
steep.o bfgs.o dynmat.o instanton.o lbfgs.o sd.o cg.o dimer.o bbm.o \
fire.o lanczos.o neb.o qm.o opt.o chain.o dyna.o sphpro.o us.o core_rel.o \
aedens.o wavpre.o wavpre_noio.o broyden.o \
dynbr.o rmm-diis.o reader.o writer.o tutor.o xml_writer.o \
brent.o stufak.o fileio.o opergrid.o stepver.o \
chgloc.o fast_aug.o fock.o mkpoints_change.o sym_grad.o \
mymath.o internals.o dynconstr.o dimer_heyden.o dvvtrajectory.o vdwforcefield.o \
hamil_high.o nmr.o pead.o mlwf.o subrot.o subrot_scf.o \
force.o pwlhf.o gw_model.o optreal.o davidson.o david_inner.o \
electron.o rot.o electron_all.o shm.o pardens.o paircorrection.o \
optics.o constr_cell_relax.o stm.o finite_diff.o elpol.o \
hamil_lr.o rmm-diis_lr.o subrot_cluster.o subrot_lr.o \
lr_helper.o hamil_lrf.o elinear_response.o ilinear_response.o \
linear_optics.o linear_response.o \
setlocalpp.o wannier.o electron_OEP.o electron_lhf.o twoelectron4o.o \
ratpol.o screened_2e.o wave_cacher.o chi_base.o wpot.o local_field.o \
ump2.o bse_te.o bse.o acfdt.o chi.o sydmat.o dmft.o \
rmm-diis_mlr.o linear_response_NMR.o
vasp: $(SOURCE) $(FFT3D) $(INC) main.o
rm -f vasp
$(FCL) -o vasp main.o $(SOURCE) $(FFT3D) $(LIB) $(LINK)
makeparam: $(SOURCE) $(FFT3D) makeparam.o main.F $(INC)
$(FCL) -o makeparam $(LINK) makeparam.o $(SOURCE) $(FFT3D) $(LIB)
zgemmtest: zgemmtest.o base.o random.o $(INC)
$(FCL) -o zgemmtest $(LINK) zgemmtest.o random.o base.o $(LIB)
dgemmtest: dgemmtest.o base.o random.o $(INC)
$(FCL) -o dgemmtest $(LINK) dgemmtest.o random.o base.o $(LIB)
ffttest: base.o smart_allocate.o mpi.o mgrid.o random.o ffttest.o $(FFT3D) $(INC)
$(FCL) -o ffttest $(LINK) ffttest.o mpi.o mgrid.o random.o smart_allocate.o base.o $(FFT3D) $(LIB)
kpoints: $(SOURCE) $(FFT3D) makekpoints.o main.F $(INC)
$(FCL) -o kpoints $(LINK) makekpoints.o $(SOURCE) $(FFT3D) $(LIB)
clean: -rm -f *.g *.f *.o *.L *.mod ; touch *.F
main.o: main$(SUFFIX) $(FC) $(FFLAGS)$(DEBUG) $(INCS) -c main$(SUFFIX) xcgrad.o: xcgrad$(SUFFIX)
$(FC) $(FFLAGS) $(INLINE) $(INCS) -c xcgrad$(SUFFIX)
xcspin.o: xcspin$(SUFFIX)
$(FC) $(FFLAGS) $(INLINE) $(INCS) -c xcspin$(SUFFIX)
makeparam.o: makeparam$(SUFFIX) $(FC) $(FFLAGS)$(DEBUG) $(INCS) -c makeparam$(SUFFIX)
makeparam$(SUFFIX): makeparam.F main.F
# #MIND: I do not have a full dependency list for the include
# and MODULES: here are only the minimal basic dependencies
# if one strucuture is changed then touch_dep must be called
# with the corresponding name of the structure
# base.o: base.inc base.F
mgrid.o: mgrid.inc mgrid.F
constant.o: constant.inc constant.F
lattice.o: lattice.inc lattice.F
setex.o: setexm.inc setex.F
pseudo.o: pseudo.inc pseudo.F
poscar.o: poscar.inc poscar.F
mkpoints.o: mkpoints.inc mkpoints.F
wave.o: wave.F
nonl.o: nonl.inc nonl.F
nonlr.o: nonlr.inc nonlr.F
$(OBJ_HIGH): $(CPP) $(FC) $(FFLAGS) $(OFLAG_HIGH) $(INCS) -c $*$(SUFFIX)
$(OBJ_NOOPT): $(CPP) $(FC) $(FFLAGS) $(INCS) -c $*$(SUFFIX)
fft3dlib_f77.o: fft3dlib_f77.F $(CPP) $(F77) $(FFLAGS_F77) -c $*$(SUFFIX)
.F.o: $(CPP) $(FC) $(FFLAGS) $(OFLAG) $(INCS) -c $*$(SUFFIX)
.F$(SUFFIX): $(CPP) $(SUFFIX)
.o: $(FC) $(FFLAGS) $(OFLAG) $(INCS) -c $*$(SUFFIX)
# special rules #-----------------------------------------------------------------------
# these special rules are cummulative (that is once failed
# in one compiler version, stays in the list forever)
# -tpp5|6|7 P, PII-PIII, PIV
# -xW use SIMD (does not pay of on PII, since fft3d uses double prec)
# all other options do no affect the code performance since -O1 is used
fft3dlib.o : fft3dlib.F $(CPP) $(FC) -FR -lowercase -O2 -c $*$(SUFFIX)
fft3dfurth.o : fft3dfurth.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
fftw3d.o : fftw3d.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
wave_high.o : wave_high.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
radial.o : radial.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
symlib.o : symlib.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
symmetry.o : symmetry.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
wave_mpi.o : wave_mpi.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
wave.o : wave.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
dynbr.o : dynbr.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
asa.o : asa.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
broyden.o : broyden.F $(CPP) $(FC) -FR -lowercase -O2 -c $*$(SUFFIX)
us.o : us.F $(CPP) $(FC) -FR -lowercase -O1 -c $*$(SUFFIX)
LDApU.o : LDApU.F $(CPP) $(FC) -FR -lowercase -O2 -c $*$(SUFFIX)
回复此楼
» 猜你喜欢
请问有评职称,把科研教学业绩算分排序的高校吗
已经有4人回复
孩子确诊有中度注意力缺陷
已经有12人回复
2025冷门绝学什么时候出结果
已经有3人回复
天津工业大学郑柳春团队欢迎化学化工、高分子化学或有机合成方向的博士生和硕士生加入
已经有4人回复
康复大学泰山学者周祺惠团队招收博士研究生
已经有6人回复
AI论文写作工具:是科研加速器还是学术作弊器?
已经有3人回复
2026博士申请-功能高分子,水凝胶方向
已经有6人回复
论文投稿,期刊推荐
已经有4人回复
硕士和导师闹得不愉快
已经有13人回复
请问2026国家基金面上项目会启动申2停1吗
已经有5人回复
高级回复
» 本主题相关价值贴推荐,对您同样有帮助:
vasp5.2 并行编译 BLAS问题 求助
已经有4人回复
VASP5.2版本并行安装时出问题了,已经到最后一步了
已经有28人回复
vasp.5.2编译出错,跪求解决办法!
已经有10人回复
vasp5.2如何计算DOS和band structure?
已经有10人回复
AIX系统编译介绍及VASP编译
已经有5人回复
【已解决】VASP内存占用疯涨……看来得重新编译了……
已经有14人回复
VASP5.2算出的静电势很低
已经有7人回复
如何编译VASP的vtst的code?
已经有15人回复
VASP5.2 直接计算弹性常数
已经有52人回复
vasp 5.2_guide.chm最新版
已经有222人回复
vasp5.2计算光学性质
已经有22人回复
vasp5.2光学计算中怎么加入scissor operation?
已经有13人回复
vasp5.2 openmpi+intel+mkl编译,能量正值问题
已经有7人回复
vsap 5.2 环境和编译问题
已经有14人回复
vasp5.2 并行编译如何修改makefile
已经有5人回复
【求助】vasp编译问题,请自己动手安装成功的人回复!
已经有9人回复
【求助】VASP5.2 编译出错make: *** [vasp] 错误 1,请大家帮忙分析分析,谢谢
已经有7人回复
【求助成功】vasp5.2并行安装不上
已经有18人回复
【求助】vasp5.2光学性质问题
已经有18人回复
【求助】vasp5.2用B3LYP计算
已经有21人回复
【求助】vasp编译 OFLAG
已经有7人回复
【求助】vasp5.2异常退出的问题
已经有16人回复
1楼
2014-03-21 19:54:56
已阅
回复此楼
关注TA
给TA发消息
送TA红花
TA的回帖
abdoman
木虫
(著名写手)
应助: 56
(初中生)
金币: 5368
散金: 918
红花: 3
沙发: 1
帖子: 1321
在线: 451.5小时
虫号: 301521
注册: 2006-12-01
性别: GG
专业: 理论和计算化学
★
小木虫: 金币+0.5, 给个红包,谢谢回帖
你openmpi 是用的ifort 编译的吗?
正确安装了吗?
赞
一下
回复此楼
Youcompleteme.
2楼
2014-03-24 10:04:52
已阅
回复此楼
关注TA
给TA发消息
送TA红花
TA的回帖
hakuna
木虫
(知名作家)
1ST强帖: 3
应助: 82
(初中生)
金币: 8735.9
散金: 158
红花: 126
帖子: 5599
在线: 1367.2小时
虫号: 167622
注册: 2006-01-15
专业: 考古理论
引用回帖:
2楼
:
Originally posted by
abdoman
at 2014-03-24 10:04:52
你openmpi 是用的ifort 编译的吗?
正确安装了吗?
没错,是同样的编译器
没搞定,暂时放弃新编译器了,有时间再慢慢研究一下
但我觉得还是makefile中库的使用问题,新版编译器较旧版好像有不少改动
赞
一下
回复此楼
3楼
2014-03-24 14:47:57
已阅
回复此楼
关注TA
给TA发消息
送TA红花
TA的回帖
相关版块跳转
第一性原理
量子化学
计算模拟
分子模拟
仿真模拟
程序语言
我要订阅楼主
hakuna
的主题更新
3
1/1
返回列表
如果回帖内容含有宣传信息,请如实选中。否则帐号将被全论坛禁言
普通表情
龙
兔
虎
猫
高级回复
(可上传附件)
百度网盘
|
360云盘
|
千易网盘
|
华为网盘
在新窗口页面中打开自己喜欢的网盘网站,将文件上传后,然后将下载链接复制到帖子内容中就可以了。
信息提示
关闭
请填处理意见
关闭
确定