<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MKL10 + Amber9 calling sequence problem in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870160#M8405</link>
    <description>The error is:&lt;BR /&gt;ifort -o addles lesmain.o addspace.o readprm.o writprm.o readcrd.o writcrd.o pick.o rline.o nxt.o intgr.o find.o of.o geti.o unit.o getc.o alert.o echo.o get4c.o getd.o wlesprm.o lesprm.o les2prm.o checksz.o ../lib/random.o ../lib/mexit.o ../lib/nxtsec.o -L/opt/BLAS_LIBS/Intel-MKL10/lib/em64t -lvml -lmkl_lapack -lmkl -lpthread&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `omp_in_parallel'&lt;BR /&gt;&lt;BR /&gt;I think this error is due to -openmp flag.&lt;BR /&gt;&lt;BR /&gt;I've set the LD_LIBRARY_PATH to MKL's em64t also. So it cannot be a linking problem. And there is no other/lower version of MKL is installed.&lt;BR /&gt;&lt;BR /&gt;Errors are continued as follows:&lt;BR /&gt;..&lt;BR /&gt;...&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `omp_get_max_threads'&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Do you have a solution for MKL 10 library problem or shall I switch to MKL 8. Because the code works fine with MKL 8.&lt;BR /&gt;&lt;BR /&gt;--Sangamesh&lt;BR /&gt;</description>
    <pubDate>Wed, 09 Jan 2008 14:51:30 GMT</pubDate>
    <dc:creator>Sangamesh_B_</dc:creator>
    <dc:date>2008-01-09T14:51:30Z</dc:date>
    <item>
      <title>MKL10 + Amber9 calling sequence problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870158#M8403</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Installed Amber9 on Intel dual core dual processor woodcrest system with the following:&lt;BR /&gt;&lt;BR /&gt;Intel 10 Fortran Compiler + MKL10 + IntelMPI3.&lt;BR /&gt;&lt;BR /&gt;While running a test job, it gave following error:&lt;BR /&gt;&lt;BR /&gt;MKL func load error: /opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_vml_mc.so: undefined symbol: vmlGetErrorCallBack&lt;BR /&gt; ./Run.circdna: Program error&lt;BR /&gt;&lt;BR /&gt;By amber forum it is clear that, MKL10 library has released after amber9 release and it is a calling sequence problem.&lt;BR /&gt;&lt;BR /&gt;So is there a flag which can provide backword compatibility?&lt;BR /&gt;&lt;BR /&gt;--Sangamesh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2008 15:38:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870158#M8403</guid>
      <dc:creator>Sangamesh_B_</dc:creator>
      <dc:date>2008-01-07T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: MKL10 + Amber9 calling sequence problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870159#M8404</link>
      <description>It looks more likely that you have encountered a linking error. It could be from a mixture of static and dynamic linking (the docs urge you not to use static), or from a mixture of different library versions (take care that no libraries from MKL are over-ridden by older ones from ifort 10.0 or from an earlier build of Amber). &lt;BR /&gt;Even if you use all dynamic libraries correctly for linking, if your run time library path points to an older version of the libraries, that could cause this problem. Did you run the mklvars script from the MKL 10 bin directory to set that path before attempting to run?&lt;BR /&gt;It's somewhat difficult to get the linking correct with MKL 10; there are several opportunities to go wrong. We can't guess what you have done, unless you provide specifics, for example what comes on the screen when you link with 'ifort -#x ....'&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2008 16:58:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870159#M8404</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-01-07T16:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: MKL10 + Amber9 calling sequence problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870160#M8405</link>
      <description>The error is:&lt;BR /&gt;ifort -o addles lesmain.o addspace.o readprm.o writprm.o readcrd.o writcrd.o pick.o rline.o nxt.o intgr.o find.o of.o geti.o unit.o getc.o alert.o echo.o get4c.o getd.o wlesprm.o lesprm.o les2prm.o checksz.o ../lib/random.o ../lib/mexit.o ../lib/nxtsec.o -L/opt/BLAS_LIBS/Intel-MKL10/lib/em64t -lvml -lmkl_lapack -lmkl -lpthread&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `omp_in_parallel'&lt;BR /&gt;&lt;BR /&gt;I think this error is due to -openmp flag.&lt;BR /&gt;&lt;BR /&gt;I've set the LD_LIBRARY_PATH to MKL's em64t also. So it cannot be a linking problem. And there is no other/lower version of MKL is installed.&lt;BR /&gt;&lt;BR /&gt;Errors are continued as follows:&lt;BR /&gt;..&lt;BR /&gt;...&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork'&lt;BR /&gt;/opt/BLAS_LIBS/Intel-MKL10/lib/em64t/libmkl_intel_thread.so: undefined reference to `omp_get_max_threads'&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Do you have a solution for MKL 10 library problem or shall I switch to MKL 8. Because the code works fine with MKL 8.&lt;BR /&gt;&lt;BR /&gt;--Sangamesh&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2008 14:51:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870160#M8405</guid>
      <dc:creator>Sangamesh_B_</dc:creator>
      <dc:date>2008-01-09T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: MKL10 + Amber9 calling sequence problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870161#M8406</link>
      <description>&lt;P&gt;Sangamesh,&lt;/P&gt;
&lt;P&gt;you should made corrections to your commend line:&lt;/P&gt;
&lt;P&gt;1) remove -lvml becausein MKL 10.0 this library was merged withlibmkl.so&lt;/P&gt;
&lt;P&gt;2) add -lguide because you are using threaded libraries whereIntel OMP functions were used&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2008 15:06:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870161#M8406</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-01-09T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: MKL10 + Amber9 calling sequence problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870162#M8407</link>
      <description>If you use&lt;BR /&gt;ifort -openmp&lt;BR /&gt;in your link command, you don't need -lpthread -lguide. Perhaps you mean that you used -openmp when compiling your objects; then you should give ifort the same options for linking, so it will request the corresponding libraries.&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2008 15:28:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL10-Amber9-calling-sequence-problem/m-p/870162#M8407</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-01-09T15:28:32Z</dc:date>
    </item>
  </channel>
</rss>

