| 5 | 1/1 | 返回列表 |
| 查看: 3052 | 回復(fù): 16 | |||
| 本帖產(chǎn)生 1 個 1ST強帖 ,點擊這里進行查看 | |||
| 當(dāng)前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | |||
gmy1990榮譽版主 (著名寫手)
|
[求助]
編譯VASP報錯,求解釋!
|
||
|
大家?guī)兔聪聢箦e信息!謝謝了! cp makefile.linux_ifc_P4 makefile 打開makefile文件修改FC=ifort 保存文件 make 之后的報錯信息如下: ./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 |
金蟲 (正式寫手)
|
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. |
至尊木蟲 (職業(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 |
榮譽版主 (著名寫手)
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 303求調(diào)劑 +6 | 元夕元 2026-03-20 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 【2026考研調(diào)劑】制藥工程 284分 求相關(guān)專業(yè)調(diào)劑名額 +3 | 袁奐奐 2026-03-25 | 6/300 |
|
|
[考研] 289求調(diào)劑 +9 | 懷瑾握瑜l 2026-03-20 | 9/450 |
|
|
[考研] 299求調(diào)劑 +7 | shxchem 2026-03-20 | 9/450 |
|
|
[考研] 化學(xué)調(diào)劑 +6 | yzysaa 2026-03-21 | 6/300 |
|
|
[考研] 0854電子信息求調(diào)劑 +7 | α____ 2026-03-22 | 8/400 |
|
|
[考研] 311求調(diào)劑 +3 | 冬十三 2026-03-24 | 3/150 |
|
|
[考研] 求調(diào)劑 +5 | 林之夕 2026-03-24 | 5/250 |
|
|
[考研]
|
黃粱一夢千年 2026-03-24 | 3/150 |
|
|
[考研] 一志愿211 初試270分 求調(diào)劑 +5 | 谷雨上岸 2026-03-23 | 6/300 |
|
|
[考研] 一志愿北京化工大學(xué)材料與化工 264分各科過A區(qū)國家線 +3 | 哈哈157349 2026-03-21 | 3/150 |
|
|
[考研] 344求調(diào)劑 +3 | desto 2026-03-24 | 3/150 |
|
|
[考研] 306求調(diào)劑 +5 | 來好運來來來 2026-03-22 | 5/250 |
|
|
[考研] 298求調(diào)劑一志愿211 +3 | 上岸6666@ 2026-03-20 | 3/150 |
|
|
[考研] 生物學(xué)調(diào)劑 +5 | Surekei 2026-03-21 | 5/250 |
|
|
[考研] 求調(diào)劑 +7 | Auroracx 2026-03-22 | 7/350 |
|
|
[考研] 材料求調(diào)劑 +5 | @taotao 2026-03-21 | 5/250 |
|
|
[考研] 求調(diào)劑 +4 | 要好好無聊 2026-03-21 | 4/200 |
|
|
[考研] 一志愿南昌大學(xué),327分,材料與化工085600 +9 | Ncdx123456 2026-03-19 | 9/450 |
|
|
[考研] 一志愿南理工085701環(huán)境302求調(diào)劑院校 +3 | 葵梓衛(wèi)隊 2026-03-20 | 3/150 |
|