南昔烈酒 发表于 2018-11-29 17:08:04

vasp5.4.4编译出现如下问题

我最近在编译vasp5.4.4,make all之后出现如下问题,有没有大神给解答一下具体问题在哪呢嘛?跪谢http://muchongimg.xmcimg.com/data/emuch_bbs_images/smilies/cry.gif
gfortran: error: lowercase: No such file or directory
gfortran: error: unrecognized command line option ‘-names’
makefile:28: recipe for target 'preclib.o' failed
make: *** Error 1
make: Leaving directory '/home/liu/opt/vasp/vasp.5.4.4/build/std/lib'
makefile:18: recipe for target 'all' failed
make: *** Error 2
make: Leaving directory '/home/liu/opt/vasp/vasp.5.4.4/build/std/lib'
makefile:154: recipe for target 'lib' failed
make: *** Error 2
make: Leaving directory '/home/liu/opt/vasp/vasp.5.4.4/build/std'
makefile:10: recipe for target 'std' failed
make: *** Error 2

从不服输 发表于 2018-11-29 17:08:48

编译参数要调整,

七尺大乳 发表于 2018-11-29 17:08:59

最好能把配置文件贴出来

南昔烈酒 发表于 2018-11-29 17:09:13

大佬,这是我的makefile.include,您帮忙看下有啥问题
# Precompiler options
CPP_OPTIONS= -DHOST=\"LinuxIFC\"\
             -DMPI -DMPI_BLOCK=8000 \
             -Duse_collective \
             -DscaLAPACK \
             -DCACHE_SIZE=4000 \
             -Davoidalloc \
             -Duse_bse_te \
             -Dtbdyn \
             -Duse_shmem
CPP      = fpp -f_com=no -free -w0$*$(FUFFIX) $*$(SUFFIX) $(CPP_OPTIONS)
FC         = mpif90
FCL      = mpif90-mkl
FREE       = -free -names lowercase
FFLAGS   = -assume byterecl -w
OFLAG      = -O3 -ip
OFLAG_IN   = $(OFLAG)
DEBUG      = -O0
MKL_PATH   = $(MKLROOT)/lib/intel64
BLAS       = -lmkl_blacs_intelmpi_lp64
LAPACK   =
BLACS      = -lmkl_blacs_intelmpi_lp64
SCALAPACK= $(MKL_PATH)/libmkl_scalapack_lp64.a $(BLACS)
OBJECTS    = fftmpiw.o fftmpi_map.o fft3dlib.o fftw3d.o /opt/intel/compilers_and_libraries_2019.0.117/linux/mkl/interfaces/fftw3xf/fftw3xf.lst
INCS       =-I$(MKLROOT)/include/fftw
LLIBS      = $(SCALAPACK) $(LAPACK) $(BLAS)
OBJECTS_O1 += fftw3d.o fftmpi.o fftmpiw.o
OBJECTS_O2 += fft3dlib.o
# For what used to be vasp.5.lib
CPP_LIB    = $(CPP)
FC_LIB   = $(FC)
CC_LIB   = icc
CFLAGS_LIB = -O
FFLAGS_LIB = -O1
FREE_LIB   = $(FREE)
OBJECTS_LIB= linpack_double.o getshmem.o
# For the parser library
CXX_PARS   = icpc
LIBS       += parser
LLIBS      += -Lparser -lparser -lstdc++
# Normally no need to change this
SRCDIR   = ../../srcBINDIR   = ../../bin
#================================================
# GPU Stuff
CPP_GPU    = -DCUDA_GPU -DRPROMU_CPROJ_OVERLAP -DUSE_PINNED_MEMORY -DCUFFT_MIN=28 -UscaLAPACK
OBJECTS_GPU = fftmpiw.o fftmpi_map.o fft3dlib.o fftw3d_gpu.o fftmpiw_gpu.o
CC         = icc
CXX      = icpc
CFLAGS   = -fPIC -DADD_ -Wall -openmp -DMAGMA_WITH_MKL -DMAGMA_SETAFFINITY -DGPUSHMEM=300 -DHAVE_CUBLASCUDA_ROOT?= /usr/local/cuda/
NVCC       := $(CUDA_ROOT)/bin/nvcc -ccbin=icc
CUDA_LIB   := -L$(CUDA_ROOT)/lib64 -lnvToolsExt -lcudart -lcuda -lcufft -lcublas
GENCODE_ARCH    := -gencode=arch=compute_30,code=\"sm_30,compute_30\" \
                   -gencode=arch=compute_35,code=\"sm_35,compute_35\" \
                   -gencode=arch=compute_60,code=\"sm_60,compute_60\"
MPI_INC    = $(I_MPI_ROOT)/include64/
-xCORE-AVX2
-xCORE-AVX512

七尺大乳 发表于 2018-11-29 17:09:39

第1 2行报错信息已经说明问题了 照着修改

南昔烈酒 发表于 2018-11-29 17:09:56

七尺大乳 发表于 2018-11-29 17:09
第1 2行报错信息已经说明问题了 照着修改

大佬,之前的问题解决了。后续又出现了no rule to make target mpi.f90 , needed by mpi.o Stop
这个错误是什么意思呢

七尺大乳 发表于 2018-11-29 17:10:13

南昔烈酒 发表于 2018-11-29 17:09
大佬,之前的问题解决了。后续又出现了no rule to make target mpi.f90 , needed by mpi.o Stop
这个错误 ...

mpi没装好吧 我看这装的捉急啊 用intel全家桶装不好吗

南昔烈酒 发表于 2018-11-29 17:10:25

:L:L:L:L:L
页: [1]
查看完整版本: vasp5.4.4编译出现如下问题