<DIV>
<DIV>Dear all,</DIV>
<DIV> </DIV>
<DIV>Many thanks to Axel, I have removed most part of underscore problem.  <STRONG>There are still some problems existed.</STRONG></DIV>
<DIV> </DIV>
<DIV>input.o(.text+0x7857): In function `verify_tmpdir__':<BR>: undefined reference to `c_mkdir__'<BR>../Modules/berry_phase.o(.text+0x4b): In function `berry_phase_ln_setup__':<BR>: undefined reference to `ln_alloc__'<BR>../Modules/berry_phase.o(.text+0xa8): In function `berry_phase_ln_setup__':<BR>: undefined reference to `ln_set__'<BR>../Modules/berry_phase.o(.text+0xb7): In function `berry_phase_ln_setup__':<BR>: undefined reference to `ln_activate__'<BR>../Modules/berry_phase.o(.text+0xd5): In function `berry_phase_ln_closeup__':<BR>: undefined reference to `ln_dealloc__'<BR>../Modules/berry_phase.o(.text+0x11bb): In function `berry_phase_indi_of_ig__':<BR>: undefined reference to `ln_ind__'<BR>../Modules/berry_phase.o(.text+0x11f6): In function `berry_phase_indi_of_ig__':<BR>: undefined reference to `ln_ind__'<BR>../Modules/berry_phase.o(.text+0x1231): In function `berry_phase_indi_of_ig__':<BR>: undefined reference to `ln_ind__'<BR>../Modules/berry_phase.o(.text+0x1270): In
 function `berry_phase_indi_of_ig__':<BR>: undefined reference to `ln_ind__'<BR>../Modules/berry_phase.o(.text+0x129f): In function `berry_phase_indi_of_ig__':<BR>: undefined reference to `ln_ind__'<BR>../Modules/berry_phase.o(.text+0x1303): more undefined references to `ln_ind__' follow<BR>../Modules/fft_scalar.o(.text+0x147): In function `fft_scalar_cft_1z__':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x169): In function `fft_scalar_cft_1z__':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x18f): In function `fft_scalar_cft_1z__':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x1b5): In function `fft_scalar_cft_1z__':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x252): In function `fft_scalar_cft_1z__':<BR>: undefined reference to `fft_z_stick__'<BR>../Modules/fft_scalar.o(.text+0x2bd): In function `fft_scalar_cft_1z__':<BR>: undefined
 reference to `fft_z_stick__'<BR>../Modules/fft_scalar.o(.text+0x789): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x7ab): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x7d3): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x7fb): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x81d): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x83f): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x869): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x893): In function `fft_scalar_cft_2xy__':<BR>: undefined
 reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x93c): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `fft_x_stick__'<BR>../Modules/fft_scalar.o(.text+0x9f4): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `fft_y_stick__'<BR>../Modules/fft_scalar.o(.text+0xb34): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `fft_y_stick__'<BR>../Modules/fft_scalar.o(.text+0xb8d): In function `fft_scalar_cft_2xy__':<BR>: undefined reference to `fft_x_stick__'<BR>../Modules/fft_scalar.o(.text+0xccf): In function `fft_scalar_cfft3d_':<BR>: undefined reference to `destroy_plan_3d__'<BR>../Modules/fft_scalar.o(.text+0xcee): In function `fft_scalar_cfft3d_':<BR>: undefined reference to `destroy_plan_3d__'<BR>../Modules/fft_scalar.o(.text+0xd16): In function `fft_scalar_cfft3d_':<BR>: undefined reference to `create_plan_3d__'<BR>../Modules/fft_scalar.o(.text+0xd3e): In function `fft_scalar_cfft3d_':<BR>: undefined reference to
 `create_plan_3d__'<BR>../Modules/fft_scalar.o(.text+0xdbf): In function `fft_scalar_cfft3d_':<BR>: undefined reference to `fftw_inplace_drv_3d__'<BR>../Modules/fft_scalar.o(.text+0xe44): In function `fft_scalar_cfft3d_':<BR>: undefined reference to `fftw_inplace_drv_3d__'<BR>../Modules/fft_scalar.o(.text+0xff9): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x101b): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x103d): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x105f): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x1081): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x10a3): more undefined references to `destroy_plan_1d__'
 follow<BR>../Modules/fft_scalar.o(.text+0x10d0): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x10fd): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x112a): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x1157): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x1181): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x11ab): more undefined references to `create_plan_1d__' follow<BR>../Modules/fft_scalar.o(.text+0x130d): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `fftw_inplace_drv_1d__'<BR>../Modules/fft_scalar.o(.text+0x13dd): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to
 `fftw_inplace_drv_1d__'<BR>../Modules/fft_scalar.o(.text+0x1445): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `fftw_inplace_drv_1d__'<BR>../Modules/fft_scalar.o(.text+0x14a6): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `fftw_inplace_drv_1d__'<BR>../Modules/fft_scalar.o(.text+0x153d): In function `fft_scalar_cfft3ds_':<BR>: undefined reference to `fftw_inplace_drv_1d__'<BR>../Modules/fft_scalar.o(.text+0x163d): more undefined references to `fftw_inplace_drv_1d__' follow<BR>../Modules/fft_scalar.o(.text+0x1864): In function `fft_scalar_cft_b__':<BR>: undefined reference to `destroy_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x1880): In function `fft_scalar_cft_b__':<BR>: undefined reference to `create_plan_1d__'<BR>../Modules/fft_scalar.o(.text+0x189f): In function `fft_scalar_cft_b__':<BR>: undefined reference to `destroy_plan_2d__'<BR>../Modules/fft_scalar.o(.text+0x18be): In function `fft_scalar_cft_b__':<BR>: undefined reference to
 `create_plan_2d__'<BR>../Modules/fft_scalar.o(.text+0x195d): In function `fft_scalar_cft_b__':<BR>: undefined reference to `fftw_inplace_drv_1d__'<BR>../Modules/fft_scalar.o(.text+0x199f): In function `fft_scalar_cft_b__':<BR>: undefined reference to `fftw_inplace_drv_2d__'<BR>make[1]: *** [memory.x] Error 2<BR></DIV>
<DIV> </DIV>
<DIV><STRONG>The make.sys file is as follows,</STRONG></DIV>
<DIV># Use the local copy of fftw</DIV>
<DIV>CPPFLAGS = -D__LINUX64 -D__PGI -D__PARA -D_MPI -D_LAM -D__FFTW -D__USE_INTERNAL_FFTW \<BR>          -I$(OSHOME)/include -I./</DIV>
<DIV>#<BR># Fortran compiler:<BR>F90 =mpif90<BR>F77 =mpif77<BR>CC =mpicc<BR>#<BR># Please note: -r8 is necessary for numerical stability ..<BR>#<BR>F90FLAGS = -w -fast -r8 -Msecond_underscore<BR>F77FLAGS = -w -fast -r8 -Msecond_underscore<BR>CCFLAGS  =  $(CPPFLAGS)<BR>#<BR># This is needed to tell the compiler where modules are<BR>#<BR>MODULEFLAG= -I$(OSHOME)/Modules -I$(OSHOME)/PW -I$(OSHOME)/PH</DIV>
<DIV>#<BR>#<BR>LIBS = -L/opt/pgi/linux86-64/5.2/lib $(OSHOME)/acml/libacml.a $(FFTW_LIB)<BR>#<BR>#<BR>LD=$(F90)<BR>LDFLAGS = -lg2c -lpthread -lm  $(OSHOME)/flib/ptools.a $(OSHOME)/flib/flib.a $(OSHOME)/clib/clib.a $(LIBS) $(MODULEFLAG)<BR></DIV>
<DIV>Any comments are highly appreciated. Many thanks.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Adrain</DIV>
<DIV> </DIV></DIV><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://music.yisou.com" target=blank>150万曲MP3疯狂搜,带您闯入音乐殿堂</a><br><a href="http://image.yisou.com" target=blank>美女明星应有尽有,搜遍美图、艳图和酷图</a><br>
<a href="http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/" target=blank>1G就是1000兆,雅虎电邮自助扩容!</a>