compiler error

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
ntuxi
Posts: 10
Joined: Thu Mar 25, 2010 10:26 am

compiler error

Post by ntuxi » Wed Jan 23, 2013 8:07 am

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

User avatar
gmatteo
Posts: 291
Joined: Sun Aug 16, 2009 5:40 pm

Re: compiler error

Post by gmatteo » Thu Jan 24, 2013 4:54 pm

which compiler (and version) are you using?

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: compiler error

Post by Alain_Jacques » Thu Jan 24, 2013 6:16 pm

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

Locked