- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I realised Intel has been removed the compatibility libraries (dummy libraries) in the new MKL releases.
http://software.intel.com/en-us/articles/dummy-libraries-have-been-removed
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[1]: *** [../lmp_mkl] Error 1
make[1]: Leaving directory `/root/lammps-12Apr12/src/Obj_mkl'
make: *** [mkl] Error 2
Any idea or any advice?
Thanks a lot & B.Regards,
Dogan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ifort failing to find -limf would appear to indicate that you didn't set the environment variables by sourceing the compilervars script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page