<?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 How to reference these from a in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821478#M4784</link>
    <description>&lt;P&gt;How to reference these from a Fortran program?&lt;/P&gt;
&lt;P&gt;I looked under PROJECT PREPERTIES, under FORTRAN,&lt;/P&gt;
&lt;P&gt;and I jet FOUR possible choices. How would I know which one ?&lt;/P&gt;
&lt;P&gt;Pr does it matter?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2013 19:57:26 GMT</pubDate>
    <dc:creator>WSinc</dc:creator>
    <dc:date>2013-01-30T19:57:26Z</dc:date>
    <item>
      <title>Linking Intel MKL is easy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821469#M4775</link>
      <description>&lt;P&gt;[bash]icl prog.c /Qmkl[/bash]&lt;/P&gt;

&lt;P&gt;or,&lt;/P&gt;

&lt;P&gt;[bash]ifort prog.f /Qmkl[/bash]&lt;/P&gt;

&lt;P&gt;That's the easiest way if you are using one of the latest Intel compilers on Windows*. There are similar &lt;A href="http://software.intel.com/sites/products/documentation/studio/composer/en-us/2009/compiler_c/copts/common_options/option_mkl.htm"&gt;compiler options &lt;/A&gt;for Linux* and Mac OS* X as well.&lt;/P&gt;

&lt;P&gt;Another easy way is to use our new &lt;A href="http://software.intel.com/en-us/articles/using-the-intel-mkl-dynamic-interface-for-windows/"&gt;dynamic linking model &lt;/A&gt;which requires a link to just one library. Add mkl_rt.lib to your Windows* link line or add -lmkl_rt to your Linux* or Mac OS* X link line.&lt;BR /&gt;
	&lt;BR /&gt;
	These new options willwork for the cases usedby most users. Those who use less common interfaces or threading models may still want to visit the &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;Link Line Advisor &lt;/A&gt;to find the right set of libraries.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2011 07:39:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821469#M4775</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2011-05-19T07:39:29Z</dc:date>
    </item>
    <item>
      <title>Linking Intel MKL is easy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821470#M4776</link>
      <description>If it would be so easy, no one would have problems....</description>
      <pubDate>Fri, 28 Oct 2011 15:52:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821470#M4776</guid>
      <dc:creator>steingre</dc:creator>
      <dc:date>2011-10-28T15:52:47Z</dc:date>
    </item>
    <item>
      <title>Linking Intel MKL is easy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821471#M4777</link>
      <description>&lt;P&gt;The easiness claim was made with two explicit conditions:&lt;BR /&gt;&lt;BR /&gt; 1. "These new options will work for the cases used by most users."&lt;BR /&gt;&lt;BR /&gt; AND&lt;BR /&gt;&lt;BR /&gt; 2. The current Intel compilers are used.&lt;BR /&gt;&lt;BR /&gt;I have found no example for which the /Qmkl (-mkl on Linux/OSX) option did not work. If you have such examples I am sure that they will be given adequate attention if you divulge them here.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2011 19:45:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821471#M4777</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-12-01T19:45:00Z</dc:date>
    </item>
    <item>
      <title>Linking Intel MKL is easy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821472#M4778</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=9662" class="basic" href="https://community.intel.com/en-us/profile/9662/"&gt;mecej4&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;I&gt;The easiness claim was made with two explicit conditions:&lt;BR /&gt;&lt;BR /&gt; 1. "These new options willwork for the cases usedby most users."&lt;BR /&gt;&lt;BR /&gt; AND&lt;BR /&gt;&lt;BR /&gt; 2. The current Intel compilers are used.&lt;BR /&gt;&lt;BR /&gt;I have found no example for which the /Qmkl (-mkl on Linux/OSX) option did not work. If you have such examples I am sure that they will be given adequate attention if you divulge them here.&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a matter of fact, I think I found an example (literally from the mkl/examples directory) where these options were unsuccessful.&lt;/P&gt;&lt;P&gt;I'm using (ifort -V):&lt;/P&gt;&lt;P&gt;Intel Fortran Intel 64 Compiler XE for applications running on Intel 64, Version 12.1.4.319 Build 20120410&lt;/P&gt;&lt;P&gt;which I think is the latest version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at my post here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=105667&amp;amp;o=a&amp;amp;s=lr" target="_blank"&gt;http://software.intel.com/en-us/forums/showthread.php?t=105667&amp;amp;o=a&amp;amp;s=lr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2012 19:07:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821472#M4778</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2012-06-01T19:07:08Z</dc:date>
    </item>
    <item>
      <title>Linking Intel MKL is easy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821473#M4779</link>
      <description>This thread was about using MKL with simple C and Fortran-77 codes. &lt;BR /&gt;&lt;BR /&gt;Using the Fortran 95 interfaces requires the MKL Lapack95 and Blas95 libraries to be specified at link time, and requires specifying the path for the module files when calling from Fortran-9X. &lt;BR /&gt;&lt;BR /&gt;Earlier releases of MKL came with no prebuilt Lapack95 and Blas95 libraries.</description>
      <pubDate>Sat, 02 Jun 2012 23:15:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821473#M4779</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-06-02T23:15:48Z</dc:date>
    </item>
    <item>
      <title>Can anyone tell me how to use</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821474#M4780</link>
      <description>Can anyone tell me how to use command line argument for compilation of c program.</description>
      <pubDate>Fri, 19 Oct 2012 09:02:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821474#M4780</guid>
      <dc:creator>rakesh</dc:creator>
      <dc:date>2012-10-19T09:02:38Z</dc:date>
    </item>
    <item>
      <title>at the very top of this</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821475#M4781</link>
      <description>at the very top of this thread Todd already gave two simpliest  examples for windows and linux</description>
      <pubDate>Fri, 19 Oct 2012 09:07:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821475#M4781</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-10-19T09:07:16Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821476#M4782</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I used the Link line advisor, to build a link line for my application, with PARDISO, it gave this line&lt;/P&gt;
&lt;P&gt;&amp;nbsp;-L$(MKLROOT)/lib/intel64 -lmkl_scalapack_ilp64 -lmkl_cdft_core -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -lpthread -lm&lt;/P&gt;
&lt;P&gt;With this compiler option :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;-openmp -DMKL_ILP64 -I$(MKLROOT)/include&lt;/P&gt;
&lt;P&gt;I created this makefile :&lt;/P&gt;
&lt;P&gt;CFLAGS = -Wall -O3&amp;nbsp; -I ../../../SPOOLES-2.2_Intel -I /opt/intel/mkl/include -DMKL_ILP64 -DARCH="Linux" -DSPOOLES -DARPACK -DPARDISO -DMATRIXSTORAGE -DUSE_MT=1&lt;BR /&gt;FFLAGS = -O3 -nofor-main -openmp&lt;BR /&gt;&lt;BR /&gt;CC=icc&lt;BR /&gt;FC=ifort&lt;BR /&gt;&lt;BR /&gt;.c.o :&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(CC) $(CFLAGS) -c $&amp;lt;&lt;BR /&gt;.f.o :&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(FC) $(FFLAGS) -c $&amp;lt;&lt;BR /&gt;&lt;BR /&gt;include Makefile.inc&lt;BR /&gt;&lt;BR /&gt;SCCXMAIN = ccx_2.5.c&lt;BR /&gt;&lt;BR /&gt;OCCXF = $(SCCXF:.f=.o)&lt;BR /&gt;OCCXC = $(SCCXC:.c=.o)&lt;BR /&gt;OCCXMAIN = $(SCCXMAIN:.c=.o)&lt;BR /&gt;&lt;BR /&gt;DIR=/home/alex/Desktop/Buildfactory/Calculix/SPOOLES-2.2_Intel&lt;BR /&gt;MKLROOT=/opt/intel/mkl&lt;BR /&gt;MKLPATH=/opt/intel/mkl/lib/intel64&lt;BR /&gt;MKLINCLUDE=/opt/intel/mkl/include&lt;BR /&gt;&lt;BR /&gt;LIBS = \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(DIR)/libspooles.a \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(DIR)/MT/src/spoolesMT.a \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../../../ARPACK_Intel/libarpack_Linux.a \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../../../Pardiso/libpardiso412-INTEL120-X86-64.so \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -lm -lc -lutil -ldl -lpthread&lt;BR /&gt;&lt;BR /&gt;ccx_2.5: $(OCCXMAIN) ccx_2.5.a -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_ilp64 -lmkl_cdft_core -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -lpthread -lm&amp;nbsp; $(LIBS)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ./date.pl; $(CC) $(CFLAGS) -c ccx_2.5.c; $(FC) $(FFLAGS) -o $@ $(OCCXMAIN) ccx_2.5.a&amp;nbsp; -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_ilp64 -lmkl_cdft_core -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmp$&lt;BR /&gt;&lt;BR /&gt;ccx_2.5.a: $(OCCXF) $(OCCXC)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ar vr $@ $?&lt;/P&gt;
&lt;P&gt;when i type Make this gives me an error :&lt;/P&gt;
&lt;P&gt;alex@iskandhar:~/Desktop/Buildfactory/Calculix/CalculiX/ccx_2.5_Intel_Pa/src$ make&lt;BR /&gt;make: *** No rule to make target `-L/opt/intel/mkl/lib/intel64', needed by `ccx_2.5'.&amp;nbsp; Stop.&lt;BR /&gt;alex@iskandhar:~/Desktop/Buildfactory/Calculix/CalculiX/ccx_2.5_Intel_Pa/src$&lt;/P&gt;
&lt;P&gt;Where is my mistake..?&lt;/P&gt;
&lt;P&gt;I understand nothing of makefiles, all i know is that i have to link with Intel compiled Spooles, Arpack, and Pardiso, all the sources have been compiled with icc and ifort&lt;/P&gt;
&lt;P&gt;Can someone help me in this..?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alex&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2013 18:48:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821476#M4782</guid>
      <dc:creator>alexvader</dc:creator>
      <dc:date>2013-01-21T18:48:52Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821477#M4783</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the makefile you need the only two `$(OCCXMAIN) ccx_2.5.a' dependencies for target ccx_2.5. So the line should be as follows:&lt;/P&gt;
&lt;P&gt;ccx_2.5: $(OCCXMAN) ccx_2.5.a&lt;/P&gt;
&lt;P&gt;Also please double check used MKL libraris. E.g.&amp;nbsp;there is incorrect &amp;nbsp;-lmkl_blacs_intelmp$ in your post&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 06:00:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821477#M4783</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2013-01-25T06:00:57Z</dc:date>
    </item>
    <item>
      <title>How to reference these from a</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821478#M4784</link>
      <description>&lt;P&gt;How to reference these from a Fortran program?&lt;/P&gt;
&lt;P&gt;I looked under PROJECT PREPERTIES, under FORTRAN,&lt;/P&gt;
&lt;P&gt;and I jet FOUR possible choices. How would I know which one ?&lt;/P&gt;
&lt;P&gt;Pr does it matter?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 19:57:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821478#M4784</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2013-01-30T19:57:26Z</dc:date>
    </item>
    <item>
      <title>In some C/C++ project ( still</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821479#M4785</link>
      <description>In some C/C++ project ( still in R&amp;amp;D state ) I decided to use &lt;STRONG&gt;runtime binding&lt;/STRONG&gt; of MKL functions instead of dynamic linking. Here is a small example how I do it:
...
hMklRtDll = ::&lt;STRONG&gt;LoadLibrary&lt;/STRONG&gt;( RTU("mkl_rt.dll") );
if( hMklRtDll == NULL )
	break;

CrtPrintf( RTU("Dynamic library mkl_rt.dll loaded\n") );

&lt;STRONG&gt;pfMklGetVersionString&lt;/STRONG&gt; = ( void ( * )( char *, int ) )::&lt;STRONG&gt;GetProcAddress&lt;/STRONG&gt;( hMklRtDll, "MKL_Get_Version_String" );
if( pfMklGetVersionString == NULL )
	break;
...
MKLVersion Ver = { 0x0 };
int iLenData = 256;
char szVerData[256] = { 0x0 };

&lt;STRONG&gt;pfMklGetVersionString&lt;/STRONG&gt;( szVerData, iLenData );
CrtPrintfA( "\t%s\n", szVerData );
...
The most important things are that at a compilation phase I don't use any C++ compiler options related to MKL and at a linker phase I don't use any MKL libraries.</description>
      <pubDate>Mon, 06 May 2013 05:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821479#M4785</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-05-06T05:00:00Z</dc:date>
    </item>
    <item>
      <title>I just can't compile/link,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821480#M4786</link>
      <description>&lt;P&gt;I just can't compile/link, with the lastest software, an old program that I made in 2006, and I need to continue.&lt;/P&gt;
&lt;P&gt;Having linking problems, I started trying to compile/link spsv.f90 example in different ways -mkl option, link advisor and other. But I allways have problems.&lt;/P&gt;
&lt;P&gt;In my application (several modules) the only problem listed in compiling time is about the line:&lt;/P&gt;
&lt;P&gt;call spgvx(mesh%K, aux, eigen(1:15) ,itype=1 ,uplo='U' ,il=1 ,iu=15 ,m=inf1 ,info=inf2) !I've tryed changing mesh%K from pointer array to allocatable array, but it didn't make any difference (the working original was pointer array).&lt;/P&gt;
&lt;P&gt;At the head I've called the correct "use" statement, the worked in the past&lt;/P&gt;
&lt;P&gt;program axis_fem &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;BR /&gt;!library callings &lt;BR /&gt;use IFPORT !similar to dflib &lt;BR /&gt;use mkl95_PRECISION, ONLY: WP=&amp;gt;SP &lt;BR /&gt;use mkl95_LAPACK !similar to IMSL&lt;/P&gt;
&lt;P&gt;-mkl doesn't work to spsv.f90 neither to my application&lt;/P&gt;
&lt;P&gt;the following compiling failed both my application and the example (changes in file names were needed to the example)&lt;/P&gt;
&lt;P&gt;#Multi thread lp64&lt;BR /&gt;ifort -w $MKLROOT/lib/intel64/libmkl_blas95_lp64.a $MKLROOT/lib/intel64/libmkl_lapack95_lp64.a -Wl,--start-group&amp;nbsp; $MKLROOT/lib/intel64/libmkl_intel_lp64.a $MKLROOT/lib/intel64/libmkl_intel_thread.a $MKLROOT/lib/intel64/libmkl_core.a $MKLROOT/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -liomp5 -lpthread -lm aux_math.f90 isoemat.f90 enodea.f90 TransfInterp.f90 equad9a.f90 emesha.f90 bondariesa.f90 dynamics.f90 postprocessing.f90 axis_condini.f90 -o axis.exe -i8 -I$MKLROOT/include/intel64/lp64 -I$MKLROOT/include&lt;BR /&gt;&lt;BR /&gt;#single thread&lt;BR /&gt;#ifort $MKLROOT/lib/intel64/libmkl_blas95_lp64.a $MKLROOT/lib/intel64/libmkl_lapack95_lp64.a -Wl,--start-group&amp;nbsp; $MKLROOT/lib/intel64/libmkl_intel_lp64.a $MKLROOT/lib/intel64/libmkl_sequential.a $MKLROOT/lib/intel64/libmkl_core.a $MKLROOT/lib/intel64/libmkl_blacs_intelmpi_lp64.a -Wl,--end-group -lpthread -lm aux_math.f90 isoemat.f90 enodea.f90 TransfInterp.f90 equad9a.f90 emesha.f90 bondariesa.f90 dynamics.f90 postprocessing.f90 axis_condini.f90 -o axis.exe&amp;nbsp; -I$MKLROOT/include/intel64/lp64 -I$MKLROOT/include&lt;BR /&gt;&lt;BR /&gt;#single dynamic&lt;BR /&gt;#ifort -L$MKLROOT/lib/intel64 $MKLROOT/lib/intel64/libmkl_blas95_lp64.a $MKLROOT/lib/intel64/libmkl_lapack95_lp64.a -lmkl_rt -lpthread -lm aux_math.f90 isoemat.f90 enodea.f90 TransfInterp.f90 equad9a.f90 emesha.f90 bondariesa.f90 dynamics.f90 postprocessing.f90 axis_condini.f90 -o axis.exe -I$MKLROOT/include/intel64/lp64 -I$MKLROOT/include&lt;/P&gt;
&lt;P&gt;Can somebody help me please.&lt;/P&gt;
&lt;P&gt;I know that there is a makefile to buid the examples, but it doesn't allow me to find out the problem I'm having.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 18:40:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821480#M4786</guid>
      <dc:creator>Achille_B_</dc:creator>
      <dc:date>2013-06-21T18:40:14Z</dc:date>
    </item>
    <item>
      <title>ifort -mkl spsv.f90 -lmkl</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821481#M4787</link>
      <description>&lt;P&gt;[bash]ifort -mkl spsv.f90 -lmkl_lapack95&lt;/P&gt;
&lt;P&gt;[/bash]&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2013 20:08:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821481#M4787</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-06-21T20:08:27Z</dc:date>
    </item>
    <item>
      <title>Thanks mecej4, but it haven't</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821482#M4788</link>
      <description>&lt;P&gt;Thanks mecej4, but it haven't worked yet.&lt;/P&gt;
&lt;P&gt;"arantes@arantes:~/PROGRAMACAO/mestrado$ &lt;STRONG&gt;ifort -mkl spsv.f90 -o spsv.exe -lmkl_lapack95&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;ld: cannot find -lmkl_lapack95&lt;/EM&gt;&lt;BR /&gt;arantes@arantes:~/PROGRAMACAO/mestrado$&lt;STRONG&gt; echo $MKLROOT&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;/opt/intel/composer_xe_2013.3.163/mkl&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;arantes@arantes:~/PROGRAMACAO/mestrado$ &lt;STRONG&gt;ifort -mkl -lmkl_lapack95 spsv.f90 -o spsv.exe&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;ld: cannot find -lmkl_lapack95 "&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;"I can compile and run some lapack routines. I've used a mkl lapack routine (DGEMM) in the attached source code, and I can compile it in a easy way.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;arantes@arantes:~/PROGRAMACAO$ &lt;STRONG&gt;ifort -mkl testelapack.f90 -o teste.exe -liomp5 -lpthread -lm&lt;/STRONG&gt;&lt;BR /&gt;arantes@arantes:~/PROGRAMACAO$ &lt;STRONG&gt;./teste.exe&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;EM&gt;Top left corner of matrix A:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;Top left corner of matrix B:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -6.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -10001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -10002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -10003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -10004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -10005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -10006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -20001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -20002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -20003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -20004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -20005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -20006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -30001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -30002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -30003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -30004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -30005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -30006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -40001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -40002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -40003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -40004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -40005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -40006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -50001.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -50002.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -50003.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -50004.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -50005.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -50006.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;Top left corner of matrix C:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;-2.6667E+13&amp;nbsp; -2.6667E+13&amp;nbsp; -2.6667E+13&amp;nbsp; -2.6667E+13&amp;nbsp; -2.6667E+13&amp;nbsp; -2.6667E+13&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;-6.6647E+13&amp;nbsp; -6.6647E+13&amp;nbsp; -6.6647E+13&amp;nbsp; -6.6647E+13&amp;nbsp; -6.6647E+13&amp;nbsp; -6.6647E+13&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;-1.0663E+14&amp;nbsp; -1.0663E+14&amp;nbsp; -1.0663E+14&amp;nbsp; -1.0663E+14&amp;nbsp; -1.0663E+14&amp;nbsp; -1.0663E+14&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;-1.4661E+14&amp;nbsp; -1.4661E+14&amp;nbsp; -1.4661E+14&amp;nbsp; -1.4661E+14&amp;nbsp; -1.4661E+14&amp;nbsp; -1.4661E+14&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;-1.8659E+14&amp;nbsp; -1.8659E+14&amp;nbsp; -1.8659E+14&amp;nbsp; -1.8659E+14&amp;nbsp; -1.8659E+14&amp;nbsp; -1.8659E+14&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;-2.2657E+14&amp;nbsp; -2.2657E+14&amp;nbsp; -2.2657E+14&amp;nbsp; -2.2657E+14&amp;nbsp; -2.2657E+14&amp;nbsp; -2.2657E+14&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;Example completed.&lt;/EM&gt;&lt;BR /&gt;arantes@arantes:~/PROGRAMACAO$"&lt;/P&gt;
&lt;P&gt;I can just type:&lt;/P&gt;
&lt;P&gt;"arantes@arantes:~/PROGRAMACAO$&lt;STRONG&gt; ifort -mkl testelapack.f90 -o teste.exe&lt;/STRONG&gt;&lt;BR /&gt;arantes@arantes:~/PROGRAMACAO$"&lt;/P&gt;
&lt;P&gt;And get the same results (it also retuns a threaded executable for lapack routine, not the openmp part).&lt;/P&gt;
&lt;P&gt;I belive that there is some problem related to configuration, that is avoiding me to use the lapack95.&lt;/P&gt;
&lt;P&gt;If you have more suggestions I'll be happy to try them.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 11:59:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821482#M4788</guid>
      <dc:creator>Achille_B_</dc:creator>
      <dc:date>2013-06-24T11:59:15Z</dc:date>
    </item>
    <item>
      <title>If you are building a 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821483#M4789</link>
      <description>&lt;P&gt;If you are building a 64-bit target, there are two versions of the Lapack95 libraries, depending on whether you have chosen the LP64 or the ILP64 models. The MKL Link Line Advisor would have given you the correct command line arguments, if you had followed it faithfully. For the simple example that you gave above which uses Lapack95, the command line for LP64 would be&lt;/P&gt;
&lt;P&gt;[bash]ifort -mkl spsv.f90 -lmkl_lapack95_lp64[/bash]&lt;/P&gt;
&lt;P&gt;The second example that you gave,&amp;nbsp;testelapack.f90, does not use Lapack95 and that is why your build succeeded.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 12:40:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821483#M4789</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-06-24T12:40:00Z</dc:date>
    </item>
    <item>
      <title>Dear mecej4</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821484#M4790</link>
      <description>&lt;P&gt;Dear mecej4&lt;/P&gt;
&lt;P&gt;It worked, I'll try to find what is happening to my original program (written and working in 2006), There must be a integer*8 transfered to a routine that spects a integer*4.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2013 13:00:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821484#M4790</guid>
      <dc:creator>Achille_B_</dc:creator>
      <dc:date>2013-06-24T13:00:44Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...Those who use less</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821485#M4791</link>
      <description>&amp;gt;&amp;gt;...Those who use less common interfaces or threading models may still want to visit the Link Line Advisor to find the right
&amp;gt;&amp;gt;set of libraries...

The article at:

Web-link: software.intel.com/en-us/articles/intel-mkl-link-line-advisor

doesn't specify what executable needs to be executed depending on a platform.</description>
      <pubDate>Tue, 25 Jun 2013 13:27:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821485#M4791</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-06-25T13:27:06Z</dc:date>
    </item>
    <item>
      <title>Dear mecej4</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821486#M4792</link>
      <description>&lt;P&gt;Dear mecej4&lt;/P&gt;
&lt;P&gt;Your tip worked to spsv.f90 example. I cant undestand way -lmkl_lapack95 is needed after -mkl that worked fine to a simple gemm test.&lt;/P&gt;
&lt;P&gt;But when compiling my old program I get this message:&lt;/P&gt;
&lt;P&gt;arantes@arantes:~/PROGRAMACAO/mestrado$ &lt;STRONG&gt;ifort -mkl aux_math.f90 isoemat.f90 enodea.f90 TransfInterp.f90 equad9a.f90 emesha.f90 bondariesa.f90 dynamics.f90 postprocessing.f90 axis_condini.f90 -o axis.exe -lmkl_lapack95_lp64&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;/tmp/ifortgvLH55.o: In function `dynamics_mp_newmark_':&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;dynamics.f90:(.text+0x6fb): undefined reference to `sspmv_mkl95_'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;dynamics.f90:(.text+0x725): undefined reference to `sspmv_mkl95_'&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The original was with spgvx, but the error is the same. All integers were defined as integer*4 to avoid the lp64 vs ilp64 thing.&lt;/P&gt;
&lt;P&gt;The commented is the original and the other is the current:&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !call spgvx(mesh%K, aux, eigen(1:15) ,itype=1 ,uplo='U' ,il=1 ,iu=15 ,m=inf1 ,info=inf2) &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;call spgv(mesh%K, aux, eigen, itype=1, uplo='U', info=inf2)&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;mesh is a composite type created in one of my modules, that were compiled ok, I can see the *.mod files in the folder. mesh%K is a ponter array with form mesh%K(:).&lt;/P&gt;
&lt;P&gt;"type(E_mesh_a),pointer::mesh" as declared in the main program.&lt;/P&gt;
&lt;P&gt;Kind Regards.&lt;/P&gt;
&lt;P&gt;Arantes&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 19:56:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821486#M4792</guid>
      <dc:creator>Achille_B_</dc:creator>
      <dc:date>2013-06-25T19:56:40Z</dc:date>
    </item>
    <item>
      <title>Dear mecej4</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821487#M4793</link>
      <description>&lt;P&gt;Dear mecej4&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Please forget my last post. Ive forgot to use "-lmkl_blas95_lp64". After typed this, everything worked fine.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2013 20:19:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821487#M4793</guid>
      <dc:creator>Achille_B_</dc:creator>
      <dc:date>2013-06-25T20:19:36Z</dc:date>
    </item>
    <item>
      <title>Quote:arantesb wrote:I can't</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821488#M4794</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;arantesb wrote:&lt;BR /&gt;I can't understand way -lmkl_lapack95 is needed after -mkl; that worked fine for a simple gemm test.&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The Fortran-95 routines are wrappers around the Fortran-77 routines. As the MKL documentation states, the former have shorter argument lists, may have optional arguments, and a single generic procedure name covers arguments of various real and complex types. Some glue code is needed to decode the input arguments, fill in default values of optional arguments that are not present, allocate work arrays as needed, select and call the Fortran-77 routines that are appropriate for the argument types, and map the results back to the Fortran-95 arguments. This glue code is present in the mkl_lapack95 and mkl_blas95 libraries. If your code makes any calls to routines in these libraries, you must explicitly specify them in the linking command.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2013 16:17:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Linking-Intel-MKL-is-easy/m-p/821488#M4794</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-06-26T16:17:18Z</dc:date>
    </item>
  </channel>
</rss>

