24小时热门版块排行榜    

查看: 4747  |  回复: 22

nalia

铁虫 (初入文坛)

[求助] vasp安装新手求帮助

我的makefile是这样的,
# Precompiler options
CPP_OPTIONS= -DHOST=\"LinuxIFC\"\
             -DMPI -DMPI_BLOCK=8000 \
             -Duse_collective \
             -DscaLAPACK \
             -DCACHE_SIZE=16000 \
             -avoidalloc \
             -Duse_bse_te \
             -Dtbdyn \
             -Duse_shmem

CPP        = fpp -f_com=no -free -w0  $*$(FUFFIX) $*$(SUFFIX) $(CPP_OPTIONS)

FC         = gfortran
FCL        = $(FC) -mkl

FREE       = -ffree-form -ffree-line-length-none

FFLAGS     = -assume byterecl -w
OFLAG      = -O2
OFLAG_IN   = $(OFLAG)
DEBUG      = -O0

MKL_PATH   = /public/software/compiler/intel/composer_xe_2013_sp1.0.080/bin/lib/intel64
BLAS       =
LAPACK     =
BLACS      = -lmkl_blacs_intelmpi_lp64
SCALAPACK  = /public/software/compiler/intel/composer_xe_2013_sp1.0.080/mkl/lib/intel64/libmkl_scalapack_lp64.a $(BLACS)

OBJECTS    = fftmpiw.o fftmpi_map.o fft3dlib.o fftw3d.o

INCS       =-I/public/software/compiler/intel/composer_xe_2013_sp1.0.080/mkl/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     = ../../src
BINDIR     = ../../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_CUBLAS

CUDA_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/
开始用的FC=mpiifort 其他设置也做了更改,发现不行就用了FC=gfortran,然后还是有错误。输出如下
mkdir build/std ; \
        cp src/makefile src/.objects makefile.include build/std ; \
        make -C build/std VERSION=std all
mkdir: cannot create directory `build/std': File exists
make[1]: Entering directory `/home/fengdl/fengdl/vasp.5.4.4/build/std'
rsync -ru ../../src/lib .
cp makefile.include lib
make -C lib -j1
make[2]: Entering directory `/home/fengdl/fengdl/vasp.5.4.4/build/std/lib'
make libdmy.a
make[3]: Entering directory `/home/fengdl/fengdl/vasp.5.4.4/build/std/lib'
gfortran -O1 -ffree-form -ffree-line-length-none -c -o preclib.o preclib.f90
icc -O -c -o timing_.o timing_.c
icc -O -c -o derrf_.o derrf_.c
icc -O -c -o dclock_.o dclock_.c
fpp -f_com=no -free -w0 diolib.F diolib.f90
gfortran -O1 -ffree-form -ffree-line-length-none -c -o diolib.o diolib.f90
fpp -f_com=no -free -w0 dlexlib.F dlexlib.f90
gfortran -O1 -ffree-form -ffree-line-length-none -c -o dlexlib.o dlexlib.f90
fpp -f_com=no -free -w0 drdatab.F drdatab.f90
gfortran -O1 -ffree-form -ffree-line-length-none -c -o drdatab.o drdatab.f90
gfortran -O1  -c linpack_double.f
icc -O -c -o getshmem.o getshmem.c
rm -f libdmy.a
ar vq libdmy.a preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o linpack_double.o getshmem.o
ar: creating libdmy.a
a - preclib.o
a - timing_.o
a - derrf_.o
a - dclock_.o
a - diolib.o
a - dlexlib.o
a - drdatab.o
a - linpack_double.o
a - getshmem.o
make[3]: Leaving directory `/home/fengdl/fengdl/vasp.5.4.4/build/std/lib'
make[2]: Leaving directory `/home/fengdl/fengdl/vasp.5.4.4/build/std/lib'
rsync -ru ../../src/parser .
cp makefile.include parser
make -C parser -j1
make[2]: Entering directory `/home/fengdl/fengdl/vasp.5.4.4/build/std/parser'
make libparser.a
make[3]: Entering directory `/home/fengdl/fengdl/vasp.5.4.4/build/std/parser'
icpc -D YY_parse_DEBUG=1 -c sites.cpp -o sites.o
icpc -D YY_parse_DEBUG=1 -c functions.cpp -o functions.o
icpc -D YY_parse_DEBUG=1 -c radial.cpp -o radial.o
icpc -D YY_parse_DEBUG=1 -c basis.cpp -o basis.o
icpc -D YY_parse_DEBUG=1 -c lex.yy.c -o lex.yy.o
icpc -D YY_parse_DEBUG=1 -c locproj.tab.c -o locproj.tab.o
icpc -D YY_parse_DEBUG=1 -c yywrap.c -o yywrap.o
rm -f libparser.a
ar vq libparser.a sites.o functions.o radial.o basis.o lex.yy.o locproj.tab.o yywrap.o locproj.tab.h
ar: creating libparser.a
a - sites.o
a - functions.o
a - radial.o
a - basis.o
a - lex.yy.o
a - locproj.tab.o
a - yywrap.o
a - locproj.tab.h
make[3]: Leaving directory `/home/fengdl/fengdl/vasp.5.4.4/build/std/parser'
make[2]: Leaving directory `/home/fengdl/fengdl/vasp.5.4.4/build/std/parser'
rsync -u ../../src/*.F ../../src/*.inc .
rm -f vasp ; make vasp ; cp vasp ../../bin/vasp_std
make[2]: Entering directory `/home/fengdl/fengdl/vasp.5.4.4/build/std'
fpp -f_com=no -free -w0 c2f_interface.F c2f_interface.f90 -DHOST=\"LinuxIFC\" -DMPI -DMPI_BLOCK=8000 -Duse_collective -DscaLAPACK -DCACHE_SIZE=16000 -avoidalloc -Duse_bse_te -Dtbdyn -Duse_shmem -DNGZhalf
gfortran -ffree-form -ffree-line-length-none -assume byterecl -w -O2 -I/public/software/compiler/intel/composer_xe_2013_sp1.0.080/mkl/include/fftw -c c2f_interface.f90
gfortran: byterecl: No such file or directory
f951: error: unrecognized command line option "-assume"
make[2]: *** [c2f_interface.o] Error 1
make[2]: Leaving directory `/home/fengdl/fengdl/vasp.5.4.4/build/std'
cp: cannot stat `vasp': No such file or directory
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/fengdl/fengdl/vasp.5.4.4/build/std'
make: *** [std] Error 2
求大神帮忙一下,新手懂得太少了
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

only_大师

新虫 (小有名气)

你应该用gfortan的那个makefile.include

发自小木虫IOS客户端
2楼2017-07-08 10:28:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
3楼2017-08-17 16:14:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
4楼2017-08-17 21:59:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
5楼2017-08-18 05:25:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
6楼2017-08-18 11:50:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
7楼2017-08-18 12:58:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
8楼2017-08-18 19:58:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
9楼2017-08-18 21:38:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
10楼2017-08-19 04:01:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 nalia 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[找工作] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 ASdOkHsho7FD 2026-08-28 6/300 2026-08-29 11:51 by jCd0dEvKHShX
[硕博家园] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +5 ASdOkHsho7FD 2026-08-28 8/400 2026-08-29 11:39 by jCd0dEvKHShX
[基金申请] 投票:  有多少人是今天查系统知道结果的? +16 爱看书的可乐 2026-08-26 18/900 2026-08-29 10:18 by winsaint
[基金申请] 系统查不到 +11 董八千 2026-08-26 11/550 2026-08-28 18:06 by Leogzhya
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +8 苏东坡二世 2026-08-23 8/400 2026-08-28 14:41 by lkforward
[基金申请] 基金不中,共勉 +11 eulota 2026-08-26 11/550 2026-08-28 14:22 by 火星超人xi
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +4 gdd2018 2026-08-28 9/450 2026-08-28 14:22 by jklily
[基金申请] 申请删除本帖 +6 lyz123lyz 2026-08-27 7/350 2026-08-27 17:31 by 宁静致远sy
[基金申请] 为什么 国际(地区)合作与交流项目 没有放榜? 10+3 majunge000 2026-08-26 11/550 2026-08-27 08:42 by 北京莱茵编辑
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +7 process2012 2026-08-23 10/500 2026-08-26 19:23 by hmhminy
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +25 木水思豆 2026-08-25 28/1400 2026-08-26 14:53 by draco1987
[基金申请] 能否退出参与的面上项目解除限项 +23 koalala 2026-08-24 26/1300 2026-08-26 14:29 by 宝贝虫子
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 国际合作可查了,中了面上 (EPI+1)(金币+50) +18 Ldrop2023 2026-08-26 18/900 2026-08-26 11:15 by cmrandy
[基金申请] 系统进不去 +4 yanglien 2026-08-26 5/250 2026-08-26 11:10 by wenfengw83
[基金申请] 国合现在查不到了吗? +10 chengyan1220 2026-08-24 20/1000 2026-08-26 08:57 by peasantsprig
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
[基金申请] 明天应该可查了!? +6 chengyan1220 2026-08-23 6/300 2026-08-25 19:45 by zfd97
[基金申请] 没有任何消息-是不是就凉了 +9 图啦图啦 2026-08-24 10/500 2026-08-25 11:59 by 南海小哥
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
信息提示
请填处理意见