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