- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, my experience with Fortran is pretty limited so I apologize in advance if I don't provide all the necessary information. I'm trying to run a makefile but getting errors stating "cannot find -lmkl_em64t." There are other issues but I'm not sure if they're detrimental or not. Here is my makefile:
**************************
ifort -O3 -xT -r8 -i8 -FR -WB -save -static -zero -nus -mp -double_size 128 -c ser_v10_whitecone_correctPSD.f90
ifort: command line remark #10279: option '-xT' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line remark #10148: option '-nus' not supported
ifort: command line remark #10148: option '-mp' not supported
ifort -O3 -xT -r8 -i8 -FR -WB -save -static -zero -nus -mp -double_size 128 -c gasdev.f90
ifort: command line remark #10279: option '-xT' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line remark #10148: option '-nus' not supported
ifort: command line remark #10148: option '-mp' not supported
ifort -O3 -xT -r8 -i8 -FR -WB -save -static -zero -nus -mp -double_size 128 -c rk4.f90
ifort: command line remark #10279: option '-xT' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line remark #10148: option '-nus' not supported
ifort: command line remark #10148: option '-mp' not supported
ifort -O3 -xT -r8 -i8 -FR -WB -save -static -zero -nus -mp -double_size 128 -c osc_stm.f90
ifort: command line remark #10279: option '-xT' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line remark #10148: option '-nus' not supported
ifort: command line remark #10148: option '-mp' not supported
ifort -O3 -xT -r8 -i8 -FR -WB -save -static -zero -nus -mp -double_size 128 -c osc_deriv.f90
ifort: command line remark #10279: option '-xT' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line remark #10148: option '-nus' not supported
ifort: command line remark #10148: option '-mp' not supported
ifort -o ser_v10_whitecone_correctPSD.exe -Wl,-rpath,/opt/apps/intel/16.0.1.150/compilers_and_libraries_2016.1.150/linux/mkl/lib/intel64 -L/opt/apps/intel/16.0.1.150/compilers_and_libraries_2016.1.150/linux/mkl/lib/intel64 -lmkl_em64t -lc -nus ser_v10_whitecone_correctPSD.o gasdev.o rk4.o osc_stm.o osc_deriv.o
ifort: command line remark #10148: option '-nus' not supported
ld: cannot find -lmkl_em64t
make: *** [ser_v10_whitecone_correctPSD.exe] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That library name was very likely changed many years ago - and I'm not sure if that was ever a provided library. Try just -lmkl . If you need more help, see the MKL forum or the MKL Link Line Advisor.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That library name was very likely changed many years ago - and I'm not sure if that was ever a provided library. Try just -lmkl . If you need more help, see the MKL forum or the MKL Link Line Advisor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed, as Steve suspects, your makefile is several years older than your compiler. You should probably use -lmkl_intel_lp64 instead of -lmkl_em64t if integer arguments to MKL routines are 32-bits long, but it is best to consult the MKL Link Line Advisor. Once you find the proper set of libraries to use, you should probably update your makefile accordingly.
Instead of -xT, use -xSSE3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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