[Pw_forum] intel mac - compilation with ifort/icc and not gcc

Gilles Hug gilles.hug at onera.fr
Fri Apr 6 14:45:24 CEST 2007


Le 4 avr. 07 à 13:13, Paolo Giannozzi a écrit :

> Hi
>
>> Please try the following modified version of the "configure" script:
>>   http://www.fisica.uniud.it/~giannozz/public/configure
>> It should recognize the intel compiler for macintosh as well.
>
> does it work?

Yes, it works.
At least his lanches the compilation.
Unfortunately, I stamble now on another error.

> matdyn.f90(1113) : (col. 6) remark: LOOP WAS VECTORIZED.
> matdyn.f90(1143) : (col. 6) remark: LOOP WAS VECTORIZED.
> ifort  -o matdyn.x \
>         matdyn.o rigid.o ../Modules/basic_algebra_routines.o ../ 
> Modules/cell_base.o ../Modules/constants.o ../Modules/ 
> control_flags.o ../Modules/io_global.o ../Modules/io_files.o ../ 
> Modules/ions_base.o ../Modules/fft_types.o ../Modules/ 
> fft_scalar.o ../Modules/kind.o ../Modules/mp.o ../Modules/ 
> mp_global.o ../Modules/parallel_include.o ../Modules/ 
> parameters.o ../Modules/parser.o ../Modules/path_formats.o ../ 
> Modules/printout_base.o ../Modules/random_numbers.o ../Modules/ 
> recvec.o ../Modules/splinelib.o ../Modules/timestep.o ../Modules/ 
> uspp.o ../PW/libpw.a ../flib/ptools.a ../flib/flib.a ../clib/ 
> clib.a ../iotk/src/libiotk.a -llapack -latlas
> ld: warning multiple definitions of symbol _pow
> /opt/intel/fc/9.1.029/lib/libimf.a(pow_stub.o) definition of _pow  
> in section (__TEXT,__text)
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../..//libdl.dylib 
> (xmm_power.o) definition of _pow
> ld: Undefined symbols:
> _noncollin_module_mp_noncolin_
> make[1]: *** [matdyn.x] Error 1
> make: *** [tools] Error 2

This seems to concern pwtool/matdyn but
    >grep noncolin pwtools/*.f90
gives no answer
So I am stoped again!

Thanks for your help
Giles




More information about the users mailing list