| 查看: 562 | 回复: 0 | ||
dalongmao木虫 (正式写手)
|
[求助]
siesta-3.1编译不成功
|
|
编译siesta-3.1串行版本,步骤如下: 1. $ tar -zxvf siesta-3.0-b.tgz 2. $ cd siesta-3.1/Obj/ 3. $ sh ../Src/obj_setup.sh 4. $ ../Src/configure 5. $ vi arch.make 6. $ make 下面是arch.make文件内容: ---------------------------------------------- # # This file is part of the SIESTA package. # # Copyright (c) Fundacion General Universidad Autonoma de Madrid: # E.Artacho, J.Gale, A.Garcia, J.Junquera, P.Ordejon, D.Sanchez-Portal # and J.M.Soler, 1996- . # # Use of this software constitutes agreement with the full conditions # given in the SIESTA license, as signed by all legitimate users. # .SUFFIXES: .SUFFIXES: .f .F .o .a .f90 .F90 SIESTA_ARCH=x86_64-unknown-linux-gnu--Intel FPP= FPP_OUTPUT= FC=ifort RANLIB=ranlib SYS=nag SP_KIND=4 DP_KIND=8 KINDS=$(SP_KIND) $(DP_KIND) FFLAGS=-g FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT LDFLAGS= ARFLAGS_EXTRA= FCFLAGS_fixed_f= FCFLAGS_free_f90= FPPFLAGS_fixed_F= FPPFLAGS_free_F90= BLAS_LIBS=-lblas LAPACK_LIBS=-llapack BLACS_LIBS= SCALAPACK_LIBS= COMP_LIBS=dc_lapack.a NETCDF_LIBS= NETCDF_INTERFACE= LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(NETCDF_LIBS) #SIESTA needs an F90 interface to MPI #This will give you SIESTA's own implementation #If your compiler vendor offers an alternative, you may change #to it here. MPI_INTERFACE= MPI_INCLUDE= #Dependency rules are created by autoconf according to whether #discrete preprocessing is necessary or not. .F.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $< .F90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $< .f.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f) $< .f90.o: $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $< ---------------------------------------------------------------------------------------- 出现下面的问题: .o m_stress.o m_eo.o m_spin.o m_gamma.o m_hsx.o m_fire.o get_target_stress.o fire_optim.o zm_fire_optim.o cell_fire_optim.o m_fire_para.o m_fire_mixing.o write_raw_efs.o m_iodm.o m_sparse.o kpoint_pdos.o domain_decom.o schecomm.o printmatrix.o qsort.o mmio.o pspltm1.o lenstr.o setup_ordern_indexes.o nag.o pxf.o libfdf.a libxmlparser.a \ dc_lapack.a `FoX/FoX-config --libs --wcml` -llapack -lblas domain_decom.o(.text+0x256): In function `domaindecom': /export/home/bshi/siesta-3.1/Obj/domain_decom.F:169: undefined reference to `for_flush' make: *** [siesta] Error 1 在siesta邮件里面看见这样的回答,You might be seeing this if your system does not resolve a call to 'flush' in domain_decom. That call is related to now obsolete debugging info and no longer needed, so you can comment it out. It will be fixed in the distribution soon. 请问具体怎样解决问题?另外,把FC改成mpif90结果也是一样,我对编程一点都不懂,应该看些什么书籍?能否推荐一下 [ Last edited by dalongmao on 2011-10-17 at 09:50 ] |
» 猜你喜欢
基金申报
已经有4人回复
计算机、0854电子信息(085401-058412)调剂
已经有4人回复
国自然申请面上模板最新2026版出了吗?
已经有9人回复
溴的反应液脱色
已经有6人回复
纳米粒子粒径的测量
已经有7人回复
常年博士招收(双一流,工科)
已经有4人回复
推荐一本书
已经有10人回复
参与限项
已经有5人回复
有没有人能给点建议
已经有5人回复
假如你的研究生提出不合理要求
已经有12人回复
找到一些相关的精华帖子,希望有用哦~
siesta-3.1并行编译完成时,出了这么一句话。。。
已经有6人回复
siesta-3.1并行编译出错。
已经有7人回复
siesta3.1并行
已经有8人回复
原来编译的siesta突然不能用,重新编译没错,运行出错
已经有13人回复
如何编译origin8.0自定义函数的程序?
已经有6人回复
【求助】安装siesta2.0.2时如何编译arch.make??
已经有17人回复
【其他】成功开发超大晶粒准单晶硅铸锭多项核心技术
已经有3人回复
【求助】vasp编译问题,请自己动手安装成功的人回复!
已经有9人回复
【求助成功】请教一下vasp4.6编译lib得到libdmy.a出现如下信息对不?
已经有10人回复
【分享】几百本世界顶级成功潜能激励开发电子书免费下载【已搜索无重复】
已经有3人回复
科研从小木虫开始,人人为我,我为人人












回复此楼
点击这里搜索更多相关资源