[Pw_forum] Installation problem (ranlib) on Mac Intel -- HELP !!!
Andrea Ferretti
ferretti.andrea at unimore.it
Mon Nov 26 16:58:02 CET 2007
Hi Riccardo,
it seems your problem is related to the building of .a libraries,
more problably due to "ar", instead of "ranlib"...
I sort of remeber I got a similar problem on intel Mac, and the solution
was to set AR and ARFLAGS to some standard values (in my case they
where set in a different, mac-oriented, way), like
AR = ar
ARFLAGS = ruv
actually, don't know if this is your case...
anyway, if you didn't already, see also the section related to Mac at:
http://www.quantum-espresso.org/wiki/index.php/Installation
cheers
andrea
>
> i have a problem installing Quantum Espresso on my Mac Intel (MacBook
> Pro). I'm running Inter Fortran Compiler 10.1 and i installed the new
> gcc GNU compiler 4.3 from http://hpc.sourceforge.net/. For the last i
> just updated the Developer tools to the last version.
>
> The automatic configuration works grat (./configure) and the i run
> male all. Every is working fine for a while but then the installation
> stops. The problem is about ranlib. After compiling the flib the log
> says
>
> .....
> ranlib: file: libpw.a(vhpsi.o) has no symbols
> ranlib: file: libpw.a(vhpsi_nc.o) has no symbols
> ranlib: file: libpw.a(vloc_of_g.o) has no symbols
> ranlib: file: libpw.a(vloc_psi.o) has no symbols
> ranlib: file: libpw.a(vpack.o) has no symbols
> ranlib: file: libpw.a(w0gauss.o) has no symbols
> ranlib: file: libpw.a(w1gauss.o) has no symbols
> ranlib: file: libpw.a(wfcinit.o) has no symbols
> ranlib: file: libpw.a(wgauss.o) has no symbols
> ranlib: file: libpw.a(write_ns.o) has no symbols
> ranlib: file: libpw.a(wsweight.o) has no symbols
> ......
>
> and then
>
> compiling pw.x
>
> .......
> ifort -o pw.x \
> pwscf.o ../Modules/atom.o ../Modules/{CUTTED}
> ../Modules/xml_io_base.o libpw.a ../flib/ptools.a ../flib/flib.a
> ../clib/clib.a ../iotk/src/libiotk.a -llapack -latlas
> ipo: warning #11023: file format not recognized for ../flib/flib.a
> ipo: warning #11023: file format not recognized for ../iotk/src/libiotk.a
> ld: warning empty table of contents: ../flib/flib.a (can't load from it)
> ld: warning empty table of contents: ../iotk/src/libiotk.a (can't load
> from it)
> ld: Undefined symbols:
> _MAIN__
> make[1]: *** [pw.x] Error 1
> make: *** [pw] Error 2
> .........
>
> I'm stuck here and i can't go on. I tried setting ranlib=echo in the
> make.sys but no fortune....
> If any of you can help me i would be very very happy, i'm getting mad !!!
>
> Thanks in advance,
>
> Riccardo
>
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>
More information about the Pw_forum
mailing list