Page 1 of 1

compiler error

Posted: Wed Jan 23, 2013 8:07 am
by ntuxi
Dear All

I am compiling 7.0.5

The error is following:


../../src/53_ffts/lib53_ffts.a(fftw3_fourwf.o): In function `padded_fourwf_cplx':
/home/xzhu/soft/abinit-7.0.5/src/53_ffts/fftw3_fourwf.F90:334: undefined reference to `iso_c_binding_mp_c_loc_'
make[3]: *** [abinit] Error 1
make[3]: *** Waiting for unfinished jobs....
../../src/53_ffts/lib53_ffts.a(fftw3_fourwf.o): In function `padded_fourwf_cplx':

I didn't specific the fftw information in the configuration , also it goes well in version 6.12.2, but not for the 7.0.5,
any suggestion?

Thanks

Re: compiler error

Posted: Thu Jan 24, 2013 4:54 pm
by gmatteo
which compiler (and version) are you using?

Re: compiler error

Posted: Thu Jan 24, 2013 6:16 pm
by Alain_Jacques
I bet on Intel's Ifort 11.0 or older. ;)

Anyway, it should be defined in Intel's libifcore.a (and/or libifcoremt.a or libifcoremt_pic.a) or equivalent .so libraries. Look for their location and test with

Code: Select all

nm -o libifcore* |grep iso_c_binding_mp_c_loc 
It should return the corresponding symbols in the code section i.e. with T global type.

Alain