[Pw_forum] Pw_forum Digest, Vol 9, Issue 26

sreekar guddeti colonel.sreekar at gmail.com
Wed Mar 19 15:09:07 CET 2008


Dear Paolo,
Thanks for the suggestion but on taking into account the correction, the
errors have reduced drastically except for the below ones:

gfortran  -o pw.x \
                pwscf.o ../Modules/atom.o ../Modules/autopilot.o
../Modules/basic_algebra_routines.o ../Modules/berry_phase.o
../Modules/bfgs_module.o ../Modules/cell_base.o ../Modules/check_stop.o
../Modules/clocks.o ../Modules/constants.o ../Modules/constraints_module.o
../Modules/control_flags.o ../Modules/electrons_base.o ../Modules/fft_base.o
../Modules/fft_scalar.o ../Modules/fft_types.o ../Modules/functionals.o
../Modules/input_parameters.o ../Modules/io_files.o ../Modules/io_global.o
../Modules/ions_base.o ../Modules/ions_nose.o ../Modules/kind.o
../Modules/mp_global.o ../Modules/mp_wave.o ../Modules/mp.o
../Modules/metadyn_base.o ../Modules/metadyn_io.o ../Modules/metadyn_vars.o
../Modules/path_base.o ../Modules/path_formats.o ../Modules/path_variables.o
../Modules/path_opt_routines.o ../Modules/path_io_routines.o
../Modules/path_reparametrisation.o ../Modules/parallel_include.o
../Modules/parameters.o ../Modules/parser.o ../Modules/printout_base.o
../Modules/pseudo_types.o ../Modules/ptoolkit.o ../Modules/random_numbers.o
../Modules/read_cards.o ../Modules/read_namelists.o ../Modules/read_upf.o
../Modules/read_uspp.o ../Modules/recvec.o ../Modules/shmem_include.o
../Modules/splinelib.o ../Modules/stick_base.o ../Modules/task_groups.o
../Modules/timestep.o ../Modules/uspp.o ../Modules/version.o
../Modules/wavefunctions.o ../Modules/wave_base.o ../Modules/xml_io_base.o
libpw.a ../flib/ptools.a ../flib/flib.a ../clib/clib.a ../iotk/src/libiotk.a
-llapack -lblas
libpw.a(bp_c_phase.o): In function `c_phase_':
bp_c_phase.f90:(.text+0x1019): undefined reference to `ylm_q_'
libpw.a(c_phase_field.o): In function `c_phase_field_':
c_phase_field.f90:(.text+0x2492): undefined reference to `ylm_q_'
libpw.a(h_epsi_her.o): In function `h_epsi_her_':
h_epsi_her.f90:(.text+0x101f): undefined reference to `ylm_q_'
h_epsi_her.f90:(.text+0x12bf): undefined reference to `ylm_q_'
collect2: ld returned 1 exit status
make[1]: *** [pw.x] Error 1
make[1]: Leaving directory
`/home/colonel/Documents/seminar_project/espresso-3.2.3/PW'
make: *** [pw] Error 2

regards
sreekar guddeti

On Wed, Mar 19, 2008 at 2:06 PM, <pw_forum-request at pwscf.org> wrote:

> Send Pw_forum mailing list submissions to
>        pw_forum at pwscf.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.democritos.it/mailman/listinfo/pw_forum
> or, via email, send a message with subject or body 'help' to
>        pw_forum-request at pwscf.org
>
> You can reach the person managing the list at
>        pw_forum-owner at pwscf.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pw_forum digest..."
>
>
> Today's Topics:
>
>   1. pw error during compilation (sreekar guddeti)
>   2. Re: pw error during compilation (Paolo Giannozzi)
>   3. Fwd:  compiling failer ( ??? )
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 19 Mar 2008 12:51:07 +0530
> From: "sreekar guddeti" <colonel.sreekar at gmail.com>
> Subject: [Pw_forum] pw error during compilation
> To: pw_forum at pwscf.org
> Message-ID:
>        <c864e4460803190021y383ea419k425ecb196911771c at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> dear users,
> i m using espresso v 3.2.3  with gfortran 95 compiler , AMD 64
> architecture,
> ubuntu linux distribution. ./configure is a success. On executing  "make
> all" command  i  get the following error. could anyone let me know the
> glitch
> regards,
> sreekar
>
> gfortran  -o pw.x \
>                pwscf.o ../Modules/atom.o ../Modules/autopilot.o
> ../Modules/basic_algebra_routines.o ../Modules/berry_phase.o
> ../Modules/bfgs_module.o ../Modules/cell_base.o ../Modules/check_stop.o
> ../Modules/clocks.o ../Modules/constants.o ../Modules/constraints_module.o
> ../Modules/control_flags.o ../Modules/electrons_base.o
> ../Modules/fft_base.o
> ../Modules/fft_scalar.o ../Modules/fft_types.o ../Modules/functionals.o
> ../Modules/input_parameters.o ../Modules/io_files.o ../Modules/io_global.o
> ../Modules/ions_base.o ../Modules/ions_nose.o ../Modules/kind.o
> ../Modules/mp_global.o ../Modules/mp_wave.o ../Modules/mp.o
> ../Modules/metadyn_base.o ../Modules/metadyn_io.o
> ../Modules/metadyn_vars.o
> ../Modules/path_base.o ../Modules/path_formats.o
> ../Modules/path_variables.o
> ../Modules/path_opt_routines.o ../Modules/path_io_routines.o
> ../Modules/path_reparametrisation.o ../Modules/parallel_include.o
> ../Modules/parameters.o ../Modules/parser.o ../Modules/printout_base.o
> ../Modules/pseudo_types.o ../Modules/ptoolkit.o
> ../Modules/random_numbers.o
> ../Modules/read_cards.o ../Modules/read_namelists.o ../Modules/read_upf.o
> ../Modules/read_uspp.o ../Modules/recvec.o ../Modules/shmem_include.o
> ../Modules/splinelib.o ../Modules/stick_base.o ../Modules/task_groups.o
> ../Modules/timestep.o ../Modules/uspp.o ../Modules/version.o
> ../Modules/wavefunctions.o ../Modules/wave_base.o ../Modules/xml_io_base.o
> libpw.a ../flib/ptools.a ../flib/flib.a ../clib/clib.a
> ../iotk/src/libiotk.a
> -llapack -lblas
> ../Modules/berry_phase.o: In function `__berry_phase__ln_setup':
> berry_phase.f90:(.text+0x3f): undefined reference to `ln_alloc_'
> berry_phase.f90:(.text+0x9c): undefined reference to `ln_set_'
> berry_phase.f90:(.text+0xb7): undefined reference to `ln_activate_'
> ../Modules/berry_phase.o: In function `__berry_phase__indi_of_ig':
> berry_phase.f90:(.text+0x242): undefined reference to `ln_ind_'
> berry_phase.f90:(.text+0x268): undefined reference to `ln_ind_'
> berry_phase.f90:(.text+0x29b): undefined reference to `ln_ind_'
> berry_phase.f90:(.text+0x354): undefined reference to `ln_ind_'
> berry_phase.f90:(.text+0x379): undefined reference to `ln_ind_'
> ../Modules/berry_phase.o:berry_phase.f90:(.text+0x3bf): more undefined
> references to `ln_ind_' follow
> ../Modules/berry_phase.o: In function `__berry_phase__ln_closeup':
> berry_phase.f90:(.text+0xf3): undefined reference to `ln_dealloc_'
> ../Modules/fft_scalar.o: In function `__fft_scalar__cft_1z':
> fft_scalar.f90:(.text+0x100): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0x124): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0x1cf): undefined reference to `fft_z_stick_'
> fft_scalar.f90:(.text+0x257): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x271): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x299): undefined reference to `fft_z_stick_'
> ../Modules/fft_scalar.o: In function `__fft_scalar__cft_2xy':
> fft_scalar.f90:(.text+0x52e): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0x557): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0x5ac): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0x5d3): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0x6c5): undefined reference to `fft_x_stick_'
> fft_scalar.f90:(.text+0x75b): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x775): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x78f): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x7a9): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x816): undefined reference to `fft_x_stick_'
> fft_scalar.f90:(.text+0x904): undefined reference to `fft_y_stick_'
> fft_scalar.f90:(.text+0x956): undefined reference to `fft_y_stick_'
> ../Modules/fft_scalar.o: In function `__fft_scalar__cfft3d':
> fft_scalar.f90:(.text+0xa33): undefined reference to `create_plan_3d_'
> fft_scalar.f90:(.text+0xa5d): undefined reference to `create_plan_3d_'
> fft_scalar.f90:(.text+0xaed): undefined reference to
> `fftw_inplace_drv_3d_'
> fft_scalar.f90:(.text+0xb2d): undefined reference to `destroy_plan_3d_'
> fft_scalar.f90:(.text+0xb47): undefined reference to `destroy_plan_3d_'
> fft_scalar.f90:(.text+0xbee): undefined reference to
> `fftw_inplace_drv_3d_'
> ../Modules/fft_scalar.o: In function `__fft_scalar__cfft3ds':
> fft_scalar.f90:(.text+0xde3): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0xe10): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0xe3d): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0xe6a): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0xe98): undefined reference to `create_plan_1d_'
> ../Modules/fft_scalar.o:fft_scalar.f90:(.text+0xec6): more undefined
> references to `create_plan_1d_' follow
> ../Modules/fft_scalar.o: In function `__fft_scalar__cfft3ds':
> fft_scalar.f90:(.text+0xff3): undefined reference to
> `fftw_inplace_drv_1d_'
> fft_scalar.f90:(.text+0x10cb): undefined reference to
> `fftw_inplace_drv_1d_'
> fft_scalar.f90:(.text+0x1137): undefined reference to
> `fftw_inplace_drv_1d_'
> fft_scalar.f90:(.text+0x1187): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x11a1): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x11bb): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x11d5): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x11ef): undefined reference to `destroy_plan_1d_'
> ../Modules/fft_scalar.o:fft_scalar.f90:(.text+0x1209): more undefined
> references to `destroy_plan_1d_' follow
> ../Modules/fft_scalar.o: In function `__fft_scalar__cfft3ds':
> fft_scalar.f90:(.text+0x130a): undefined reference to
> `fftw_inplace_drv_1d_'
> fft_scalar.f90:(.text+0x13cb): undefined reference to
> `fftw_inplace_drv_1d_'
> fft_scalar.f90:(.text+0x148b): undefined reference to
> `fftw_inplace_drv_1d_'
> ../Modules/fft_scalar.o: In function `__fft_scalar__cft_b':
> fft_scalar.f90:(.text+0x1649): undefined reference to `create_plan_1d_'
> fft_scalar.f90:(.text+0x1682): undefined reference to `create_plan_2d_'
> fft_scalar.f90:(.text+0x1721): undefined reference to
> `fftw_inplace_drv_1d_'
> fft_scalar.f90:(.text+0x1771): undefined reference to
> `fftw_inplace_drv_2d_'
> fft_scalar.f90:(.text+0x179f): undefined reference to `destroy_plan_1d_'
> fft_scalar.f90:(.text+0x17b9): undefined reference to `destroy_plan_2d_'
> ../Modules/xml_io_base.o: In function `__xml_io_base__create_directory':
> xml_io_base.f90:(.text+0x209): undefined reference to `c_mkdir_'
> libpw.a(input.o): In function `verify_tmpdir_':
> input.f90:(.text+0x6b9): undefined reference to `c_mkdir_'
> libpw.a(bp_c_phase.o): In function `c_phase_':
> bp_c_phase.f90:(.text+0x1019): undefined reference to `ylm_q_'
> libpw.a(c_phase_field.o): In function `c_phase_field_':
> c_phase_field.f90:(.text+0x2492): undefined reference to `ylm_q_'
> libpw.a(h_epsi_her.o): In function `h_epsi_her_':
> h_epsi_her.f90:(.text+0x101f): undefined reference to `ylm_q_'
> h_epsi_her.f90:(.text+0x12bf): undefined reference to `ylm_q_'
> collect2: ld returned 1 exit status
> make[1]: *** [pw.x] Error 1
> make[1]: Leaving directory
> `/home/colonel/Documents/seminar_project/espresso-3.2.3/PW'
> make: *** [pw] Error 2
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://www.democritos.it/pipermail/pw_forum/attachments/20080319/365366cf/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Wed, 19 Mar 2008 08:45:43 +0100
> From: Paolo Giannozzi <giannozz at nest.sns.it>
> Subject: Re: [Pw_forum] pw error during compilation
> To: PWSCF Forum <pw_forum at pwscf.org>
> Message-ID: <47E0C4A7.7000000 at nest.sns.it>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> sreekar guddeti wrote:
>
> > berry_phase.f90:(.text+0x242): undefined reference to `ln_ind_'
> > berry_phase.f90:(.text+0xf3): undefined reference to `ln_dealloc_'
> > fft_scalar.f90:(.text+0x124): undefined reference to `create_plan_1d_'
> > fft_scalar.f90:(.text+0x271): undefined reference to `destroy_plan_1d_'
> > fft_scalar.f90:(.text+0x6c5): undefined reference to `fft_x_stick_'
> > fft_scalar.f90:(.text+0x904): undefined reference to `fft_y_stick_'
> > fft_scalar.f90:(.text+0x1cf): undefined reference to `fft_z_stick_'
>
> in file include/c_defs.h there is a line
> #define F77_FUNC_(name,NAME) name ## _
> or something like this. Add (or remove) one underscore at
> the end and recompile.
>
> Paolo
> --
> Paolo Giannozzi, Democritos and University of Udine, Italy
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20080319/03ca8364/attachment.html>


More information about the users mailing list