- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I have just now installed MKL on my linux machine.
I'm using "Intel Core2 Duo CPU E7500 @ 2.93GHz " processor.
When I'm running example with the following command
gcc -w -I/opt/intel/mkl/10.2.5.035/include source/cspblas_sbsr.c -L/opt/intel/mkl/10.2.5.035/lib/em64t /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_solver_lp64.a -Wl,--start-group -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core -Wl,--end-group -fopenmp -lpthread
I'm getting the error
http://pastebin.com/SL7Auu3i
Please let me know where I'm going wrong.
Regards,
M.Kiran Kumar.
I have just now installed MKL on my linux machine.
I'm using "Intel Core2 Duo CPU E7500 @ 2.93GHz " processor.
When I'm running example with the following command
gcc -w -I/opt/intel/mkl/10.2.5.035/include source/cspblas_sbsr.c -L/opt/intel/mkl/10.2.5.035/lib/em64t /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_solver_lp64.a -Wl,--start-group -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core -Wl,--end-group -fopenmp -lpthread
I'm getting the error
http://pastebin.com/SL7Auu3i
Please let me know where I'm going wrong.
Regards,
M.Kiran Kumar.
Link Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
When I'm running a sample test program I'm getting errors.
I gave the following optiions to the link advisor
os --- linux os
processor architecture --- intel 64
compiler --- gnu c
linking --- static
integers length --- 32-bit (lp64)
multi-threaded version of Intel@MKL
openmp --- library gnu (libgomp)
cluster library --- blacs
mpi library --- mpich2
The command I ran the test program with
gcc test.c /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_solver_lp64.a -Wl,--start-group /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_intel_lp64.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_gnu_thread.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_core.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -fopenmp -lpthread
If anyone has any clue about the errors please do reply and help me get started with mkl.
I'm posting the sample test program in this site.
http://pastebin.com/vbQ2Gcu6
I'm posting the errors in the following site.
http://pastebin.com/UqUHLYAh
Regards,
M.Kiran Kumar.
When I'm running a sample test program I'm getting errors.
I gave the following optiions to the link advisor
os --- linux os
processor architecture --- intel 64
compiler --- gnu c
linking --- static
integers length --- 32-bit (lp64)
multi-threaded version of Intel@MKL
openmp --- library gnu (libgomp)
cluster library --- blacs
mpi library --- mpich2
The command I ran the test program with
gcc test.c /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_solver_lp64.a -Wl,--start-group /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_intel_lp64.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_gnu_thread.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_core.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -fopenmp -lpthread
If anyone has any clue about the errors please do reply and help me get started with mkl.
I'm posting the sample test program in this site.
http://pastebin.com/vbQ2Gcu6
I'm posting the errors in the following site.
http://pastebin.com/UqUHLYAh
Regards,
M.Kiran Kumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Kiran,
looking at the error log:http://pastebin.com/SL7Auu3i
1. /usr/bin/ld: skipping incompatible /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_intel_lp64.so when searching for -lmkl_intel_lp64
2. /usr/bin/ld: skipping incompatible /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_intel_lp64.a when searching for -lmkl_intel_lp64
3. /usr/bin/ld: /opt/intel/mkl/10.2.5.035/lib/64/libmkl_intel_lp64.so: warning: sh_link not set for section `.IA_64.unwind'
4. /usr/bin/ld: skipping incompatible /opt/intel/mkl/10.2.5.035/lib/64/libmkl_intel_lp64.so when searching for -lmkl_intel_lp64
contains links to the IA64 bits libraries ( aka Itanium ) but your system isIntel Core2 Duo CPU (Intel 64 ).
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gennady,
Once see my second post in this thread also(http://software.intel.com/en-us/forums/showpost.php?p=125031).
The installation process was simple and then i used this link line advisor. So I think I'm not doing any mistake. What could be the possible error and what should I do..?
Regards,
M.Kiran Kumar.
Once see my second post in this thread also(http://software.intel.com/en-us/forums/showpost.php?p=125031).
The installation process was simple and then i used this link line advisor. So I think I'm not doing any mistake. What could be the possible error and what should I do..?
Regards,
M.Kiran Kumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you running 32-bit Linux or 64-bit Linux? What version of gcc do you use? Does it produce 32-bit or 64-bit a.out files by default? Why do you have Itanium (IA64) libraries installed, and what do you want to do with those?
Some combinations of platforms (development vs. deployment) may work, but we need to be very clear about how things are set up.
Some combinations of platforms (development vs. deployment) may work, but we need to be very clear about how things are set up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi mecej4,
I'm using 32 bit linux, and gcc produces 32 bit files by default. I have no use with IA64 libraries, When I was installing mkl they also got installed.
uname -a gives output as
Linux localhost.localdomain 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686 i686 i386 GNU/Linux
gcc version
gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4)
So what should I do now..?
Regards,
M.Kiran Kumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You should try again Intel MKL Link Line Advisorand correctly select your configuration and use suggested line to link with MKL libraries.
Becuase you used em64t directories while you have 32-bit application :(
Please try:
processor architecture --- IA32
instead of
processor architecture --- intel 64
You should try again Intel MKL Link Line Advisorand correctly select your configuration and use suggested line to link with MKL libraries.
Becuase you used em64t directories while you have 32-bit application :(
Please try:
processor architecture --- IA32
instead of
processor architecture --- intel 64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd add 2 my cents to Victor's comment -:).Kiran, please look at this article "what do IA32, intel64 and IA64 Architecture means" may be you will find it useful.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gennady and Victor,
Yay!! I changed it to IA32 and it works now.
My cpu model name has "Intel Core2 Duo CPU", so it thought it as Intel 64.
Thanks once again,
Regards,
M.Kiran Kumar.
Yay!! I changed it to IA32 and it works now.
My cpu model name has "Intel Core2 Duo CPU", so it thought it as Intel 64.
Thanks once again,
Regards,
M.Kiran Kumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good for you.
To claim Intel/AMD-64 as the platform, you need (i) an X64 capable CPU (which you do) AND (ii) a 64-bit OS (which you do not). Therefore, architecture=x86 or IA32 for your case.
To claim Intel/AMD-64 as the platform, you need (i) an X64 capable CPU (which you do) AND (ii) a 64-bit OS (which you do not). Therefore, architecture=x86 or IA32 for your case.

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