I realised Intel has been removed the compatibility libraries (dummy libraries) in the new MKL releases.
I am trying to build the lammps sorce code ( http://sourceforge.net/projects/lammps/ ) with my Intel fortan & C compilers V 12.1.2 last two days, but unfortunately I could not succeded. )
The source code can not compile with the parameters in the makefile.
LINKFLAGS = -O -L/opt/intel/mkl/10.0.011/lib/em64t
LIB = -lstdc++ -lpthread -lmkl_em64t -lguide
I also used the new MKL options that generated with Intel MKL Link Line Advisor website but I could not passed the errors http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
-lpthread -lmpi /opt/intel/mkl/lib/intel64/libfftw2xf_intel.a -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lstdc++ -o ../lmp_mkl
ld: cannot find -limf
make: *** [../lmp_mkl] Error 1
make: Leaving directory `/root/lammps-12Apr12/src/Obj_mkl'
make: *** [mkl] Error 2
Any idea or any advice?
Thanks a lot & B.Regards,
ifort failing to find -limf would appear to indicate that you didn't set the environment variables by sourceing the compilervars script.
libimfis the math libraryfromIntel compiler.
Did you correctly use compilervarsto setyour environment? Or add -L path to compiler libs location.
Also, if your code is inC++ then you don't need to link with -lstdc++ and try C++ compiler.