24小时热门版块排行榜    

查看: 4032  |  回复: 5
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

雁儿霏霏

木虫 (正式写手)

[求助] vasp编译,编译结尾出现错误, 请各位大师指教!谢谢!

vasp编译,严格按照http://muchong.com/bbs/viewthread.php?tid=10728477的方法,今编译结尾出现错误如下:
请各位大师指教!谢谢!(另外工作站中同时存在ifort 2011版和2013版,不知道是否跟着有关系)


rm -f vasp
mpif90 -mkl -o vasp base.o mpi.o smart_allocate.o xml.o constant.o jacobi.o main_mpi.o scala.o asa.o lattice.o poscar.o ini.o mgrid.o xclib.o vdw_nl.o xclib_grad.o radial.o pseudo.o gridq.o ebs.o mkpoints.o wave.o wave_mpi.o wave_high.o spinsym.o symmetry.o symlib.o lattlib.o random.o nonl.o nonlr.o nonl_high.o dfast.o choleski2.o mix.o hamil.o xcgrad.o xcspin.o potex1.o potex2.o constrmag.o cl_shift.o relativistic.o LDApU.o paw_base.o metagga.o egrad.o pawsym.o pawfock.o pawlhf.o rhfatm.o hyperfine.o paw.o mkpoints_full.o charge.o Lebedev-Laikov.o stockholder.o dipol.o solvation.o pot.o dos.o elf.o tet.o tetweight.o hamil_rot.o chain.o dyna.o k-proj.o sphpro.o us.o core_rel.o aedens.o wavpre.o wavpre_noio.o broyden.o dynbr.o reader.o writer.o tutor.o xml_writer.o brent.o stufak.o fileio.o opergrid.o stepver.o chgloc.o fast_aug.o fock_multipole.o fock.o mkpoints_change.o subrot_cluster.o sym_grad.o mymath.o npt_dynamics.o subdftd3.o internals.o dynconstr.o dimer_heyden.o dvvtrajectory.o vdwforcefield.o hamil_high.o nmr.o pead.o subrot.o subrot_scf.o paircorrection.o force.o pwlhf.o gw_model.o optreal.o steep.o rmm-diis.o davidson.o david_inner.o electron.o rot.o electron_all.o shm.o pardens.o optics.o constr_cell_relax.o stm.o finite_diff.o elpol.o hamil_lr.o rmm-diis_lr.o subrot_lr.o lr_helper.o hamil_lrf.o elinear_response.o ilinear_response.o linear_optics.o setlocalpp.o wannier.o electron_OEP.o electron_lhf.o twoelectron4o.o gauss_quad.o m_unirnk.o varpro.o minimax.o mlwf.o ratpol.o screened_2e.o wave_cacher.o chi_base.o wpot.o local_field.o ump2.o ump2kpar.o fcidump.o ump2no.o bse_te.o bse.o acfdt.o chi.o sydmat.o rmm-diis_mlr.o linear_response_NMR.o wannier_interpol.o linear_response.o lcao_bare.o wnpr.o dmft.o auger.o dmatrix.o fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o /opt/fftw/lib/libfftw3_mpi.a main.o  -Llib -ldmy /opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64/libmkl_scalapack_lp64.a /opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64/libmkl_scalapack_ilp64.a -L/opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64 -lmkl_blacs_openmpi_lp64 -L/opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -L/opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread
mpi.o: In function `mpimy_mp_m_divide_shmem_':
mpi.f90:(.text+0x677): undefined reference to `getshmem_'
mpi.f90:(.text+0x69e): undefined reference to `attachshmem_'
mpi.f90:(.text+0x809): undefined reference to `detachshmem_'
mpi.f90:(.text+0x81e): undefined reference to `destroyshmem_'
wave.o: In function `wave_mp_newwav_shmem_':
wave.f90:(.text+0x6fd7): undefined reference to `attachshmem_'
wave.f90:(.text+0x710d): undefined reference to `attachshmem_'
wave.f90:(.text+0x725e): undefined reference to `getshmem_'
wave.f90:(.text+0x728c): undefined reference to `getshmem_'
wave.o: In function `wave_mp_delwav_shmem_':
wave.f90:(.text+0x7847): undefined reference to `detachshmem_'
wave.f90:(.text+0x78ad): undefined reference to `destroyshmem_'
pead.o: In function `pead_mp_dpsi_dk_berry_':
pead.f90:(.text+0xff56): undefined reference to `zgeco_'
pead.f90:(.text+0xffc5): undefined reference to `zgedi_'
pead.o: In function `pead_mp_imlndet_':
pead.f90:(.text+0x17ee5): undefined reference to `zgeco_'
pead.f90:(.text+0x17f47): undefined reference to `zgedi_'
pead.o: In function `pead_mp_dets_':
pead.f90:(.text+0x1846b): undefined reference to `zgeco_'
pead.f90:(.text+0x184c5): undefined reference to `zgedi_'
elpol.o: In function `elpol_mp_berry_':
elpol.f90:(.text+0x7443): undefined reference to `zgeco_'
elpol.f90:(.text+0x748f): undefined reference to `zgedi_'
chi_base.o: In function `chi_base_mp_add_xi_':
chi_base.f90:(.text+0x3272): undefined reference to `locksem_'
chi_base.f90:(.text+0x37e2): undefined reference to `unlocksem_'
chi_base.o: In function `chi_base_mp_allocate_responsefun_shmem_':
chi_base.f90:(.text+0x14ee0): undefined reference to `getsem_'
chi_base.f90:(.text+0x14f46): undefined reference to `getshmem_error_'
chi_base.f90:(.text+0x15053): undefined reference to `attachshmem_'
chi_base.f90:(.text+0x1513a): undefined reference to `destroyshmem_'
chi_base.o: In function `chi_base_mp_deallocate_responsefun_':
chi_base.f90:(.text+0x1605e): undefined reference to `detachshmem_'
chi_base.f90:(.text+0x1608c): undefined reference to `destroysem_'
chi_base.o: In function `chi_base_mp_clean_responsefunction_cache_':
chi_base.f90:(.text+0x16c52): undefined reference to `locksem_'
chi_base.f90:(.text+0x170ba): undefined reference to `unlocksem_'
chi_base.o: In function `chi_base_mp_do_pot_hilbert_table_':
chi_base.f90:(.text+0x28283): undefined reference to `locksem_'
chi_base.f90:(.text+0x283df): undefined reference to `unlocksem_'
chi_base.o: In function `chi_base_mp_merge_frequ_':
chi_base.f90:(.text+0x286a6): undefined reference to `locksem_'
chi_base.f90:(.text+0x2877b): undefined reference to `unlocksem_'
auger.o: In function `auger_mp_allocate_wavefun_shmem_':
auger.f90:(.text+0xd79): undefined reference to `getshmem_'
auger.f90:(.text+0xe4d): undefined reference to `attachshmem_'
auger.f90:(.text+0xf88): undefined reference to `getshmem_'
auger.f90:(.text+0x1026): undefined reference to `attachshmem_'
auger.o: In function `auger_mp_deallocate_wavefun_shmem_':
auger.f90:(.text+0x122e): undefined reference to `detachshmem_'
auger.f90:(.text+0x1251): undefined reference to `destroyshmem_'
auger.f90:(.text+0x1275): undefined reference to `detachshmem_'
auger.f90:(.text+0x1298): undefined reference to `destroyshmem_'
make[2]: *** [vasp] 错误 1
make[2]: Leaving directory `/root/桌面/vaspcode/vasp.5.4.1/build/std'
cp: 无法获取"vasp" 的文件状态(stat): 没有那个文件或目录
make[1]: *** [all] 错误 1
make[1]: Leaving directory `/root/桌面/vaspcode/vasp.5.4.1/build/std'
make: *** [std] 错误 2

附makefile.include

# Precompiler options
#CPP_OPTIONS= -DMPI -DHOST=\"IFC91_ompi\" -DIFC \
             -DCACHE_SIZE=4000 -DPGF90 -Davoidalloc \
             -DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective \
             -DnoAugXCmeta -Duse_bse_te \
             -Duse_shmem -Dtbdyn
CPP_OPTIONS= -DMPI -DHOST=\"LinuxIFC\" -DIFC \
             -DCACHE_SIZE=8000 -DPGF90 -Davoidalloc \
             -DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective \
             -DnoAugXCmeta -Duse_bse_te \
             -Duse_shmem -Dtbdyn -DRPROMU_DGEMV -DRACCMU_DGEMV

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

FC         = mpif90
FCL        = mpif90 -mkl

FREE       = -free -names lowercase

#FFLAGS     = -assume byterecl
FFLAGS     = -assume byterecl -FR -heap-arrays
#OFLAG      = -O2
OFLAG      = -O1 -ip
OFLAG_IN   = $(OFLAG)
#DEBUG      = -O0
DEBUG      = -O0 -FR

MKLROOT    =/opt/intel/composer_xe_2011_sp1.6.233/mkl
MKL_PATH   = $(MKLROOT)/lib/intel64
BLAS       =-L$(MKL_PATH) -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread
LAPACK     =-L$(MKL_PATH) -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread
#BLACS      = -lmkl_blacs_openmpi_lp64
BLACS      =-L$(MKL_PATH) -lmkl_blacs_openmpi_lp64
SCALAPACK  = $(MKL_PATH)/libmkl_scalapack_lp64.a $(MKL_PATH)/libmkl_scalapack_ilp64.a $(BLACS)

#OBJECTS    = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o \
             $(MKLROOT)/interfaces/fftw3xf/libfftw3xf_gnu.a
OBJECTS    = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o /opt/fftw/lib/libfftw3_mpi.a
INCS       =-I/opt/fftw/include

LLIBS      = $(SCALAPACK) $(LAPACK) $(BLAS)

OBJECTS_O1 += fft3dfurth.o 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

# Normally no need to change this
SRCDIR     = ../../src
BINDIR     = ../../bin
回复此楼
我美丽我漂亮我是青岛嫚!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

HG2020必胜

新虫 (小有名气)

引用回帖:
3楼: Originally posted by 雁儿霏霏 at 2017-04-10 21:40:40
感谢!大师啊,可以了!我怎么给不了你金币?...

你好,请问你找个问题是什么解决的,我遇到了和你一模一样的问题,参考的是和你一样的链接,万方感谢
6楼2021-04-03 14:14:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

未岸亡灵

铁杆木虫 (著名写手)

暂时离开小木虫


可能是数学库的问题,极有可能是并行库没有配置好的问题。与2011和2013同时存在无关,2013同样可以编vasp,不会有报错

» 本帖已获得的红花(最新10朵)

2楼2017-04-10 12:01:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

雁儿霏霏

木虫 (正式写手)

送红花一朵
引用回帖:
2楼: Originally posted by 未岸亡灵 at 2017-04-10 12:01:19
可能是数学库的问题,极有可能是并行库没有配置好的问题。与2011和2013同时存在无关,2013同样可以编vasp,不会有报错

感谢!大师啊,可以了!我怎么给不了你金币?
我美丽我漂亮我是青岛嫚!
3楼2017-04-10 21:40:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

取名超级难

禁虫 (初入文坛)

本帖内容被屏蔽

4楼2018-10-07 22:09:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 基金不中,共勉 +8 eulota 2026-08-26 8/400 2026-08-27 12:34 by lice_1987
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +5 Kittylucky 2026-08-27 5/250 2026-08-27 12:10 by 姜太公烤鱼
[基金申请] 投票:  有多少人是今天查系统知道结果的? +15 爱看书的可乐 2026-08-26 17/850 2026-08-27 11:29 by xxniao123
[文学芳草园] 梦想 +3 myrtle 2026-08-26 3/150 2026-08-27 10:01 by angelyueyi
[基金申请] 面上合作单位盖章 +3 ssyjh 2026-08-27 3/150 2026-08-27 09:59 by 阿拉贡aragon
[基金申请] 看板上这么多中的,有点像50人群里49个人都是骗子的那种感觉…… +4 a089 2026-08-26 5/250 2026-08-27 09:24 by Howard28
[基金申请] 让我中一个面上吧! +13 大萍1987 2026-08-20 17/850 2026-08-27 08:20 by 大萍1987
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 LIbGuocjEEYw 2026-08-26 4/200 2026-08-27 02:01 by Ie9AyIAvGbvs
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +7 process2012 2026-08-23 10/500 2026-08-26 19:23 by hmhminy
[基金申请] 2026国自然函评费到账 +22 羊腰板 2026-08-21 25/1250 2026-08-26 15:00 by zuocuiping
[基金申请] 能否退出参与的面上项目解除限项 +23 koalala 2026-08-24 26/1300 2026-08-26 14:29 by 宝贝虫子
[基金申请] 出来了 +9 trojank 2026-08-26 9/450 2026-08-26 14:25 by 宝贝虫子
[基金申请] 哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识 +4 yuleib84 2026-08-26 5/250 2026-08-26 13:40 by yuleib84
[基金申请] 为什么国自然不能直接公布 +4 bjdxyxy 2026-08-26 4/200 2026-08-26 13:12 by qingmu1201
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 今天务委会开完了,明天出结果吗 +19 angus9576 2026-08-25 23/1150 2026-08-26 10:03 by zp519
[基金申请] 牛来!米来!面来! +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
[基金申请] 人气不行了 +11 fansofjerry 2026-08-21 11/550 2026-08-25 11:04 by 孤独的英雄6
[基金申请] 我面上完蛋了 +13 且听虎啸 2026-08-20 14/700 2026-08-25 09:10 by mrkang
信息提示
请填处理意见