24小时热门版块排行榜    

查看: 4706  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 听说今天filecode变了 +4 布布和一二 2026-08-06 7/350 2026-08-06 17:06 by wdc28
[基金申请] 基金中了 +3 laoda193707 2026-08-06 3/150 2026-08-06 16:52 by 且听虎啸
[基金申请] filecode +7 布布和一二 2026-08-06 10/500 2026-08-06 16:22 by janehuiminli
[基金申请] filecode +8 等待解的谜 2026-08-06 12/600 2026-08-06 16:11 by janehuiminli
[基金申请] 大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑 +4 Tide man 2026-08-06 5/250 2026-08-06 16:08 by janehuiminli
[有机交流] 一个有机合成实验室都需要哪些设备? 50+3 kf2781974 2026-07-31 12/600 2026-08-06 15:11 by eddyin
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[教师之家] 咨询面上基金 +4 李长云 2026-07-31 7/350 2026-08-06 11:20 by 李长云
[基金申请] 影响面上的因素 +8 布布和一二 2026-08-05 11/550 2026-08-06 10:41 by 宝贝虫子
[基金申请] 8月时间戳变的,举个手。玩一下,释放压力 +9 archvillain 2026-08-04 11/550 2026-08-05 20:06 by wlwhappy
[基金申请] 面上再次挂了,太难了,躺也躺不了,倦也卷不过,小学校之殇! +22 低垂的野花 2026-07-31 30/1500 2026-08-05 18:03 by 低垂的野花
[基金申请] 好消息?这个有何含义??? +8 Tide man 2026-08-05 10/500 2026-08-05 16:14 by xmuxiaoyu
[考博] 【2027博士申请】纳米药物递送方向 20+3 13586093586 2026-08-03 4/200 2026-08-05 09:59 by lfy8008
[基金申请] 有没有H口的?有收到消息的吗? +3 超级海虾 2026-08-04 3/150 2026-08-04 17:26 by 学教育滴
[论文投稿] 十年后又回来了,论文投稿求助 +3 哈哈114477 2026-08-01 3/150 2026-08-04 15:40 by tegsgjy20
[基金申请] 纯娱乐,不喜欢勿喷 +7 Tide man 2026-08-04 10/500 2026-08-04 15:10 by loufangrui
[基金申请] 面上提前没消息,有中的吗 +14 archvillain 2026-08-02 18/900 2026-08-04 14:42 by archvillain
[基金申请] 娱乐 +4 Tide man 2026-08-03 4/200 2026-08-04 11:51 by wgch518
[基金申请] 什么时候能放榜呀? +3 Jacob678 2026-08-03 3/150 2026-08-03 16:14 by gltch
[基金申请] 你们的时间戳变了吗 +3 archvillain 2026-07-30 4/200 2026-07-30 18:53 by levinzhwen
信息提示
请填处理意见