Dear Hongyi Zhao, If I am not missing something I think that you have to define also the MKLROOT path somewhere at the arch.make.
Regards, GBokas On Jan 12, 2014, at 11:17 AM, Hongyi Zhao wrote: > Dear GBokas, > > See the attachment. > > Then mkl link line setting used by me is obtain by intel's > mkl_link_tool, which is a local version of the intel link advisor. > > I also use the suggested comipling directory by siesta group. i.e., > the Obj directory. > > Regards > hs.zhao > > 2014/1/12, George Bokas <[email protected]>: >> Dear Hongyi Zhao, >> >> Can you please attach the arch.make file you are using? >> Also you have to be sure that the arch.make is at the correct directory. >> >> Regards, >> GBokas >> >> Sent from my iPad >> >>> On 12 Ιαν 2014, at 7:35, Hongyi Zhao <[email protected]> wrote: >>> >>> Dear Bartek Szyja, >>> >>> Perhaps I don't describe it so clearly. >>> >>> I mean in the arch.make, I use the following line: >>> >>> FFLAGS= -O2 -I$(MKLROOT)/include/intel64/lp64/ >>> >>> But, when I compiled it, the siesta give the following information: >>> >>> -I/opt/intel/composer_xe_2013_sp1.0.080/mkl/include/intel64/llp64/ >>> >>> You can see the the path is expanded to a wrong one: >>> >>> -I$(MKLROOT)/include/intel64/lp64/ >>> >>> should be expanded to >>> >>> -I/opt/intel/composer_xe_2013_sp1.0.080/mkl/include/intel64/lp64/ >>> >>> instead of >>> >>> -I/opt/intel/composer_xe_2013_sp1.0.080/mkl/include/intel64/llp64/ >>> >>> Regards >>> hs.zhao >>> >>> >>> 2014/1/11, Bartek Szyja <[email protected]>: >>>>> On Sat, 2014-01-11 at 15:22 +0800, Hongyi Zhao wrote: >>>>> Please note the following line appeared in the above message: >>>>> >>>>> ------------ >>>>> -I/opt/intel/composer_xe_2013_sp1.0.080/mkl/include/intel64/llp64/ >>>>> -------------- >>>>> >>>>> Though for my case, this will not do any harm due to the correct >>>>> settings given by intel's mklvars.sh. But it's obviously that this is >>>>> a >>>>> bug of the siesta code when it pass the include line for compiling. >>>> >>>> Well, this is not so obvious to me. Can you please explain why you think >>>> it is a bug? >>>> >>>> Cheers, >>>> Bartek >>> >>> >>> -- >>> Hongyi Zhao <[email protected]> >>> Xinjiang Technical Institute of Physics and Chemistry >>> Chinese Academy of Sciences >>> GnuPG DSA: 0xD108493 >> > > > -- > Hongyi Zhao <[email protected]> > Xinjiang Technical Institute of Physics and Chemistry > Chinese Academy of Sciences > GnuPG DSA: 0xD108493 > <arch.make>
