Page 4 of 4
Re: compilation error!
Posted: Tue Feb 16, 2016 4:06 pm
by vasp84
see the error msg:
configure: error: unrecognized option: `--wth-fft-libs=-mkl'
Re: compilation error!
Posted: Tue Feb 16, 2016 4:07 pm
by andrea.ferretti
--with-fft-libs="-mkl"
Re: compilation error!
Posted: Tue Feb 16, 2016 4:09 pm
by vasp84
Ohh sorry, missing I.
It is going now then I hit make yambo. we will see
Re: compilation error!
Posted: Tue Feb 16, 2016 4:15 pm
by vasp84
ERROR:
>>>[Making wf_and_fft]<<<
make[1]: Entering directory `/home/yambo/yambo-stable/src/wf_and_fft'
fft_setup.F fft_3d.F sgfft.F(18): error: incorrectly formed universal character name
! Fourier Transform, Comp. Phys. Commun. \underline{76}, 294 (1993)
^
make[1]: *** [sgfft.o] Error 2
make[1]: Leaving directory `/home/yambo/yambo-stable/src/wf_and_fft'
make: *** [yambo] Error 2
Re: compilation error!
Posted: Tue Feb 16, 2016 4:23 pm
by andrea.ferretti
if FFTW were correctly found by yambo this should not happen...
did you do a make clean_all before reconfiguring and re-compiling ?
check your config.log (and config/report and config/setup) to see whether FFTW have been recognised or not..
If Goedecker FFTs (sgfft) have been found instead (as a default) it means FFTW have not been recognized
Do you have mil libs in your path ?
Andrea
Re: compilation error!
Posted: Tue Feb 16, 2016 5:50 pm
by vasp84
Yes I did make clean_all.
but where to find config/report and config/setup?
how to check this: Do you have mil libs in your path ?
I am attaching the .log file that appear in the home dir of yambo.
It says files is too big!
Re: compilation error!
Posted: Tue Feb 16, 2016 6:08 pm
by andrea.ferretti
the files I mnention before are
yambo/config/setup
yambo/config/report
where yambo is the release main directory.
Is config.log too large ? (strange)
Re: compilation error!
Posted: Tue Feb 16, 2016 6:34 pm
by vasp84
see the attached files;
Re: compilation error!
Posted: Tue Feb 16, 2016 6:43 pm
by andrea.ferretti
Hi Jarek,
your intel compiler is very old (ifort (IFORT) 10.1 20080602), and this is probably the reason why -mkl
is not a recognised option.
now:
* since we are fort 16.x, I strongly recommend to upgrade your intel compiler (a number of problems we see
now could be miscompilations)
* if you want to link FFTW, either you use those from MKL (though you need to check what are the proper
linking flags of your version)
* otherwise you can install fftw3 if you haven't them already on your computer (it is not too difficult to do)
and link them directly
--with-fft-libs="-L/dir-where-fftw-is -lfftw3 " or similar
hope it helps
Andrea
Re: compilation error!
Posted: Tue Feb 16, 2016 6:46 pm
by vasp84
Thank you Andrea. I need to talk with my adviser coz he is the admin.