24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1933  |  回复: 9

lclicong

铁虫 (初入文坛)

[求助] PWSCF在用make all编译时出错已有2人参与

在用./configure安装完后,用make all进行编译时总是出错,希望各位大神帮忙解决!!报错如下:
test -d bin || mkdir bin
cd install ; make -f extlibs_makefile libiotk
make[1]: Entering directory `/home/phys/licong14/espresso-5.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;
/bin/sh: line 0: cd: ../S3DE/iotk/src: No such file or directory
make[2]: Entering directory `/home/phys/licong14/espresso-5.1/install'
make[2]: *** No rule to make target `lib+util'.  Stop.
make[2]: Leaving directory `/home/phys/licong14/espresso-5.1/install'
make[1]: *** [libiotk] Error 2
make[1]: Leaving directory `/home/phys/licong14/espresso-5.1/install'
make: *** [libiotk] Error 2
回复此楼

» 猜你喜欢

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

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

hn19870519

木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
make all 是编译所有的模块,你是把所有的模块都下了么。
2楼2014-10-24 07:23:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lclicong

铁虫 (初入文坛)

引用回帖:
2楼: Originally posted by hn19870519 at 2014-10-24 07:23:01
make all 是编译所有的模块,你是把所有的模块都下了么。

我用make pw,编译其中一个也出现相似的问题
3楼2014-10-24 11:25:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

KalaShayminS

铁杆木虫 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
请确认下archive/iotk-1.2.beta.tar.gz这个文件是否存在。
4楼2014-10-24 16:33:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lclicong

铁虫 (初入文坛)

引用回帖:
4楼: Originally posted by KalaShayminS at 2014-10-24 16:33:03
请确认下archive/iotk-1.2.beta.tar.gz这个文件是否存在。

文件存在
5楼2014-10-24 22:55:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lclicong

铁虫 (初入文坛)

引用回帖:
4楼: Originally posted by KalaShayminS at 2014-10-24 16:33:03
请确认下archive/iotk-1.2.beta.tar.gz这个文件是否存在。

用./configure安装时,产生以下的代码:
checking build system type... x86_64-unknown-linux-gnu
detected architecture... x86_64
checking for ifort... no
checking for pgf90... no
checking for pathf95... no
checking for sunf95... no
checking for openf95... no
checking for gfortran... gfortran
configure: WARNING: using cross tools not prefixed with host triplet
checking whether the Fortran compiler works... yes
checking for Fortran compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for Fortran flag to compile .f90 files... none
checking for mpif90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking version of gfortran... gfortran 4.4.7
setting F90... gfortran
setting MPIF90... gfortran
checking for cc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
setting CC... cc
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of int *... 8
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for struct mallinfo.arena... yes
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
setting F77... gfortran
using F90... gfortran
setting FFLAGS... -O3 -g
setting F90FLAGS... $(FFLAGS) -x f95-cpp-input
setting FFLAGS_NOOPT... -O0 -g
setting CFLAGS... -O3
setting CPP... cpp
setting CPPFLAGS... -P -C -traditional
setting LD... gfortran
setting LDFLAGS... -g -pthread
setting AR... ar
setting ARFLAGS... ruv
checking whether make sets $(MAKE)... yes
checking whether Fortran files must be preprocessed... no
checking host system type... x86_64-unknown-linux-gnu
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran...  -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. -lgfortranbegin -lgfortran -lm
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking for library containing dgemm... no
MKL not found
in /opt/intel/composer_xe_2013.3.163/mkl/lib/intel64: checking for library containing dgemm... -lmkl_gf_lp64
checking for library containing dspev... none required
setting BLAS_LIBS... -L/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64 -lmkl_gf_lp64 -lmkl_sequential -lmkl_core
setting LAPACK_LIBS...
checking for library containing dfftw_execute_dft... -lfftw3
setting FFT_LIBS... -lfftw3
setting MASS_LIBS...
checking for library containing mpi_init... no
setting MPI_LIBS...
checking for library containing mpi_init... (cached) no
setting SCALAPACK_LIBS...
setting DFLAGS... -D__GFORTRAN -D__STD_F95 -D__FFTW3
setting IFLAGS... -I../include
setting FDFLAGS... $(DFLAGS)
checking for ranlib... ranlib
setting RANLIB... ranlib
checking for wget... wget -O
setting WGET... wget -O
configure: creating ./config.status
config.status: creating include/fft_defs.h
config.status: creating make.sys
config.status: creating configure.msg
config.status: creating install/make_wannier90.sys
config.status: creating install/make_blas.inc
config.status: creating install/make_lapack.inc
config.status: creating include/c_defs.h
config.status: include/c_defs.h is unchanged
--------------------------------------------------------------------
ESPRESSO can take advantage of several optimized numerical libraries
(essl, fftw, mkl...).  This configure script attempts to find them,
but may fail if they have been installed in non-standard locations.
If a required library is not found, the local copy will be compiled.

The following libraries have been found:
  BLAS_LIBS=-L/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64 -lmkl_gf_lp64  -lmkl_sequential -lmkl_core
  LAPACK_LIBS=
  FFT_LIBS= -lfftw3
Please check if this is what you expect.

If any libraries are missing, you may specify a list of directories
to search and retry, as follows:
  ./configure LIBDIRS="list of directories, separated by spaces"

Parallel environment not detected \(is this a parallel machine?\).\
Configured for compilation of serial executables.

For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
--------------------------------------------------------------------
configure: success
6楼2014-10-24 23:25:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

KalaShayminS

铁杆木虫 (著名写手)

【答案】应助回帖


ljw4010: 金币+1, 谢谢指导交流! 2014-11-02 13:58:31
直接在主目录下运行一遍
cd 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
看看是否正确解压出来了S3DE/iotk文件夹。
7楼2014-10-26 08:09:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lclicong

铁虫 (初入文坛)

引用回帖:
6楼: Originally posted by lclicong at 2014-10-24 23:25:02
用./configure安装时,产生以下的代码:
checking build system type... x86_64-unknown-linux-gnu
detected architecture... x86_64
checking for ifort... no
checking for pgf90... no
checking for pathf ...

谢谢你,问题已解决了
8楼2014-10-31 19:58:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

KalaShayminS

铁杆木虫 (著名写手)

引用回帖:
8楼: Originally posted by lclicong at 2014-10-31 19:58:23
谢谢你,问题已解决了...

是什么问题?
9楼2014-10-31 23:39:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lclicong

铁虫 (初入文坛)

引用回帖:
9楼: Originally posted by KalaShayminS at 2014-10-31 23:39:14
是什么问题?...

由于我用的是我学校的计算中心的端口,我学校跟我分配的配额太少,上传时有好多文件不能完全上传,导致安装时要好多文件缺失
10楼2014-11-01 14:44:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 lclicong 的主题更新
信息提示
请填处理意见