[Pw_forum] Installation problem (ranlib) on Mac Intel -- HELP !!!

riccardo at fcs.it riccardo at fcs.it
Mon Nov 26 15:01:26 CET 2007


Hello,

    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




More information about the users mailing list