| 查看: 3036 | 回復(fù): 16 | ||
| 本帖產(chǎn)生 1 個(gè) 1ST強(qiáng)帖 ,點(diǎn)擊這里進(jìn)行查看 | ||
gmy1990榮譽(yù)版主 (著名寫手)
|
[求助]
編譯VASP報(bào)錯(cuò),求解釋!
|
|
|
大家?guī)兔聪聢?bào)錯(cuò)信息!謝謝了! cp makefile.linux_ifc_P4 makefile 打開makefile文件修改FC=ifort 保存文件 make 之后的報(bào)錯(cuò)信息如下: ./preprocess ifort -FR -lowercase -assume byterecl -O3 -xW -tpp7 -c fftw3d.f90 fortcom: Error: fftw3d.f90, line 427: Cannot open include file 'fftw3.f' include 'fftw3.f' ---------------^ fortcom: Error: fftw3d.f90, line 436: This name does not have a type, and must have an explicit type. [FFTW_FORWARD] FFTW_FORWARD, FFTW_ESTIMATE) ---------------------------^ fortcom: Error: fftw3d.f90, line 436: This name does not have a type, and must have an explicit type. [FFTW_ESTIMATE] FFTW_FORWARD, FFTW_ESTIMATE) -----------------------------------------^ fortcom: Error: fftw3d.f90, line 440: This name does not have a type, and must have an explicit type. [FFTW_BACKWARD] FFTW_BACKWARD, FFTW_ESTIMATE) ---------------------------^ fortcom: Error: fftw3d.f90, line 456: Cannot open include file 'fftw3.f' include 'fftw3.f' ---------------^ fortcom: Error: fftw3d.f90, line 463: This name does not have a type, and must have an explicit type. [FFTW_FORWARD] FFTW_FORWARD, FFTW_EXHAUSTIVE) ---------------------------^ fortcom: Error: fftw3d.f90, line 463: This name does not have a type, and must have an explicit type. [FFTW_EXHAUSTIVE] FFTW_FORWARD, FFTW_EXHAUSTIVE) -----------------------------------------^ fortcom: Error: fftw3d.f90, line 467: This name does not have a type, and must have an explicit type. [FFTW_BACKWARD] FFTW_BACKWARD, FFTW_EXHAUSTIVE) ---------------------------^ fftw3d.f90(318) : (col. 16) remark: LOOP WAS VECTORIZED. compilation aborted for fftw3d.f90 (code 1) make: *** [fftw3d.o] Error 1 |
至尊木蟲 (職業(yè)作家)
金蟲 (正式寫手)
|
并行編譯那塊的設(shè)置問題? BLACS=$(HOME)/archives/SCALAPACK/BLACS/ SCA_=$(HOME)/archives/SCALAPACK/SCALAPACK SCA= $(SCA_)/libscalapack.a \ $(BLACS)/LIB/blacsF77init_MPI-LINUX-0.a $(BLACS)/LIB/blacs_MPI-LINUX-0.a $(BLACS)/LIB/blacsF77init_MPI-LINUX-0.a SCA=/opt/intel/composerxe-2011.3.174/mkl/lib/ia32/libmkl_scalapack_core.a /opt/intel/composerxe-2011.3.174/mkl/lib/ia32/libmkl_blacs_intelmpi.a #----------------------------------------------------------------------- # libraries for mpi #----------------------------------------------------------------------- #LIB = -L../vasp.4.lib -ldmy \ # ../vasp.4.lib/linpack_double.o $(LAPACK) \ # $(SCA) $(BLAS) # FFT: fftmpi.o with fft3dlib of Juergen Furthmueller FFT3D = fftmpi.o fftmpi_map.o fft3dlib.o ##這里改改試一下? # fftw.3.0.1 is slighly faster and should be used if available #FFT3D = fftmpiw.o fftmpi_map.o fft3dlib.o /opt/intel/composerxe-2011.3.174/mkl/interfaces/fftw3xf/libfftw3xf_intel.a |
榮譽(yù)版主 (著名寫手)
金蟲 (正式寫手)
榮譽(yù)版主 (著名寫手)
榮譽(yù)版主 (著名寫手)
榮譽(yù)版主 (著名寫手)
金蟲 (正式寫手)
|
sorry i cannot type chinese now. OFLAG=-O3 -xW -tpp7 #delete '-tpp7' and have a try #----------------------------------------------------------------------- # fft libraries: # VASP.4.6 can use fftw.3.0.X (http://www.fftw.org) # since this version is faster on P4 machines, we recommend to use it #----------------------------------------------------------------------- #FFT3D = fft3dfurth.o fft3dlib.o FFT3D = fftw3d.o fft3dlib.o /opt/libs/fftw-3.2.2/lib/libfftw3.a #here i am not sure what the usage of the this option. i used to try to cancel this option using '#',and succeeded. #FC=mpif77 #FCL=$(FC) #----------------------------------------------------------------------- # additional options for CPP in parallel version (see also above): # NGZhalf charge density reduced in Z direction # wNGZhalf gamma point only reduced in Z direction # scaLAPACK use scaLAPACK (usually slower on 100 Mbit Net) #----------------------------------------------------------------------- #CPP = $(CPP_) -DMPI -DHOST=\"LinuxIFC\" -DIFC \ # -Dkind8 -DNGZhalf -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc \ # -DMPI_BLOCK=500 \ ## -DRPROMU_DGEMV -DRACCMU_DGEMV #----------------------------------------------------------------------- # location of SCALAPACK # if you do not use SCALAPACK simply uncomment the line SCA #----------------------------------------------------------------------- BLACS=$(HOME)/archives/SCALAPACK/BLACS/ SCA_=$(HOME)/archives/SCALAPACK/SCALAPACK #----------------------------------------------------------------------- # libraries for mpi #----------------------------------------------------------------------- #LIB = -L../vasp.4.lib -ldmy \ # ../vasp.4.lib/linpack_double.o $(LAPACK) \ # $(SCA) $(BLAS) # FFT: fftmpi.o with fft3dlib of Juergen Furthmueller #FFT3D = fftmpi.o fftmpi_map.o fft3dlib.o # fftw.3.2.2 is slighly faster and should be used if available #FFT3D = fftmpiw.o fftmpi_map.o fft3dlib.o /opt/libs/fftw-3.2.2/lib/libfftw3.a as for these ,do you install mpi? if so, you should have some changes and i advise you to refer to my makefile http://www.gaoyang168.com/bbs/viewthread.php?tid=3142492 good luck. |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 材料專業(yè)求調(diào)劑 +5 | hanamiko 2026-03-18 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 267一志愿南京工業(yè)大學(xué)0817化工求調(diào)劑 +7 | SUICHILD 2026-03-12 | 7/350 |
|
|
[考研] 一志愿武理材料305分求調(diào)劑 +5 | 想上岸的鯉魚 2026-03-18 | 6/300 |
|
|
[考研] 085601材料工程專碩求調(diào)劑 +6 | 慕寒mio 2026-03-16 | 6/300 |
|
|
[考研] 0703化學(xué)調(diào)劑 ,六級(jí)已過,有科研經(jīng)歷 +10 | 曦熙兮 2026-03-15 | 10/500 |
|
|
[考研] 生物學(xué)071000 329分求調(diào)劑 +3 | 我愛生物生物愛?/a> 2026-03-17 | 3/150 |
|
|
[基金申請(qǐng)] 被我言中:新模板不強(qiáng)調(diào)格式了,假專家開始管格式了 +4 | beefly 2026-03-14 | 4/200 |
|
|
[考研] 材料與化工求調(diào)劑 +6 | 為學(xué)666 2026-03-16 | 6/300 |
|
|
[考研] 材料專碩326求調(diào)劑 +6 | 墨煜姒莘 2026-03-15 | 7/350 |
|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-14 | 3/150 |
|
|
[考研] 283求調(diào)劑 +10 | 小樓。 2026-03-12 | 14/700 |
|
|
[考研] 一志愿華中師范071000,325求調(diào)劑 +6 | RuitingC 2026-03-12 | 6/300 |
|
|
[考研] 277材料科學(xué)與工程080500求調(diào)劑 +3 | 自由煎餅果子 2026-03-16 | 3/150 |
|
|
[考研] 材料與化工 323 英一+數(shù)二+物化,一志愿:哈工大 本人本科雙一流 +4 | 自由的_飛翔 2026-03-13 | 5/250 |
|
|
[考研] 289求調(diào)劑 +4 | 這么名字咋樣 2026-03-14 | 6/300 |
|
|
[考研] 復(fù)試調(diào)劑 +4 | z1z2z3879 2026-03-14 | 5/250 |
|
|
[考研] 329求調(diào)劑 +3 | miaodesi 2026-03-12 | 4/200 |
|
|
[考研] 290求調(diào)劑 +7 | ADT 2026-03-12 | 7/350 |
|
|
[考研] 070303一志愿西北大學(xué)學(xué)碩310找調(diào)劑 +3 | d如愿上岸 2026-03-13 | 3/150 |
|
|
[考研] 283求調(diào)劑,材料、化工皆可 +8 | 蘇打水7777 2026-03-11 | 10/500 |
|