[Pw_forum] Compiling problems on AMD opteron64 under Linux using MPI

Adrain Zhou adrainzhou at yahoo.com.cn
Thu Oct 14 06:07:08 CEST 2004


Dear all,
 
Many thanks to Axel, I have removed most part of underscore problem.  There are still some problems existed.
 
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__'
make[1]: *** [memory.x] Error 2

 
The make.sys file is as follows,
# 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
#
# Please note: -r8 is necessary for numerical stability ..
#
F90FLAGS = -w -fast -r8 -Msecond_underscore
F77FLAGS = -w -fast -r8 -Msecond_underscore
CCFLAGS  =  $(CPPFLAGS)
#
# This is needed to tell the compiler where modules are
#
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)

Any comments are highly appreciated. Many thanks.
 
Regards,
Adrain
 




---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20041014/e27c8908/attachment.htm 


More information about the Pw_forum mailing list