24小时热门版块排行榜    

查看: 1915  |  回复: 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 的主题更新
信息提示
请填处理意见