<?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: Compiling Wien2k9 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883191#M9781</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
You are using an antiquated group of compiler flags. It seems you are trying to link a combination of Atlas and some portion of MKL. Your Atlas functions are requiring lapack functions, where it seems you should be using a normal method to provide those for Atlas, or otherwise use MKL entirely. If you are calling VML functions from MKL, you will need to link the corresponding libraries, perhaps updating your compile flags in accordance with compiler docs and the MKL link advisor in the right hand column of the header page for this forum.&lt;BR /&gt;</description>
    <pubDate>Tue, 17 Nov 2009 01:26:42 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2009-11-17T01:26:42Z</dc:date>
    <item>
      <title>Compiling Wien2k9</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883190#M9780</link>
      <description>Hello everyone!&lt;BR /&gt;&lt;BR /&gt;I am a student of physics here in Brazil and am having some difficulty in compiling a program to do calculations called Wien2K. I'm using the Intel Fortran compiler 11.1.059 and the intel mkl library 10.2.2.025 with the following flags:&lt;BR /&gt;&lt;BR /&gt;Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -traceback -O3 -xW&lt;BR /&gt;Linker Flags: -L/opt/intel/mkl/10.2.2.025/lib/32 -L/opt/Wien2K9/SRC_lib -pthread -lsvml -Vaxlib&lt;BR /&gt;R_LIB (LAPACK+BLAS): -llapack_lapw -latlas_blas -lguide&lt;BR /&gt;&lt;BR /&gt;Of all the 53 sources to be compiled, only 3 are giving error and not being compiled. These are:&lt;BR /&gt;&lt;BR /&gt;WARNING: no executable found in SRC_lapw1. Check compile.msg in this directory&lt;BR /&gt;hamilt.o: In function `hamilt_':&lt;BR /&gt;hamilt_tmp_.F:(.text+0x3196): undefined reference to `vdcos_'&lt;BR /&gt;hamilt_tmp_.F:(.text+0x37c7): undefined reference to `vdsincos_'&lt;BR /&gt;hamilt_tmp_.F:(.text+0x37e9): undefined reference to `vdinv_'&lt;BR /&gt;&lt;BR /&gt;WARNING: no executable found in SRC_lapwdm. Check compile.msg in this directory&lt;BR /&gt;/opt/Wien2K9/SRC_lib//libatlas_blas.a(dgemm.o): In function `dgemm_':&lt;BR /&gt;dgemm.f:(.text+0x1d7): undefined reference to `xerbla_'&lt;BR /&gt;&lt;BR /&gt;WARNING: no executable found in SRC_qtl. Check compile.msg in this directory&lt;BR /&gt;/opt/Wien2K9/SRC_lib//libatlas_blas.a(zgemm.o): In function `zgemm_':&lt;BR /&gt;zgemm.f:(.text+0x1d7): undefined reference to `xerbla_'&lt;BR /&gt;&lt;BR /&gt;Could someone give me a help with these functions?!&lt;BR /&gt;I have been clear with my explanation.&lt;BR /&gt;Now appreciate the attention of all.&lt;BR /&gt;&lt;BR /&gt;Ranyele Amorim Martins - Physics UFSJ - 2009</description>
      <pubDate>Tue, 17 Nov 2009 01:05:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883190#M9780</guid>
      <dc:creator>ranyele</dc:creator>
      <dc:date>2009-11-17T01:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Wien2k9</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883191#M9781</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
You are using an antiquated group of compiler flags. It seems you are trying to link a combination of Atlas and some portion of MKL. Your Atlas functions are requiring lapack functions, where it seems you should be using a normal method to provide those for Atlas, or otherwise use MKL entirely. If you are calling VML functions from MKL, you will need to link the corresponding libraries, perhaps updating your compile flags in accordance with compiler docs and the MKL link advisor in the right hand column of the header page for this forum.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2009 01:26:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883191#M9781</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-11-17T01:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Wien2k9</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883192#M9782</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; You are using an antiquated group of compiler flags. It seems you are trying to link a combination of Atlas and some portion of MKL. Your Atlas functions are requiring lapack functions, where it seems you should be using a normal method to provide those for Atlas, or otherwise use MKL entirely. If you are calling VML functions from MKL, you will need to link the corresponding libraries, perhaps updating your compile flags in accordance with compiler docs and the MKL link advisor in the right hand column of the header page for this forum.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Perfect, tim18.&lt;BR /&gt;I'm more inside than I'm doing with these libraries. What I could give my checking libraries is that when I use the mkl libs, the compilation does not succeed, but are used when the libs that comes with the source package.&lt;BR /&gt;This has left me even more confused, because when I use the mkl the number of triple error msg. In the source code they have references to the IBM MASS or VML Intel. But when I use the mkl libs vml me return the following messages:&lt;BR /&gt;&lt;BR /&gt;R_LIB (LAPACK+BLAS): -lmkl_vml_def -lmkl_vml_ia -lmkl_sequential -lmkl_pgi_thread&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://pastebin.com/m56473400" target="_blank"&gt;http://pastebin.com/m56473400&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is wrong to use this combination of compiler flags? This way was the only way I could minimize my error messages.&lt;BR /&gt;With flags the messages are:&lt;BR /&gt;&lt;BR /&gt;R_LIB (LAPACK+BLAS): -lguide -llapack_lapw -latlas_blas&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://pastebin.com/m2545d31" target="_blank"&gt;http://pastebin.com/m2545d31&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The libs I have installed are:&lt;BR /&gt;&lt;BR /&gt;/opt/intel/mkl/10.2.2.025/lib/32&lt;BR /&gt;libguide.a                libmkl_gnu_thread.a     libmkl_scalapack_core.a&lt;BR /&gt;libguide.so               libmkl_gnu_thread.so    libmkl_scalapack_core.so&lt;BR /&gt;libiomp5.a                libmkl_intel.a          libmkl_sequential.a&lt;BR /&gt;libiomp5.so               libmkl_intel.so         libmkl_sequential.so&lt;BR /&gt;libmkl_blacs.a            libmkl_intel_thread.a   libmkl_solver.a&lt;BR /&gt;libmkl_blacs_intelmpi.a   libmkl_intel_thread.so  libmkl_solver_sequential.a&lt;BR /&gt;libmkl_blacs_intelmpi.so  libmkl_lapack95.a       libmkl_vml_def.so&lt;BR /&gt;libmkl_blacs_openmpi.a    libmkl_lapack.so        libmkl_vml_ia.so&lt;BR /&gt;libmkl_blas95.a           libmkl_p4m3.so          libmkl_vml_p4m2.so&lt;BR /&gt;libmkl_cdft_core.a        libmkl_p4m.so           libmkl_vml_p4m3.so&lt;BR /&gt;libmkl_core.a             libmkl_p4p.so           libmkl_vml_p4m.so&lt;BR /&gt;libmkl_core.so            libmkl_p4.so            libmkl_vml_p4p.so&lt;BR /&gt;libmkl_def.so             libmkl_pgi_thread.a     libmkl_vml_p4.so&lt;BR /&gt;libmkl_gf.a               libmkl_pgi_thread.so&lt;BR /&gt;&lt;BR /&gt;/opt/Wien2K9/SRC_lib&lt;BR /&gt;blas_lapw    libatlas_athlon.a  libblas.a         README&lt;BR /&gt;compile.msg  libatlas_blas.a    libblas_lapw.a    xerbla.f&lt;BR /&gt;lapack_lapw  libatlas_pII.a     liblapack_lapw.a  xerbla.o&lt;BR /&gt;&lt;BR /&gt;Once again thank you for all the help.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Nov 2009 17:25:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883192#M9782</guid>
      <dc:creator>ranyele</dc:creator>
      <dc:date>2009-11-17T17:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Wien2k9</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883193#M9783</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Well, you may have undertaken something too complex to advise about.&lt;BR /&gt; mkl_pgi_thread would be valid only if you are using pgi OpenMP run-time, in which case you can't also use an Intel OpenMP runtime (the obsolete libguide or current gcc compatible libiomp5), and can't use a gfortran library.&lt;BR /&gt;You must use exactly one of the sequential or thread libraries, and it should follow all the other MKL libraries.&lt;BR /&gt;I still don't see how you plan to mix atlas and mkl. If someone worked out some such mixture with past versions of those libraries, it seems unsurprising if it doesn't continue to work.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Nov 2009 04:51:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compiling-Wien2k9/m-p/883193#M9783</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-11-18T04:51:20Z</dc:date>
    </item>
  </channel>
</rss>

