[Pw_forum] Problems on install PWSCF!
Adrain Zhou
adrainzhou at yahoo.com.cn
Mon Oct 18 04:51:10 CEST 2004
Dear all,
I still met some problems on compiling pwscf on AMD opteron64 using LAM-MPI and pgi.
pgf90-Warning-Unknown switch: -pthread
broadcast.o(.text+0x28): In function `broadcast_':
: undefined reference to `mpi_barrier_'
broadcast.o(.text+0x48): In function `broadcast_':
: undefined reference to `mpi_bcast_'
cgather_sym.o(.text+0xfa): In function `cgather_sym_':
: undefined reference to `mpi_barrier_'
cgather_sym.o(.text+0x13b): In function `cgather_sym_':
: undefined reference to `mpi_allgatherv_'
cgather_sym.o(.text+0x169): In function `cgather_sym_':
: undefined reference to `mpi_barrier_'
check.o(.text+0x180): In function `check_':
: undefined reference to `mpi_barrier_'
check.o(.text+0x1d2): In function `check_':
: undefined reference to `mpi_allreduce_'
check.o(.text+0x224): In function `check_':
: undefined reference to `mpi_allreduce_'
check.o(.text+0x446): In function `check_':
: undefined reference to `mpi_bcast_'
error.o(.text+0x2e4): In function `errore_':
: undefined reference to `mpi_abort_'
fft_scatter.o(.text+0x43c): In function `fft_scatter1_':
: undefined reference to `mpi_barrier_'
fft_scatter.o(.text+0x484): In function `fft_scatter1_':
: undefined reference to `mpi_alltoallv_'
fft_scatter.o(.text+0x4bb): In function `fft_scatter1_':
: undefined reference to `mpi_barrier_'
fft_scatter.o(.text+0x503): In function `fft_scatter1_':
: undefined reference to `mpi_alltoallv_'
gather.o(.text+0xfa): In function `gather_':
: undefined reference to `mpi_barrier_'
gather.o(.text+0x144): In function `gather_':
: undefined reference to `mpi_gatherv_'
init_pool.o(.text+0x38): In function `init_pool_':
: undefined reference to `mpi_barrier_'
init_pool.o(.text+0x74): In function `init_pool_':
: undefined reference to `mpi_comm_split_'
init_pool.o(.text+0xaf): In function `init_pool_':
: undefined reference to `mpi_barrier_'
init_pool.o(.text+0xeb): In function `init_pool_':
: undefined reference to `mpi_comm_split_'
maximum.o(.text+0x17): In function `extreme_':
: undefined reference to `mpi_barrier_'
maximum.o(.text+0x49): In function `extreme_':
: undefined reference to `mpi_allreduce_'
maximum.o(.text+0x78): In function `extreme_':
: undefined reference to `mpi_allreduce_'
poolbcast.o(.text+0x28): In function `poolbcast_':
: undefined reference to `mpi_barrier_'
poolbcast.o(.text+0x48): In function `poolbcast_':
: undefined reference to `mpi_bcast_'
poolextreme.o(.text+0x24): In function `poolextreme_':
: undefined reference to `mpi_barrier_'
poolextreme.o(.text+0x75): In function `poolextreme_':
: undefined reference to `mpi_allreduce_'
poolextreme.o(.text+0xc8): In function `poolextreme_':
: undefined reference to `mpi_allreduce_'
poolrecover.o(.text+0x95): In function `poolrecover_':
: undefined reference to `mpi_barrier_'
poolrecover.o(.text+0xe1): In function `poolrecover_':
: undefined reference to `mpi_send_'
poolrecover.o(.text+0x1de): In function `poolrecover_':
: undefined reference to `mpi_recv_'
poolrecover.o(.text+0x2c5): In function `ipoolrecover_':
: undefined reference to `mpi_barrier_'
poolrecover.o(.text+0x311): In function `ipoolrecover_':
: undefined reference to `mpi_send_'
poolrecover.o(.text+0x40e): In function `ipoolrecover_':
: undefined reference to `mpi_recv_'
poolreduce.o(.text+0x4d): In function `poolreduce_':
: undefined reference to `mpi_barrier_'
poolreduce.o(.text+0xc8): In function `poolreduce_':
: undefined reference to `mpi_allreduce_'
poolreduce.o(.text+0x165): In function `poolreduce_':
: undefined reference to `mpi_allreduce_'
reduce.o(.text+0x44): In function `reduce_':
: undefined reference to `mpi_barrier_'
reduce.o(.text+0xc8): In function `reduce_':
: undefined reference to `mpi_allreduce_'
reduce.o(.text+0x165): In function `reduce_':
: undefined reference to `mpi_allreduce_'
reduce.o(.text+0x22c): In function `ireduce_':
: undefined reference to `mpi_barrier_'
reduce.o(.text+0x2b5): In function `ireduce_':
: undefined reference to `mpi_allreduce_'
reduce.o(.text+0x382): In function `ireduce_':
: undefined reference to `mpi_allreduce_'
scatter.o(.text+0xfa): In function `scatter_':
: undefined reference to `mpi_barrier_'
scatter.o(.text+0x145): In function `scatter_':
: undefined reference to `mpi_scatterv_'
../Modules/fft_base.o(.text+0x36c0): In function `fft_base_fft_scatter_':
: undefined reference to `mpi_barrier_'
../Modules/fft_base.o(.text+0x3711): In function `fft_base_fft_scatter_':
: undefined reference to `mpi_alltoallv_'
../Modules/fft_base.o(.text+0x375b): In function `fft_base_fft_scatter_':
: undefined reference to `mpi_barrier_'
../Modules/fft_base.o(.text+0x37ac): In function `fft_base_fft_scatter_':
: undefined reference to `mpi_alltoallv_'
make[1]: *** [memory.x] Error 2
Here is the make.sys file I used at first,
# Use the local copy of fftw
CPPFLAGS = -D__LINUX64 -D__PGI -D__PARA -D_MPI -D_LAM -D__FFTW -D__USE_INTERNAL_FFTW \
-I$(OSHOME)/include -I./
#
# Fortran compiler:
F90 =mpif90
F77 =mpif77
CC =mpicc
#
F90FLAGS = -w -fast -r8
F77FLAGS = -w -fast -r8
CCFLAGS = $(CPPFLAGS)
#F90FLAGS = -w -fast -r8 -Msecond_underscore
#F77FLAGS = -w -fast -r8 -Msecond_underscore
#CCFLAGS = $(CPPFLAGS)
#
#
MODULEFLAG= -I$(OSHOME)/Modules -I$(OSHOME)/PW -I$(OSHOME)/PH
#
#
LIBS = -L/opt/pgi/linux86-64/5.2/lib $(OSHOME)/acml/libacml.a $(FFTW_LIB)
#
LD=$(F90)
LDFLAGS = -lg2c -lpthread -lm $(OSHOME)/flib/ptools.a $(OSHOME)/flib/flib.a $(OSHOME)/clib/clib.a $(LIBS) $(MODULEFLAG)
Then I made some changes in make.sys file. I just add Msecond_underscore option in the F90flags and F77flag.
F90FLAGS = -w -fast -r8 -Msecond_underscore
F77FLAGS = -w -fast -r8 -Msecond_underscore
the former problems disappeared, but the new problems is produced
input.o(.text+0x7857): In function `verify_tmpdir__':
: undefined reference to `c_mkdir__'
../Modules/berry_phase.o(.text+0x4b): In function `berry_phase_ln_setup__':
: undefined reference to `ln_alloc__'
../Modules/berry_phase.o(.text+0xa8): In function `berry_phase_ln_setup__':
: undefined reference to `ln_set__'
../Modules/berry_phase.o(.text+0xb7): In function `berry_phase_ln_setup__':
: undefined reference to `ln_activate__'
../Modules/berry_phase.o(.text+0xd5): In function `berry_phase_ln_closeup__':
: undefined reference to `ln_dealloc__'
../Modules/berry_phase.o(.text+0x11bb): In function `berry_phase_indi_of_ig__':
: undefined reference to `ln_ind__'
../Modules/berry_phase.o(.text+0x11f6): In function `berry_phase_indi_of_ig__':
: undefined reference to `ln_ind__'
../Modules/berry_phase.o(.text+0x1231): In function `berry_phase_indi_of_ig__':
: undefined reference to `ln_ind__'
../Modules/berry_phase.o(.text+0x1270): In function `berry_phase_indi_of_ig__':
: undefined reference to `ln_ind__'
../Modules/berry_phase.o(.text+0x129f): In function `berry_phase_indi_of_ig__':
: undefined reference to `ln_ind__'
../Modules/berry_phase.o(.text+0x1303): more undefined references to `ln_ind__' follow
../Modules/fft_scalar.o(.text+0x147): In function `fft_scalar_cft_1z__':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x169): In function `fft_scalar_cft_1z__':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x18f): In function `fft_scalar_cft_1z__':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x1b5): In function `fft_scalar_cft_1z__':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x252): In function `fft_scalar_cft_1z__':
: undefined reference to `fft_z_stick__'
../Modules/fft_scalar.o(.text+0x2bd): In function `fft_scalar_cft_1z__':
: undefined reference to `fft_z_stick__'
../Modules/fft_scalar.o(.text+0x789): In function `fft_scalar_cft_2xy__':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x7ab): In function `fft_scalar_cft_2xy__':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x7d3): In function `fft_scalar_cft_2xy__':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x7fb): In function `fft_scalar_cft_2xy__':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x81d): In function `fft_scalar_cft_2xy__':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x83f): In function `fft_scalar_cft_2xy__':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x869): In function `fft_scalar_cft_2xy__':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x893): In function `fft_scalar_cft_2xy__':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x93c): In function `fft_scalar_cft_2xy__':
: undefined reference to `fft_x_stick__'
../Modules/fft_scalar.o(.text+0x9f4): In function `fft_scalar_cft_2xy__':
: undefined reference to `fft_y_stick__'
../Modules/fft_scalar.o(.text+0xb34): In function `fft_scalar_cft_2xy__':
: undefined reference to `fft_y_stick__'
../Modules/fft_scalar.o(.text+0xb8d): In function `fft_scalar_cft_2xy__':
: undefined reference to `fft_x_stick__'
../Modules/fft_scalar.o(.text+0xccf): In function `fft_scalar_cfft3d_':
: undefined reference to `destroy_plan_3d__'
../Modules/fft_scalar.o(.text+0xcee): In function `fft_scalar_cfft3d_':
: undefined reference to `destroy_plan_3d__'
../Modules/fft_scalar.o(.text+0xd16): In function `fft_scalar_cfft3d_':
: undefined reference to `create_plan_3d__'
../Modules/fft_scalar.o(.text+0xd3e): In function `fft_scalar_cfft3d_':
: undefined reference to `create_plan_3d__'
../Modules/fft_scalar.o(.text+0xdbf): In function `fft_scalar_cfft3d_':
: undefined reference to `fftw_inplace_drv_3d__'
../Modules/fft_scalar.o(.text+0xe44): In function `fft_scalar_cfft3d_':
: undefined reference to `fftw_inplace_drv_3d__'
../Modules/fft_scalar.o(.text+0xff9): In function `fft_scalar_cfft3ds_':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x101b): In function `fft_scalar_cfft3ds_':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x103d): In function `fft_scalar_cfft3ds_':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x105f): In function `fft_scalar_cfft3ds_':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x1081): In function `fft_scalar_cfft3ds_':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x10a3): more undefined references to `destroy_plan_1d__' follow
../Modules/fft_scalar.o(.text+0x10d0): In function `fft_scalar_cfft3ds_':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x10fd): In function `fft_scalar_cfft3ds_':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x112a): In function `fft_scalar_cfft3ds_':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x1157): In function `fft_scalar_cfft3ds_':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x1181): In function `fft_scalar_cfft3ds_':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x11ab): more undefined references to `create_plan_1d__' follow
../Modules/fft_scalar.o(.text+0x130d): In function `fft_scalar_cfft3ds_':
: undefined reference to `fftw_inplace_drv_1d__'
../Modules/fft_scalar.o(.text+0x13dd): In function `fft_scalar_cfft3ds_':
: undefined reference to `fftw_inplace_drv_1d__'
../Modules/fft_scalar.o(.text+0x1445): In function `fft_scalar_cfft3ds_':
: undefined reference to `fftw_inplace_drv_1d__'
../Modules/fft_scalar.o(.text+0x14a6): In function `fft_scalar_cfft3ds_':
: undefined reference to `fftw_inplace_drv_1d__'
../Modules/fft_scalar.o(.text+0x153d): In function `fft_scalar_cfft3ds_':
: undefined reference to `fftw_inplace_drv_1d__'
../Modules/fft_scalar.o(.text+0x163d): more undefined references to `fftw_inplace_drv_1d__' follow
../Modules/fft_scalar.o(.text+0x1864): In function `fft_scalar_cft_b__':
: undefined reference to `destroy_plan_1d__'
../Modules/fft_scalar.o(.text+0x1880): In function `fft_scalar_cft_b__':
: undefined reference to `create_plan_1d__'
../Modules/fft_scalar.o(.text+0x189f): In function `fft_scalar_cft_b__':
: undefined reference to `destroy_plan_2d__'
../Modules/fft_scalar.o(.text+0x18be): In function `fft_scalar_cft_b__':
: undefined reference to `create_plan_2d__'
../Modules/fft_scalar.o(.text+0x195d): In function `fft_scalar_cft_b__':
: undefined reference to `fftw_inplace_drv_1d__'
../Modules/fft_scalar.o(.text+0x199f): In function `fft_scalar_cft_b__':
: undefined reference to `fftw_inplace_drv_2d__'
Could anybody telll me what is wrong with it? Any comments are highly appreciated. Many thanks!
Regards,
Adrain
---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20041018/e34cbf79/attachment.html>
More information about the users
mailing list