| 查看: 3040 | 回復(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ā)表 | |
|---|---|---|---|---|
|
[考研] 0703化學(xué) 305求調(diào)劑 +3 | FY_yy 2026-03-14 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 085600材料與化工 +5 | 安全上岸! 2026-03-16 | 5/250 |
|
|
[考研] 08工科 320總分 求調(diào)劑 +5 | 梨花珞晚風(fēng) 2026-03-17 | 5/250 |
|
|
[考研] 收復(fù)試調(diào)劑生 +4 | 雨后秋荷 2026-03-18 | 4/200 |
|
|
[考研] 268求調(diào)劑 +6 | 簡單點(diǎn)0 2026-03-17 | 6/300 |
|
|
[考研] 334求調(diào)劑 +3 | 志存高遠(yuǎn)意在機(jī)?/a> 2026-03-16 | 3/150 |
|
|
[考研] 本人考085602 化學(xué)工程 專碩 +16 | 不知道叫什么! 2026-03-15 | 18/900 |
|
|
[考研] 有沒有道鐵/土木的想調(diào)劑南林,給自己招師弟中~ +3 | TqlXswl 2026-03-16 | 7/350 |
|
|
[考研] 材料與化工專碩調(diào)劑 +5 | heming3743 2026-03-16 | 5/250 |
|
|
[考研] 材料工程專碩274一志愿211求調(diào)劑 +6 | 薛云鵬 2026-03-15 | 6/300 |
|
|
[考研] 302求調(diào)劑 +4 | 小賈同學(xué)123 2026-03-15 | 8/400 |
|
|
[考研] 考研調(diào)劑 +3 | 淇ya_~ 2026-03-17 | 5/250 |
|
|
[考研] 289求調(diào)劑 +4 | 這么名字咋樣 2026-03-14 | 6/300 |
|
|
[基金申請(qǐng)] 現(xiàn)在如何回避去年的某一個(gè)專家,不知道名字 +3 | zk200107 2026-03-12 | 6/300 |
|
|
[考研] 一志愿哈工大材料324分求調(diào)劑 +5 | 閆旭東 2026-03-14 | 5/250 |
|
|
[考研] 330求調(diào)劑 +3 | ?醬給調(diào)劑跪了 2026-03-13 | 3/150 |
|
|
[考研] 求調(diào)劑 +7 | 18880831720 2026-03-11 | 7/350 |
|
|
[考研] 307求調(diào)劑 +5 | 超級(jí)伊昂大王 2026-03-12 | 5/250 |
|
|
[考研] 070303一志愿西北大學(xué)學(xué)碩310找調(diào)劑 +3 | d如愿上岸 2026-03-13 | 3/150 |
|
|
[考博] 26讀博 +4 | Rui135246 2026-03-12 | 10/500 |
|