24小时热门版块排行榜    

查看: 2029  |  回复: 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的回帖

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的回帖
查看全部 9 个回答

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的回帖

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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 招收博士1-2人 +3 QGZDSYS 2026-03-18 3/150 2026-03-20 11:58 by 呱呱呱呱叫
[考研] 317求调剂 +4 申子申申 2026-03-19 8/400 2026-03-20 11:20 by 申子申申
[考研] 一志愿武汉理工材料工程专硕调剂 +7 Doleres 2026-03-19 7/350 2026-03-20 10:39 by EBSD
[考研] 304求调剂 +5 曼殊2266 2026-03-18 5/250 2026-03-20 09:00 by ZHANG0tao
[考研] 085600材料与化工 求调剂 +17 enenenhui 2026-03-13 18/900 2026-03-20 08:55 by xingguangj
[考研] 材料学硕318求调剂 +5 February_Feb 2026-03-19 5/250 2026-03-19 23:51 by 23Postgrad
[考研] 288求调剂,一志愿华南理工大学071005 +5 ioodiiij 2026-03-17 5/250 2026-03-19 18:22 by zcl123
[考研] 085601材料工程专硕求调剂 +10 慕寒mio 2026-03-16 10/500 2026-03-19 15:26 by 丁丁*
[考研] 286求调剂 +6 lemonzzn 2026-03-16 10/500 2026-03-19 14:31 by lemonzzn
[考研] 328求调剂,英语六级551,有科研经历 +4 生物工程调剂 2026-03-16 12/600 2026-03-19 11:10 by 生物工程调剂
[考研] 一志愿华中科技大学,080502,354分求调剂 +4 守候夕阳CF 2026-03-18 4/200 2026-03-18 22:16 by li123456789.
[考研] 08工科 320总分 求调剂 +5 梨花珞晚风 2026-03-17 5/250 2026-03-18 14:49 by haxia
[考研] 280求调剂 +6 咕噜晓晓 2026-03-18 7/350 2026-03-18 11:25 by 无际的草原
[考研] 0703化学调剂 +3 妮妮ninicgb 2026-03-17 3/150 2026-03-18 10:29 by macy2011
[考研] [导师推荐]西南科技大学国防/材料导师推荐 +3 尖角小荷 2026-03-16 6/300 2026-03-16 23:21 by 尖角小荷
[考研] 070300化学学硕求调剂 +6 太想进步了0608 2026-03-16 6/300 2026-03-16 16:13 by kykm678
[考研] 288求调剂 +4 奇点0314 2026-03-14 4/200 2026-03-14 23:04 by JourneyLucky
[考研] 297一志愿上交085600求调剂 +5 指尖八千里 2026-03-14 5/250 2026-03-14 17:26 by a不易
[考研] 一志愿哈工大材料324分求调剂 +5 闫旭东 2026-03-14 5/250 2026-03-14 14:53 by 木瓜膏
[考研] 297求调剂 +4 学海漂泊 2026-03-13 4/200 2026-03-14 11:51 by 热情沙漠
信息提示
请填处理意见