Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

OpenSuse 10.3 and MKL

danesh_d
Beginner
1,822 Views

Hi all,

I have OpenSuse 10.3 on my laptop. I have recently installed latest version of MKL but when I try to compile MKL's examples, I get this error:

ld: BFD (GNU Binutils) 2.17.50.20070726-14 (SUSE Linux) internal error, aborting at ../../bfd/reloc.c line 5285 in bfd_generic_get_relocated_section_contents

ld: Please report this bug.

Have you experienced this problem? Does MKL work with OpenSuSE or just with SuSE Enterprise version?

Thanks,

D.

0 Kudos
6 Replies
TimP
Honored Contributor III
1,822 Views

Well, no. You'd have to be a lot more specific. Everything I've attempted with various versions of MKL on OpenSuSE 10.3 x86-64 has worked fine. Non-support does mean that the automated test suites haven't been run on 10.3. They probably haven't been run on SLES10 SP2, and certainly not on SLES 11. This doesn't mean that anything has been done to make those break.

0 Kudos
Gennady_F_Intel
Moderator
1,822 Views

Officially MKL supports SUSE Linux Enterprise Server* 9 (IA-32 / Intel 64 / IA-64) and SUSE Linux Enterprise Server* 10 (IA-32 / Intel 64 / IA-64) and doesnt support SLES 11.

OpenSuSe we dont test MKL on OpenSuSe, but we are expecting our tests will work on this OS.

What tests have you tried to build? Is this 32 or 64 OS verion?

--Gennady

0 Kudos
danesh_d
Beginner
1,822 Views
Quoting - danesh_d

Hi all,

I have OpenSuse 10.3 on my laptop. I have recently installed latest version of MKL but when I try to compile MKL's examples, I get this error:

ld: BFD (GNU Binutils) 2.17.50.20070726-14 (SUSE Linux) internal error, aborting at ../../bfd/reloc.c line 5285 in bfd_generic_get_relocated_section_contents

ld: Please report this bug.

Have you experienced this problem? Does MKL work with OpenSuSE or just with SuSE Enterprise version?

Thanks,

D.

My system is Lenovo X61 laptop with Intel Centrino vPro 64-bit Duo Core CPU. I started with simplest example file called

"versionquery". In the make file I just changed line "override CC=icc" to

"override CC=/opt/intel/cc/10.1.018/bin/icc" which is the path of ICC on my system. Then I ran makefile with these parameters:

make lib64

and get these results:

make getversionstring_c.res getversion_tst.res getversionstring_f.res _IA=64 EXT=a RES_EXT=lib
make[1]: Entering directory `/opt/intel/mkl/10.0.5.025/examples/versionquery'
mkdir -p ./_results/intel_lp64_parallel_64_lib
/opt/intel/cc/10.1.018/bin/icc -w -I../../include source/getversionstring_c.c -L/opt/intel/mkl/10.0.5.025/lib/64 /opt/intel/mkl/10.0.5.025/lib/64/libmkl_intel_lp64.a -Wl,--start-group /opt/intel/mkl/10.0.5.025/lib/64/libmkl_intel_thread.a /opt/intel/mkl/10.0.5.025/lib/64/libmkl_core.a -Wl,--end-group /opt/intel/mkl/10.0.5.025/lib/64/libguide.a -lpthread -lm -o _results/intel_lp64_parallel_64_lib/getversionstring_c.out
ld: ia64-elf64 architecture of input file `/opt/intel/mkl/10.0.5.025/lib/64/libmkl_intel_lp64.a(_mklgetversionstring_c.o)' is incompatible with i386 output
ld: ia64-elf64 architecture of input file `/opt/intel/mkl/10.0.5.025/lib/64/libmkl_core.a(mklgetversion.o)' is incompatible with i386 output
ld: _results/intel_lp64_parallel_64_lib/getversionstring_c.out: warning: sh_link not set for section `.IA_64.unwind'
ld: BFD (GNU Binutils) 2.17.50.20070726-14 (SUSE Linux) internal error, aborting at ../../bfd/reloc.c line 5285 in bfd_generic_get_relocated_section_contents

ld: Please report this bug.

make[1]: *** [getversionstring_c.res] Error 1
make[1]: Leaving directory `/opt/intel/mkl/10.0.5.025/examples/versionquery'
make: *** [lib64] Error 2

as you see the problem comes from the linker. The linker can not create executable due to incompatibility of imported libraries. Any hint?

Thanks,

D.

0 Kudos
TimP
Honored Contributor III
1,822 Views

This question isn't specific to SuSE. There is no icc cross compiler to build for Itanium in 32-bit mode. You can't run either 64-bit build when the 32-bit icc is active, or when you are running 32-bit linux (you still didn't answer the question which both Gennady and I asked). You will not be able to build the Itanium example unless you go to an Itanium machine. On x86-64 linux, you would be able to run the em64t build option, if you set the corresponding icc (e.g. the one which would be installed in /opt/intel/cce/).

If you don't like the way the 32- and 64-bit icc are set up in 10.1, it is changed in 11.0, where mkl is included in the icc installation. Unfortunately, SuSE 10.3 and 11.0 are still considered "unsupported" in 11.0.

0 Kudos
danesh_d
Beginner
1,822 Views
Quoting - tim18

This question isn't specific to SuSE. There is no icc cross compiler to build for Itanium in 32-bit mode. You can't run either 64-bit build when the 32-bit icc is active, or when you are running 32-bit linux (you still didn't answer the question which both Gennady and I asked). You will not be able to build the Itanium example unless you go to an Itanium machine. On x86-64 linux, you would be able to run the em64t build option, if you set the corresponding icc (e.g. the one which would be installed in /opt/intel/cce/).

If you don't like the way the 32- and 64-bit icc are set up in 10.1, it is changed in 11.0, where mkl is included in the icc installation. Unfortunately, SuSE 10.3 and 11.0 are still considered "unsupported" in 11.0.

It is 64-bit OpenSuSE installed on my system. Thanks for the tip. Now I can compiler examples using "libem64t" and GNU C compiler, but still have problem with compiling wih ICC. By the way, I changed the path to /opt/intel/cce/icc to use 64-bit ICC and got these errors:

make getversionstring_c.res getversion_tst.res getversionstring_f.res _IA=em64t EXT=a RES_EXT=lib
make[1]: Entering directory `/opt/intel/mkl/10.0.5.025/examples/versionquery'
mkdir -p ./_results/intel_lp64_parallel_em64t_lib
/opt/intel/cce/10.1.018/bin/icc -w -I../../include source/getversionstring_c.c -L/opt/intel/mkl/10.0.5.025/lib/em64t /opt/intel/mkl/10.0.5.025/lib/em64t/libmkl_intel_lp64.a -Wl,--start-group /opt/intel/mkl/10.0.5.025/lib/em64t/libmkl_intel_thread.a /opt/intel/mkl/10.0.5.025/lib/em64t/libmkl_core.a -Wl,--end-group /opt/intel/mkl/10.0.5.025/lib/em64t/libguide.a -lpthread -lm -o _results/intel_lp64_parallel_em64t_lib/getversionstring_c.out
export LD_LIBRARY_PATH=/opt/intel/mkl/10.0.5.025/lib/em64t:; _results/intel_lp64_parallel_em64t_lib/getversionstring_c.out >_results/intel_lp64_parallel_em64t_lib/getversionstring_c.res
_results/intel_lp64_parallel_em64t_lib/getversionstring_c.out: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
make[1]: *** [getversionstring_c.res] Error 127
make[1]: Leaving directory `/opt/intel/mkl/10.0.5.025/examples/versionquery'
make: *** [libem64t] Error 2

I am not sure if this post is OK to be here since it is more related to ICC than MKL. I appologize for it. I don't know if any special setting is needed for ICC, but I could compile other projects successfully. Any help?

Thanks,

D.

0 Kudos
TimP
Honored Contributor III
1,822 Views
Maybe you didn't set LD_LIBRARY_PATH to include the path to the icc shared libraries. The iccvars.sh script in the bin directory along with icc would do that for you, if you didn't move things after installing. In icc 11, the single environment variable script takes care of both the compiler and MKL, so I would say they are closely enough linked.
0 Kudos
Reply