[Pw_forum] intel mac - compilation with ifort/icc and not gcc
Axel Kohlmeyer
akohlmey at cmm.chem.upenn.edu
Fri Apr 6 15:57:07 CEST 2007
On Fri, 6 Apr 2007, Gilles Hug wrote:
GH>
GH> Le 4 avr. 07 à 13:13, Paolo Giannozzi a écrit :
GH>
GH> > Hi
GH> >
GH> >> Please try the following modified version of the "configure" script:
GH> >> http://www.fisica.uniud.it/~giannozz/public/configure
GH> >> It should recognize the intel compiler for macintosh as well.
GH> >
GH> > does it work?
GH>
GH> Yes, it works.
GH> At least his lanches the compilation.
GH> Unfortunately, I stamble now on another error.
GH>
[...]
GH> > clib.a ../iotk/src/libiotk.a -llapack -latlas
GH> > ld: warning multiple definitions of symbol _pow
GH> > /opt/intel/fc/9.1.029/lib/libimf.a(pow_stub.o) definition of _pow
GH> > in section (__TEXT,__text)
GH> > /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libdl.dylib
GH> > (xmm_power.o) definition of _pow
GH> > ld: Undefined symbols:
GH> > _noncollin_module_mp_noncolin_
GH> > make[1]: *** [matdyn.x] Error 1
GH> > make: *** [tools] Error 2
GH>
GH> This seems to concern pwtool/matdyn but
GH> >grep noncolin pwtools/*.f90
GH> gives no answer
GH> So I am stoped again!
please try adding: -Wl,--allow-multiple-definition
to LDFLAGS in make.sys and make again.
salut,
axel.
GH>
GH> Thanks for your help
GH> Giles
GH>
GH> _______________________________________________
GH> Pw_forum mailing list
GH> Pw_forum at pwscf.org
GH> http://www.democritos.it/mailman/listinfo/pw_forum
GH>
--
=======================================================================
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