| 5 | 1/1 | 返回列表 |
| 查看: 1288 | 回復(fù): 4 | ||
jfgood木蟲 (小有名氣)
|
[求助]
fhi98PP安裝問題 已有1人參與
|
|
很想知道 fhi98PP的makefile文集怎么設(shè)定編譯器呢,還有里邊的FFLAGS ,有相關(guān)的知識講解么,找了好久了,每次設(shè)定完,以為沒錯了,一編譯,基本都是一下提示 make gcc -c fhipp.f fhipp.f:289.1: d write(ie,*)'%fhipp - state count: norb=',norb, 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 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)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:290.6: d 1 ' of',(nc+nv)*nspinmx 1 錯誤: (1)處的名字中有非法字符 fhipp.f:291.1: d do i=1,norb 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:292.1: d write(ie,*) n(i),l(i),f(i) 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:293.1: d enddo 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:531.1: d write(ie,*)'%fhipp - core nstart=',nstart,' norbnow=',norbnow 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:532.1: d tc = fmom(0,mmax,al,1.d0,r,dcs(1,ispin)) 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:533.1: d write(ie,*)'%fhipp - dcs electrons=',tc 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:534.1: d tc = fmom(0,mmax,al,1.d0,r,dc) 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:535.1: d write(ie,*)'%fhipp - dc electrons=',tc 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:536.1: d tc = fmom(0,mmax,al,1.d0,r,ds(1,ispin)) 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:537.1: d write(ie,*)'%fhipp - ds electrons=',tc 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:538.1: d tc = fmom(0,mmax,al,1.d0,r,rho) 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:539.1: d write(ie,*)'%fhipp - rho electrons=',tc 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 fhipp.f:952.1: d write(ie,*) '%fhipp - option', 1 錯誤: (1)處語句標號中出現(xiàn)非數(shù)字字符 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)處語句標號中出現(xiàn)非數(shù)字字符 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 |
鐵桿木蟲 (著名寫手)
木蟲 (小有名氣)
|
新的進展: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):在函數(shù)‘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):在函數(shù)‘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 |
木蟲 (小有名氣)
|
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 這算成功了么? |
鐵桿木蟲 (著名寫手)
| 5 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 0856,材料與化工321分求調(diào)劑 +7 | 大饞小子 2026-03-27 | 8/400 |
|
|---|---|---|---|---|
|
[考研] 320分,材料與化工專業(yè),求調(diào)劑 +5 | 一定上岸aaa 2026-03-27 | 7/350 |
|
|
[考研]
|
18419759900 2026-03-25 | 8/400 |
|
|
[考研] 308求調(diào)劑 +7 | 墨墨漠 2026-03-25 | 7/350 |
|
|
[考研] 085600材料與化工306 +10 | z1z2z3879 2026-03-21 | 11/550 |
|
|
[考研] 求調(diào)劑 +3 | 劉柯@ 2026-03-24 | 4/200 |
|
|
[考研] 一志愿吉大071010,316分求調(diào)劑 +3 | xgbiknn 2026-03-27 | 3/150 |
|
|
[考研] 325求調(diào)劑 +5 | 李嘉圖·S·路 2026-03-23 | 5/250 |
|
|
[考研] 生物學學碩,一志愿湖南大學,初試成績338 +4 | YYYYYNNNNN 2026-03-26 | 4/200 |
|
|
[考研] 271求調(diào)劑 +6 | 生如夏花… 2026-03-22 | 6/300 |
|
|
[考研] 309求調(diào)劑 +4 | gajsj 2026-03-25 | 5/250 |
|
|
[考研] 材料與化工328分調(diào)劑 +6 | 。,。,。,。i 2026-03-23 | 6/300 |
|
|
[考研] 一志愿南航 335分 | 0856材料化工 | GPA 4.07 | 有科研經(jīng)歷 +6 | cccchenso 2026-03-23 | 6/300 |
|
|
[考研] 26考研-291分-廈門大學(085601)-柔性電子學院材料工程專業(yè)求調(diào)劑 +3 | min3 2026-03-24 | 4/200 |
|
|
[考研] 考研一志愿蘇州大學初始315(英一)求調(diào)劑 +3 | sbdksD 2026-03-24 | 4/200 |
|
|
[考研] 340求調(diào)劑 +5 | 話梅糖111 2026-03-24 | 5/250 |
|
|
[考研] 300分,材料,求調(diào)劑,英一數(shù)二 +5 | 超贊的 2026-03-24 | 5/250 |
|
|
[考研] 344求調(diào)劑 +3 | desto 2026-03-24 | 3/150 |
|
|
[考研] 工科0856求調(diào)劑 +5 | 沐析汀汀 2026-03-21 | 5/250 |
|
|
[考研] 考研調(diào)劑 +3 | 呼呼?~+123456 2026-03-21 | 3/150 |
|