24小时热门版块排行榜    

查看: 5702  |  回复: 29
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

暖秋

新虫 (小有名气)


[交流] 【求助】求详细的PWscf并行编译过程(越详细越好,包括各种环境和参数的设置,及软件�

大家好,我按照有关PWscf并行编译的过程在机群上并行编译了PWscf,没有出现错误,并行环境也检测没问题。但计算的时候发现并没有并行。我不懂这个,发现不了到底错在哪里了。想求教一个详细的编译过程,越详细越好,请各位帮帮我,谢谢了。。。
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

暖秋

新虫 (小有名气)


引用回帖:
Originally posted by lfhuang at 2010-12-06 18:57:38:
根据./configure的输出信息:
(1)mpif90找不到,所以程序自动用找到的gfortran来代替了;
(2)mpi环境找不到。
因此,导致所安装的是串行程序。

你好!麻烦你再看一下,这下可以检测到并行环境了,可是make all 之后还是不能并行,你能帮我看看是什么原因吗?

./configure
checking build system type... x86_64-unknown-linux-gnu
checking architecture... x86_64
checking for ifort... ifort
configure: WARNING: using cross tools not prefixed with host triplet
checking whether the Fortran 77 compiler works... yes
checking for Fortran 77 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 77 compiler... no
checking whether ifort accepts -g... yes
checking for mpif90... mpif90
checking whether we are using the GNU Fortran 77 compiler... no
checking whether mpif90 accepts -g... yes
checking version of mpif90... ifort 9.0
setting F90... ifort
setting MPIF90... mpif90
checking for icc... icc
checking whether we are using the GNU C compiler... yes
checking whether icc accepts -g... yes
checking for icc option to accept ISO C89... none needed
setting CC... icc
checking how to run the C preprocessor... icc -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 ifort... ifort
checking whether we are using the GNU Fortran 77 compiler... no
checking whether ifort accepts -g... yes
setting F77... ifort
using F90... ifort
setting FFLAGS... -O2 -assume byterecl -g -traceback
setting F90FLAGS... $(FFLAGS) -nomodule
setting FFLAGS_NOOPT... -O0 -assume byterecl -g -traceback
setting CFLAGS... -O3
setting CPP... cpp
setting CPPFLAGS... -P -traditional
setting LD... mpif90
setting LDFLAGS...
setting AR... ar
setting ARFLAGS... ruv
checking whether make sets $(MAKE)... yes
checking whether Fortran files must be preprocessed... no
checking how to get verbose linking output from ifort... -v
checking for Fortran 77 libraries of ifort...  -L/home/software/intel/fce/9.0/lib -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/ -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64 -lsvml -lifport -lifcore -limf -lm -lirc -lirc_s
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
in /opt/intel/Compiler/*/*/mkl/lib/em64t: checking for library containing dgemm... no
in /opt/intel/mkl/8.0/lib/em64t: checking for library containing dgemm... no
in /opt/intel/mkl/9.0/lib/em64t: checking for library containing dgemm... no
in /opt/intel/mkl*/lib/em64t: checking for library containing dgemm... no
in /home/software/intel/fce/9.0/lib: checking for library containing dgemm... no
in /home/software/intel/cce/9.0/lib: checking for library containing dgemm... no
in /home/software/intel/mkl/8.0/lib/em64t: checking for library containing dgemm... no
in /home/software/tclsh8.4.16/lib: checking for library containing dgemm... no
in /home/software/mpich-1.2.7-intel9//lib: checking for library containing dgemm... no
checking for library containing dgemm... no
in /usr/local/lib: checking for library containing dgemm... no
in /home/software/intel/fce/9.0/lib: checking for library containing dgemm... no
in /home/software/intel/cce/9.0/lib: checking for library containing dgemm... no
in /home/software/intel/mkl/8.0/lib/em64t: checking for library containing dgemm... no
in /home/software/tclsh8.4.16/lib: checking for library containing dgemm... no
in /home/software/mpich-1.2.7-intel9//lib: checking for library containing dgemm... no
checking for library containing dgemm... -lblas
checking for library containing dspev... -llapack
setting BLAS_LIBS... -lblas
setting LAPACK_LIBS... -llapack
checking for library containing dfftw_execute_dft... no
in /usr/local/lib: checking for library containing dfftw_execute_dft... no
in /home/software/intel/fce/9.0/lib: checking for library containing dfftw_execute_dft... no
in /home/software/intel/cce/9.0/lib: checking for library containing dfftw_execute_dft... no
in /home/software/intel/mkl/8.0/lib/em64t: checking for library containing dfftw_execute_dft... no
in /home/software/tclsh8.4.16/lib: checking for library containing dfftw_execute_dft... no
in /home/software/mpich-1.2.7-intel9//lib: checking for library containing dfftw_execute_dft... no
setting FFT_LIBS...
setting MASS_LIBS...
checking for library containing mpi_init... none required
setting MPI_LIBS...
checking for library containing mpi_init... (cached) none required
checking for library containing pdgemr2d... no
checking for library containing pdgemr2d... no
checking for library containing pdgemr2d... no
setting DFLAGS... -D__INTEL -D__FFTW -D__MPI -D__PARA
setting IFLAGS... -I../include
setting FDFLAGS... $(DFLAGS)
checking for ranlib... ranlib
setting RANLIB... ranlib
configure: creating ./config.status
config.status: creating include/fft_defs.h
config.status: creating make.sys
config.status: creating configure.msg
config.status: creating plugins/install/make_wannier90.sys
config.status: creating extlibs/install/make_blas.inc
config.status: creating extlibs/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= -lblas
  LAPACK_LIBS= -llapack
  FFT_LIBS=
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 detected successfully.\
Configured for compilation of parallel executables.

For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
--------------------------------------------------------------------
configure: success
10楼2010-12-07 11:20:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 30 个回答
★
暖秋(金币+1): 2010-12-06 10:54:03
youzhizhe(金币+1): 谢谢交流。 2011-05-11 20:45:37
pwscf编译应该很简单
既然已经编译上去了
可以说一下你的错误
大家帮你看一下错误
2楼2010-12-05 23:03:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

暖秋

新虫 (小有名气)


引用回帖:
Originally posted by zzy870720z at 2010-12-05 23:03:08:
pwscf编译应该很简单
既然已经编译上去了
可以说一下你的错误
大家帮你看一下错误

mpif90  -o gww.x \
        gww.o basic_structures.o compact_product.o create_hf.o create_quasi_particle.o energies_gww.o expansion.o fft_gw.o fit_multipole.o fit_polynomial.o go_dressed_w.o go_exchange.o go_fft.o go_green.o go_polarization.o green_function.o gv_time.o input_gw.o para_gww.o polarization.o read_data_pw.o remainder.o self_energy.o self_energy_storage.o start_end.o times_gw.o vcprim.o  ../../Modules/libqemod.a ../../iotk/src/libiotk.a ../../flib/flib.a ../../clib/clib.a ../../flib/ptools.a ../../Multigrid/mglib.a  -lmkl_lapack  -L/home/software/intel/mkl/8.0/lib/em64t/ -lguide -lmkl -llapack -lvml     ../minpack/minpacklib.a
( cd ../../bin; ln -fs ../GWW/gww/gww.x . )
mpif90 -O2 -assume byterecl -g -traceback -nomodule -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -I../../include -I../../iotk/src -I../../Modules -I../../EE -I../pw4gww -I. -c gww_fit.f90
mpif90  -o gww_fit.x \
gww_fit.o basic_structures.o compact_product.o create_hf.o create_quasi_particle.o energies_gww.o expansion.o fft_gw.o fit_multipole.o fit_polynomial.o go_dressed_w.o go_exchange.o go_fft.o go_green.o go_polarization.o green_function.o gv_time.o input_gw.o para_gww.o polarization.o read_data_pw.o remainder.o self_energy.o self_energy_storage.o start_end.o times_gw.o vcprim.o  ../../Modules/libqemod.a ../../iotk/src/libiotk.a ../../flib/flib.a ../../clib/clib.a ../../flib/ptools.a ../../Multigrid/mglib.a  -lmkl_lapack  -L/home/software/intel/mkl/8.0/lib/em64t/ -lguide -lmkl -llapack -lvml     ../minpack/minpacklib.a
( cd ../../bin; ln -fs ../GWW/gww/gww_fit.x . )
make[2]: Leaving directory `/home/software/PW/PW1/espresso-4.2/GWW/gww'
make[1]: Leaving directory `/home/software/PW/PW1/espresso-4.2/GWW'
if test -d TDDFPT ; then \
( cd TDDFPT ; if test "make" = "" ; then make  TLDEPS= all ; \
else make  TLDEPS= all ; fi ) ; fi
请各位看看,这是什么原因?
3楼2010-12-06 10:53:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
暖秋(金币+1): 2010-12-06 16:35:02
引用回帖:
Originally posted by 暖秋 at 2010-12-06 10:53:52:

mpif90  -o gww.x \
        gww.o basic_structures.o compact_product.o create_hf.o create_quasi_particle.o energies_gww.o expansion.o fft_gw.o fit_multipole.o fit_polynomial.o go_dressed_w.o go_exchange ...

没有报错啊
4楼2010-12-06 10:55:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 龙 兔 虎 猫 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[硕博家园] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +4 XJXMuRjD7cK7 2026-11-13 4/200 2026-11-16 11:28 by K7HMGGdOpylw
[公派出国] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 uKOSCocCb6Fm 2026-11-13 4/200 2026-11-16 10:44 by K7HMGGdOpylw
[硕博家园] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 XJXMuRjD7cK7 2026-11-13 4/200 2026-11-15 06:50 by xSrQNSSjcgoX
[公派出国] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 uKOSCocCb6Fm 2026-11-12 7/350 2026-11-15 02:48 by xSrQNSSjcgoX
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 G2rhSvqvhNzl 2026-11-10 6/300 2026-11-15 00:24 by Equinoxhua
[考研] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +5 G2rhSvqvhNzl 2026-11-10 7/350 2026-11-14 21:58 by Equinoxhua
[考博] 27博士申请(市政/环境) +3 ladf 2026-11-12 3/150 2026-11-13 08:19 by Equinoxhua
[教师之家] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +6 czAiolzR0IJC 2026-11-10 6/300 2026-11-12 16:55 by zzy933268
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 TgvkbZZl9tqB 2026-11-11 6/300 2026-11-12 12:42 by ECLTXnJnRSXf
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +4 Z7qfCsdIiD1T 2026-11-11 5/250 2026-11-12 11:44 by HajghKOMynmz
[公派出国] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 Z7qfCsdIiD1T 2026-11-10 7/350 2026-11-12 11:31 by HajghKOMynmz
[硕博家园] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +4 Z7qfCsdIiD1T 2026-11-10 6/300 2026-11-12 11:22 by HajghKOMynmz
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +5 czAiolzR0IJC 2026-11-10 7/350 2026-11-12 11:09 by HajghKOMynmz
[考研] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +5 czAiolzR0IJC 2026-11-10 6/300 2026-11-12 11:03 by HajghKOMynmz
[考博] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 G2rhSvqvhNzl 2026-11-10 5/250 2026-11-12 10:49 by HajghKOMynmz
[考研] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +4 G2rhSvqvhNzl 2026-11-10 6/300 2026-11-12 10:36 by HajghKOMynmz
[公派出国] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 C6CRn66RYYXS 2026-11-10 8/400 2026-11-12 10:27 by HajghKOMynmz
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +5 C6CRn66RYYXS 2026-11-10 7/350 2026-11-12 10:16 by HajghKOMynmz
[论文投稿] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 cdqGD6ftHmbl 2026-11-11 3/150 2026-11-12 07:53 by HajghKOMynmz
[考研] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 cdqGD6ftHmbl 2026-11-11 3/150 2026-11-12 07:53 by HajghKOMynmz
信息提示
请填处理意见