Hi All, I am trying to compile pw & cp on a BG/P, using a slightly modified version of the included makefile (just added the correct path to the ESSL library), and upon compiling things go fine until the linking phase, when I get the following errors:
../Modules/berry_phase.o: In function `__berry_phase_NMOD_indi_of_ig': berry_phase.f90:(.text+0xc4): undefined reference to `ln_ind' berry_phase.f90:(.text+0xec): undefined reference to `ln_ind' berry_phase.f90:(.text+0x164): undefined reference to `ln_ind' berry_phase.f90:(.text+0x180): undefined reference to `ln_ind' berry_phase.f90:(.text+0x19c): undefined reference to `ln_ind' ../Modules/berry_phase.o:berry_phase.f90:(.text+0x1e8): more undefined references to `ln_ind' follow ../Modules/berry_phase.o: In function `__berry_phase_NMOD_ln_setup': berry_phase.f90:(.text+0x1334): undefined reference to `ln_alloc' berry_phase.f90:(.text+0x1380): undefined reference to `ln_set' berry_phase.f90:(.text+0x139c): undefined reference to `ln_activate' ../Modules/berry_phase.o: In function `__berry_phase_NMOD_ln_closeup': berry_phase.f90:(.text+0x1400): undefined reference to `ln_dealloc' ../Modules/check_stop.o: In function `__check_stop_NMOD_check_stop_now': check_stop.f90:(.text+0x120): undefined reference to `cclock' ../Modules/check_stop.o: In function `__check_stop_NMOD_check_stop_init': check_stop.f90:(.text+0x970): undefined reference to `cclock' ../Modules/clocks.o: In function `start_clock': (.text+0x260): undefined reference to `scnds' ../Modules/clocks.o: In function `start_clock': (.text+0x2f8): undefined reference to `cclock' ../Modules/clocks.o: In function `start_clock': (.text+0x324): undefined reference to `scnds' ../Modules/clocks.o: In function `stop_clock': (.text+0x52c): undefined reference to `scnds' ../Modules/clocks.o: In function `stop_clock': (.text+0x590): undefined reference to `cclock' ../Modules/clocks.o: In function `print_this_clock': (.text+0x87c): undefined reference to `scnds' ../Modules/clocks.o: In function `print_this_clock': (.text+0x890): undefined reference to `cclock' ../Modules/clocks.o: In function `get_clock': (.text+0x12b0): undefined reference to `scnds' ../Modules/clocks.o: In function `get_clock': (.text+0x1328): undefined reference to `scnds' ../Modules/xml_io_base.o: In function `__xml_io_base_NMOD_create_directory': xml_io_base.f90:(.text+0xdbec): undefined reference to `c_mkdir' ../Modules/zhpev_drv.o: In function `__zhpev_module_NMOD_pzsteqr': zhpev_drv.f90:(.text+0x2cbc): undefined reference to `cclock' libpw.a(electrons.o): In function `electrons': electrons.f90:(.text+0x1f0): undefined reference to `memstat' libpw.a(input.o): In function `verify_tmpdir': (.text+0xa508): undefined reference to `c_mkdir' libpw.a(orthoatwfc.o): In function `orthoatwfc': orthoatwfc.f90:(.text+0x80): undefined reference to `scnds' libpw.a(new_ns.o): In function `new_ns': new_ns.f90:(.text+0x10c): undefined reference to `scnds' make[1]: *** [pw.x] Error 1 make[1]: Leaving directory `/gpfs/home/defarr/Quantum_Espresso/ espresso-4.0.4/PW' make: *** [pw] Error 2 Based on an older post on the pw_forum list, I removed berry_phase.o and replaced it with an empty file, and that got rid of the first set of errors (the post said that module wasn't used... is that correct?) However, the other errors remained. Any ideas? Thanks, Dave David E. Farrell Post-Doctoral Fellow Department of Materials Science and Engineering Northwestern University email: d-farrell2 at northwestern.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.democritos.it/pipermail/pw_forum/attachments/20081220/c987f8c3/attachment.htm
