[Pw_forum] error during compilatio
Axel Kohlmeyer
akohlmey at vitae.cmm.upenn.edu
Wed Aug 16 00:35:51 CEST 2006
On Tue, 15 Aug 2006, Matteo Cococcioni wrote:
MC>
MC> Dear all,
ciao matteo,
MC> I think I got pretty close to compile pwscf. But at the end it gives the
MC> following error:
MC>
MC> ld: Undefined symbols:
MC> _errore_
MC> _ylmr2_
MC> _dylmr2_
MC> _simpson_
MC> _iotk_scan_dat_complex2_1_
MC> make[1]: *** [pw.x] Error 1
MC> make: *** [pw] Error 2
MC>
MC> which I don't know how to solve. Does anybody have any idea/experience about it?
no experience, but it looks, as if the linker is not able to resolve
the library files. on many machine, order matters for linking libraries
and if you put them in LDFLAGS, they will be loaded
_first_ (which will have them ignored, since there is yet no
undefined symbol.). please compare to the regular make.sys file, where
those libraries are in LIBOBJS which will have them loaded _after_
all code.
MC> Of course it's not urgent problem to solve, but maybe this could help having the
MC> make.sys for another kind of architecture.
MC> By the way: the compiler seems to be affected by an internal error which one
MC> finds trying to compile cp (make cp). But the issue with the compilation of pw
MC> seems to be unrelated to that.
no surprise here. cp.x has a few files that strain the optimizer to the
max. try recompiling the failing files with lower optimization.
hope that helps,
axel.
MC>
MC> I would appreciate any help/suggestion/comment. Thank you.
MC>
MC> Matteo
--
=======================================================================
Axel Kohlmeyer akohlmey at cmm.chem.upenn.edu http://www.cmm.upenn.edu
Center for Molecular Modeling -- University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.
More information about the users
mailing list