| 查看: 1186 | 回复: 4 | ||
jfgood木虫 (小有名气)
|
[求助]
fhi98PP安装问题已有1人参与
|
|
很想知道 fhi98PP的makefile文集怎么设定编译器呢,还有里边的FFLAGS ,有相关的知识讲解么,找了好久了,每次设定完,以为没错了,一编译,基本都是一下提示 make gcc -c fhipp.f fhipp.f:289.1: d write(ie,*)'%fhipp - state count: norb=',norb, 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:289.72: d write(ie,*)'%fhipp - state count: norb=',norb, 1 错误: (1)处需要 WRITE 语句 fhipp.f:290.1: d 1 ' of',(nc+nv)*nspinmx 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:290.6: d 1 ' of',(nc+nv)*nspinmx 1 错误: (1)处的名字中有非法字符 fhipp.f:291.1: d do i=1,norb 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:292.1: d write(ie,*) n(i),l(i),f(i) 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:293.1: d enddo 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:531.1: d write(ie,*)'%fhipp - core nstart=',nstart,' norbnow=',norbnow 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:532.1: d tc = fmom(0,mmax,al,1.d0,r,dcs(1,ispin)) 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:533.1: d write(ie,*)'%fhipp - dcs electrons=',tc 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:534.1: d tc = fmom(0,mmax,al,1.d0,r,dc) 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:535.1: d write(ie,*)'%fhipp - dc electrons=',tc 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:536.1: d tc = fmom(0,mmax,al,1.d0,r,ds(1,ispin)) 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:537.1: d write(ie,*)'%fhipp - ds electrons=',tc 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:538.1: d tc = fmom(0,mmax,al,1.d0,r,rho) 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:539.1: d write(ie,*)'%fhipp - rho electrons=',tc 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:952.1: d write(ie,*) '%fhipp - option', 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:952.72: d write(ie,*) '%fhipp - option', 1 错误: (1)处需要 WRITE 语句 fhipp.f:953.1: d & l1-1,np(l1),fp(l1),rc(l1),ep(l1),i_pp_type(l1) 1 错误: (1)处语句标号中出现非数字字符 fhipp.f:953.6: d & l1-1,np(l1),fp(l1),rc(l1),ep(l1),i_pp_type(l1) 1 错误: (1)处的名字中有非法字符 make: *** [fhipp.o] 错误 1 |
» 猜你喜欢
寻求一种能扛住强氧化性腐蚀性的容器密封件
已经有7人回复
到新单位后,换了新的研究方向,没有团队,持续积累2区以上论文,能申请到面上吗
已经有8人回复
申请2026年博士
已经有6人回复
请问哪里可以有青B申请的本子可以借鉴一下。
已经有5人回复
天津工业大学郑柳春团队欢迎化学化工、高分子化学或有机合成方向的博士生和硕士生加入
已经有5人回复
2025冷门绝学什么时候出结果
已经有7人回复
请问有评职称,把科研教学业绩算分排序的高校吗
已经有6人回复
Bioresource Technology期刊,第一次返修的时候被退回好几次了
已经有7人回复
请问下大家为什么这个铃木偶联几乎不反应呢
已经有5人回复
康复大学泰山学者周祺惠团队招收博士研究生
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
【求助】请教在ATK中怎样使用自己的或者Siesta的赝势
已经有4人回复
mywai520
铁杆木虫 (著名写手)
- 应助: 339 (大学生)
- 金币: 10425.6
- 红花: 45
- 帖子: 1664
- 在线: 296.9小时
- 虫号: 265142
- 注册: 2006-07-09
- 专业: 凝聚态物性 II :电子结构
2楼2014-04-20 11:46:52
jfgood
木虫 (小有名气)
- 应助: 1 (幼儿园)
- 金币: 4110.6
- 红花: 3
- 帖子: 273
- 在线: 104.9小时
- 虫号: 320227
- 注册: 2007-03-10
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
|
新的进展:makefile文件 # $Header:$ #mf 28-06-03 cleaned, deleted ESSL # # Makefile_linux (GNU make) for theorem@fhi # # pseudopotential generating program make fhipp.x # pseudopotential testing program make pslp.x # removing garbage make clean # # ---- begin settings ---- #FC = pgf90 #FC = g77 #FC = g++ FC = ifort FFLAGS = #CFLAGS = LD = $(FC) LDFLAGS = $(FFLAGS) -static # (LAPACK) public domain routines, ESSL no longer supported LIB = LAPACK # ---- end settings ---- ifeq ($(LIB), LAPACK) MODE = LAPACK LIBS = -L../lib -lFREE LIBS = ../lib/libFREE.a endif OBJ_GNCPP = fhipp.o ncpp.o hamann.o tromar$(MODE).o dnlcc7$(MODE).o defrtm.o OBJ_PSLP = pslp.o psatom.o rcovalent.o ppcheck.o derlkb.o OBJ_SPECTRAL_TEST = klbyii$(MODE).o laguerre.o gaussq.o OBJ_KINETIC_TEST = kinkon.o dfbt_srt.o bessel.o OBJ_SHARED = outwfct.o labelmap.o ggarad.o gga91_sr.o bpgcxc.o ldaxc.o corlyp.o pbe.o \ logmesh.o atomini.o sratom_n.o vestat.o vexcor.o dftseq.o \ atoaux.o darraux.o anderson.o moment.o spinorbit.o relxc.o \ pberev.o stat_orb.o fxc_mgga_pk.o\ vklix.o invermat.o arhf.o acgc.o gaunt.o ecp.o cepvwn.o \ vexcos.o OBJ_ESSL = dgef.o dges.o dspev.o errsav.o errset.o einfo.o all : fhipp.x pslp.x OBJ_GNCPP_X = $(OBJ_GNCPP) $(OBJ_SHARED) OBJ_PSLP_X = $(OBJ_PSLP) $(OBJ_SHARED) $(OBJ_SPECTRAL_TEST) $(OBJ_KINETIC_TEST) %.o : %.f $(FC) $(FFLAGS) -c $*.f fhipp.x : $(OBJ_GNCPP_X) $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) pslp.x : $(OBJ_PSLP_X) $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) $(OBJ_SPECTRAL_TEST) : basis.h gauss.h fhipp.o ncpp.o pslp.o dftseq.o logmesh.o : default.h $(OBJ_PSLP) $(OBJ_GNCPP) : $(LIBS) parameter.h $(LIBS) : ifeq ($(MODE),LAPACK) cd ../lib; $(MAKE) -f make.libFREE endif clean : rm -f *.o # contents # # fhipp.f main # ncpp.f pseudopotentials # hamann.f hamann generator # tromar.f troullier-martins generator # dnlcc7.f pseudocore generator # defrtm.f default cutoff radii for troullier-martins # pslp.f main # psatom.f pseudoatom # rcovalent.f radii for logarithmic derivatives # ppcheck.f log derivatives & ghost state analysis # derlkb.f radial integrator for separable case # labelmap.f labels for elements and XC functionals # outwfct.f output subroutines # ggarad.f gradient-corrected xc # gga91_sr.f Perdew/Wang GGA91 xc # bpgcxc.f Becke/Perdew xc # ldaxc.f various LDA xc # cepvwn.f Vosko/Wilk/Nussair LDA <inactive> # corlyp.f Lee/Yang/Parr c # pbe.f Burke/Perdew/Ernzerhof (PBE) GGA # pberev.f revised PBE GGAs # acgc.f (kli-x) for gaunt coefficients # arhf.f (kli-x) fock matrix elements # vklix.f (kli-x) kli equation solver # fxc_mgga_pk.f Perdew/Kurth/Blaha/Zupan meta GGA # stat_orb.f kinetic energy densit for meta GGA # atomini.f potential initialisation # logmesh.f radial mesh initialisation # sratom_n.f all-electron atom # vestat.f Poisson & Hartree # vexcor.f exchange-correlation # vexcos.f exchange-correlation spin-polarized # dftseq.f radial deq solver # atoaux.f predictor-corrector auxiliaries # darraux.f array manipulation auxiliary # anderson.f potential mixer # moment.f radial moments etc. # spinorbit.f spin-orbit couplings <inactive> # parameter.h array dimensions # default.h mesh & accuracy settings # klbyii.f nonlocal hamiltonian in polynomial representation # laguerre.f auxiliary: associated laguerre polynomials # gauss.f gauss quadrature # gauss.h gauss quadrature weights and absissas # basis.h scaling parameters for laguerre polynomials # kinkon.f fourier analysis of wavefunctions # dfbt_srt.f fourier bessel transform # bessel.f bessel functions 提示错误 ifort -Wall -static -o fhipp.x fhipp.o ncpp.o hamann.o tromarLAPACK.o dnlcc7LAPACK.o defrtm.o outwfct.o labelmap.o ggarad.o gga91_sr.o bpgcxc.o ldaxc.o corlyp.o pbe.o logmesh.o atomini.o sratom_n.o vestat.o vexcor.o dftseq.o atoaux.o darraux.o anderson.o moment.o spinorbit.o relxc.o pberev.o stat_orb.o fxc_mgga_pk.o vklix.o invermat.o arhf.o acgc.o gaunt.o ecp.o cepvwn.o vexcos.o ../lib/libFREE.a ifort: command line warning #10157: ignoring option '-W'; argument is of wrong type ../lib/libFREE.a(ilaenv.o):在函数‘ilaenv_’中: ilaenv.f .text+0x3b9):对‘_gfortran_compare_string’未定义的引用ilaenv.f .text+0x3dc):对‘_gfortran_compare_string’未定义的引用ilaenv.f .text+0x419):对‘_gfortran_compare_string’未定义的引用ilaenv.f .text+0x438):对‘_gfortran_compare_string’未定义的引用ilaenv.f .text+0x457):对‘_gfortran_compare_string’未定义的引用../lib/libFREE.a(ilaenv.o):ilaenv.f .text+0x476): more undefined references to `_gfortran_compare_string' follow../lib/libFREE.a(xerbla.o):在函数‘xerbla_’中: xerbla.f .text+0x68):对‘_gfortran_st_write’未定义的引用xerbla.f .text+0x86):对‘_gfortran_transfer_character_write’未定义的引用xerbla.f .text+0xa4):对‘_gfortran_transfer_integer_write’未定义的引用xerbla.f .text+0xb3):对‘_gfortran_st_write_done’未定义的引用xerbla.f .text+0xc2):对‘_gfortran_stop_string’未定义的引用make: *** [fhipp.x] 错误 1 |
3楼2014-04-20 12:10:46
jfgood
木虫 (小有名气)
- 应助: 1 (幼儿园)
- 金币: 4110.6
- 红花: 3
- 帖子: 273
- 在线: 104.9小时
- 虫号: 320227
- 注册: 2007-03-10
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
|
jf@jf:~/fhi98PP/src$ make ifort -static -o fhipp.x fhipp.o ncpp.o hamann.o tromarLAPACK.o dnlcc7LAPACK.o defrtm.o outwfct.o labelmap.o ggarad.o gga91_sr.o bpgcxc.o ldaxc.o corlyp.o pbe.o logmesh.o atomini.o sratom_n.o vestat.o vexcor.o dftseq.o atoaux.o darraux.o anderson.o moment.o spinorbit.o relxc.o pberev.o stat_orb.o fxc_mgga_pk.o vklix.o invermat.o arhf.o acgc.o gaunt.o ecp.o cepvwn.o vexcos.o ../lib/libFREE.a 这算成功了么? |
4楼2014-04-20 12:51:44
mywai520
铁杆木虫 (著名写手)
- 应助: 339 (大学生)
- 金币: 10425.6
- 红花: 45
- 帖子: 1664
- 在线: 296.9小时
- 虫号: 265142
- 注册: 2006-07-09
- 专业: 凝聚态物性 II :电子结构
5楼2014-04-20 14:52:34













回复此楼
.text+0x3b9):对‘_gfortran_compare_string’未定义的引用