24小时热门版块排行榜    

查看: 2024  |  回复: 8

damao4361556

铁虫 (正式写手)

[求助] 编译出现错误,请各位大神指教

test -d bin || mkdir bin
cd install ; make  -f extlibs_makefile libiotk
make[1]: Entering directory `/home/liwei/espresso-5.0.1/install'
if test ! -d ../S3DE; then \
        (gzip -dc ../archive/iotk-1.2.beta.tar.gz | (cd ../; tar -xvf -)) ; \
        if test -e Makefile_iotk; then \
        (cp Makefile_iotk ../S3DE/iotk/src/Makefile); fi; \
        if test -e iotk_config.h; then \
        (cp iotk_config.h ../S3DE/iotk/include/iotk_config.h); fi; fi
cd ../S3DE/iotk/src; make lib+util;
make[2]: Entering directory `/home/liwei/espresso-5.0.1/S3DE/iotk/src'
make[2]: Nothing to be done for `lib+util'.
make[2]: Leaving directory `/home/liwei/espresso-5.0.1/S3DE/iotk/src'
cd ../bin; ln -fs ../S3DE/iotk/tools/iotk .; \
        ln -fs ../S3DE/iotk/src/iotk.x .; \
        ln -fs ../S3DE/iotk/src/iotk_print_kinds.x .; \
        cd ../; ln -fs S3DE/iotk iotk
make[1]: Leaving directory `/home/liwei/espresso-5.0.1/install'
( cd Modules ; if test "make" = "" ; then make  TLDEPS= all ; \
        else make  TLDEPS= all ; fi )
make[1]: Entering directory `/home/liwei/espresso-5.0.1/Modules'
( if test -x ../install/update_version ; then \
                       ../install/update_version; fi )
gfortran -O3 -g -x f95-cpp-input -D__GFORTRAN -D__STD_F95 -D__FFTW -I../include -I../iotk/src -I. -c version.f90
gfortran: version.f90: No such file or directory
gfortran: warning: '-x f95-cpp-input' after last input file has no effect
gfortran: no input files
make[1]: *** [version.o] Error 1
make[1]: Leaving directory `/home/liwei/espresso-5.0.1/Modules'
make: *** [mods] Error 2
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

souledge

专家顾问 (著名写手)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
liliangfang: 金币+2, 谢谢交流 2013-05-04 18:22:59
以前编译过半成品?先make clean一次,然后再编译。
顺便请提供make.sys,否则咋判断?
思想重于技巧,内涵重于表象
2楼2013-05-04 17:45:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

damao4361556

铁虫 (正式写手)

你好 非常感谢你的回复

这事困扰我很久了,一直找不到解决办法  大概过程是这样的, 我在大服务器上编译,大服务器本来就有gfortran 编译器 以及 MPI等等,我在编译QE的时候没有另外装编译器 以及 并行编译

直接解压,./configure ,此过程正常,在make all 以后,就出现这个额情况了, 给你发的是make。sys信息, LD             = gfortran
LDFLAGS        =  -g
LD_LIBS        =

# External Libraries (if any) : blas, lapack, fft, MPI

# If you have nothing better, use the local copy :
# BLAS_LIBS = /your/path/to/espresso/BLAS/blas.a
# BLAS_LIBS_SWITCH = internal

BLAS_LIBS      = -L/opt/intel/Compiler/11.1/064/mkl/lib/em64t -lmkl_intel_lp64  -lmkl_sequential -lmkl_core
BLAS_LIBS_SWITCH = external

# If you have nothing better, use the local copy :
# LAPACK_LIBS = /your/path/to/espresso/lapack-3.2/lapack.a
# LAPACK_LIBS_SWITCH = internal
# For IBM machines with essl (-D__ESSL): load essl BEFORE lapack !
# remember that LAPACK_LIBS precedes BLAS_LIBS in loading order

LAPACK_LIBS    =
LAPACK_LIBS_SWITCH = external

SCALAPACK_LIBS =

# nothing needed here if the the internal copy of FFTW is compiled
# (needs -D__FFTW in DFLAGS)

FFT_LIBS       =

# For parallel execution, the correct path to MPI libraries must
# be specified in MPI_LIBS (except for IBM if you use mpxlf)

MPI_LIBS       =

# IBM-specific: MASS libraries, if available and if -D__MASS is defined in FDFLAGS

MASS_LIBS      =

# ar command and flags - for most architectures: AR = ar, ARFLAGS = ruv

AR             = ar
ARFLAGS        = ruv

# ranlib command. If ranlib is not needed (it isn't in most cases) use
# RANLIB = echo

RANLIB         = ranlib

# all internal and external libraries - do not modify

FLIB_TARGETS   = all

LIBOBJS        = ../flib/ptools.a ../flib/flib.a ../clib/clib.a ../iotk/src/libiotk.a
LIBS           = $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(FFT_LIBS) $(BLAS_LIBS) $(MPI_LIBS) $(MASS_LIBS) $(LD_LIBS)

# wget or curl - useful to download from network
WGET = wget -O

# topdir for linking espresso libs with plugins
TOPDIR = /home/liwei/espresso-5.0.1
3楼2013-05-05 14:40:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

damao4361556

铁虫 (正式写手)

引用回帖:
2楼: Originally posted by souledge at 2013-05-04 17:45:41
以前编译过半成品?先make clean一次,然后再编译。
顺便请提供make.sys,否则咋判断?

另外 make clean以后,再编译 还是出现这种错误,
4楼2013-05-05 14:45:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

abbott

金虫 (著名写手)

不要用QQ问我东西


sunyang1988: 金币+1, 谢谢交流 2013-09-06 10:43:08
你有确认  你所在的机器上, gcc gfortran icc ifort等版本一致?
Chemistry[]==[]Chem[]is[]try!!!
5楼2013-09-05 09:47:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kobe6777

新虫 (小有名气)

你编译的是啥啊

[ 发自小木虫客户端 ]
6楼2013-09-12 01:39:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kobe6777

新虫 (小有名气)

你编译的是啥啊

[ 发自小木虫客户端 ]
7楼2013-09-12 01:40:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

damao4361556

铁虫 (正式写手)

引用回帖:
6楼: Originally posted by kobe6777 at 2013-09-12 01:39:22
你编译的是啥啊

PWSCF 你咋这么晚 还不睡呢
8楼2013-09-12 09:03:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kobe6777

新虫 (小有名气)

引用回帖:
8楼: Originally posted by damao4361556 at 2013-09-12 09:03:07
PWSCF 你咋这么晚 还不睡呢...

这是啥汉语

[ 发自小木虫客户端 ]
9楼2013-09-12 10:06:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 damao4361556 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 070300化学319求调剂 +4 锦鲤0909 2026-03-17 4/200 2026-03-17 18:21 by 重科小霸王
[考研] 一志愿天津大学化学工艺专业(081702)315分求调剂 +5 yangfz 2026-03-17 5/250 2026-03-17 17:01 by ruiyingmiao
[考研] 材料与化工求调剂 +5 为学666 2026-03-16 5/250 2026-03-17 16:40 by 无际的草原
[考研] 梁成伟老师课题组欢迎你的加入 +8 一鸭鸭哟 2026-03-14 10/500 2026-03-17 15:07 by 一鸭鸭哟
[考研] 268求调剂 +6 好运连绵不绝 2026-03-12 7/350 2026-03-17 14:56 by 呦呦忧郁
[考研] 0854可跨调剂,一作一项核心论文五项专利,省、国级证书40+数一英一287 +3 小李0854 2026-03-16 3/150 2026-03-17 13:40 by 热情沙漠
[考研] 考研调剂 +3 淇ya_~ 2026-03-17 5/250 2026-03-17 09:25 by Winj1e
[基金申请] 今年的国基金是打分制吗? 50+3 zhanghaozhu 2026-03-14 3/150 2026-03-16 17:07 by 北京莱茵润色
[考研] 304求调剂 +5 素年祭语 2026-03-15 5/250 2026-03-16 17:00 by 我的船我的海
[考研] 0856求调剂 +3 刘梦微 2026-03-15 3/150 2026-03-16 10:00 by houyaoxu
[考研] 289求调剂 +4 这么名字咋样 2026-03-14 6/300 2026-03-14 18:58 by userper
[考研] 中科大材料专硕319求调剂 +3 孟鑫材料 2026-03-13 3/150 2026-03-14 18:10 by houyaoxu
[基金申请] 有必要更换申报口吗 20+3 fannyamoy 2026-03-11 3/150 2026-03-14 00:52 by zhanghaozhu
[考研] 285 求调剂 资源与环境 一志愿北京化工大学 +3 未名考生 2026-03-10 3/150 2026-03-13 23:04 by JourneyLucky
[考研] 四川大学085601材料工程专硕 初试294求调剂 +4 祝我们好在冬天 2026-03-11 4/200 2026-03-13 21:39 by peike
[考研] 26调剂/材料科学与工程/总分295/求收留 +9 2026调剂侠 2026-03-12 9/450 2026-03-13 20:46 by 18595523086
[考研] 求b区学校调剂 +3 周56 2026-03-11 3/150 2026-03-13 16:20 by JourneyLucky
[考研] 274求调剂 +3 S.H1 2026-03-12 3/150 2026-03-13 15:15 by JourneyLucky
[考研] 289求调剂 +3 李政莹 2026-03-12 3/150 2026-03-13 11:02 by 求调剂zz
[考研] 290求调剂 +3 ADT 2026-03-13 3/150 2026-03-13 10:19 by peike
信息提示
请填处理意见