<?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 The arrays pivot and force in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965768#M95789</link>
    <description>&lt;P&gt;The arrays &lt;STRONG&gt;pivot&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;force&lt;/STRONG&gt; are not matched to the requirement (from the interface declaration of &lt;STRONG&gt;getrf&lt;/STRONG&gt; and &lt;STRONG&gt;getrs&lt;/STRONG&gt;) that they be one-dimensional arrays. EIther change the declarations of these two or change the calls to&amp;nbsp;&lt;STRONG&gt;call getrf(Kglobal,piv(:,1))&amp;nbsp;&lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;call getrs(Kglobal,piv(:,1),force(:,1))&lt;/STRONG&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2013 09:54:17 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2013-05-21T09:54:17Z</dc:date>
    <item>
      <title>error in compiling in intel fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965763#M95784</link>
      <description>&lt;P&gt;I am new to intel fortran.I am using math kernel library in my program.I am using getrf,getrs function in my program.&lt;/P&gt;
&lt;P&gt;before compiling ,I set the environment variables using the following commands in terminal&lt;/P&gt;
&lt;P&gt;source /opt/intel/bin/compilervars.sh ia32&lt;/P&gt;
&lt;P&gt;source /opt/intel/mkl/bin/mklvars/sh ia32&lt;/P&gt;
&lt;P&gt;for compiling i used the following command&lt;/P&gt;
&lt;P&gt;ifort beta4.f90 -mkl&lt;/P&gt;
&lt;P&gt;i am getting the following error message&lt;/P&gt;
&lt;P&gt;&amp;nbsp;error #7002: Error in opening the compiled module file.&amp;nbsp; Check INCLUDE paths.&amp;nbsp;&amp;nbsp; [LAPACK95]&lt;BR /&gt;use lapack95&lt;BR /&gt;----^&lt;BR /&gt;compilation aborted for beta4.f90 (code 1)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 03:54:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965763#M95784</guid>
      <dc:creator>dhananjay_k_1</dc:creator>
      <dc:date>2013-05-20T03:54:22Z</dc:date>
    </item>
    <item>
      <title>try adding this to your ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965764#M95785</link>
      <description>&lt;P&gt;try adding this to your ifort command line&lt;/P&gt;
&lt;P&gt;[bash]-I $MKLROOT/include/ia32[/bash]&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 05:49:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965764#M95785</guid>
      <dc:creator>Casey</dc:creator>
      <dc:date>2013-05-20T05:49:00Z</dc:date>
    </item>
    <item>
      <title>now i am getting another</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965765#M95786</link>
      <description>&lt;P&gt;now i am getting another error.&lt;/P&gt;
&lt;P&gt;dhananjay@ubuntu:~/Desktop/fortran_practice$ ifort beta4.f90 -I $MKLROOT/include/ia32&lt;BR /&gt;beta4.f90(302): error #6285: There is no matching specific subroutine for this generic subroutine call.&amp;nbsp;&amp;nbsp; [GETRF]&lt;BR /&gt;call getrf(Kglobal,ipiv)&lt;BR /&gt;-----^&lt;BR /&gt;beta4.f90(303): error #6285: There is no matching specific subroutine for this generic subroutine call.&amp;nbsp;&amp;nbsp; [GETRS]&lt;BR /&gt;call getrs(Kglobal,ipiv,force)&lt;BR /&gt;-----^&lt;BR /&gt;compilation aborted for beta4.f90 (code 1)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 06:10:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965765#M95786</guid>
      <dc:creator>dhananjay_k_1</dc:creator>
      <dc:date>2013-05-20T06:10:56Z</dc:date>
    </item>
    <item>
      <title>When the error message</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965766#M95787</link>
      <description>&lt;P&gt;When the error message contains "There is no matching specific subroutine..", the implication is that the compiler knows the proper interface (because you have a &lt;STRONG&gt;USE&lt;/STRONG&gt; that covers the subroutine in question, in this case), and you have to check the types, number and sequence of the subroutine arguments. You did not show the declarations of &lt;STRONG&gt;Kglobal, ipiv&lt;/STRONG&gt; and &lt;STRONG&gt;force&lt;/STRONG&gt;; that is where the answers to the question are likely to be found.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 11:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965766#M95787</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-05-20T11:47:00Z</dc:date>
    </item>
    <item>
      <title>here is the relevant part of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965767#M95788</link>
      <description>&lt;P&gt;here is the relevant part of my code&lt;/P&gt;
&lt;P&gt;USE LAPACK95&lt;BR /&gt;IMPLICIT NONE&lt;/P&gt;
&lt;P&gt;real ,dimension(882,1) :: force,displacement&lt;/P&gt;
&lt;P&gt;integer ,dimension(882,1) :: piv&lt;/P&gt;
&lt;P&gt;real ,dimension(882,882) :: Kglobal&lt;/P&gt;
&lt;P&gt;!using math kernel library&lt;BR /&gt;&lt;BR /&gt;call getrf(Kglobal,piv)&lt;BR /&gt;call getrs(Kglobal,piv,force)&lt;BR /&gt;do ii = 1,50&lt;BR /&gt;&amp;nbsp; print *,displacement(ii,1)&lt;BR /&gt;end do&lt;/P&gt;
&lt;P&gt;i am getting the same error......suggest me how solve this error&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2013 09:41:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965767#M95788</guid>
      <dc:creator>dhananjay_k_1</dc:creator>
      <dc:date>2013-05-21T09:41:50Z</dc:date>
    </item>
    <item>
      <title>The arrays pivot and force</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965768#M95789</link>
      <description>&lt;P&gt;The arrays &lt;STRONG&gt;pivot&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;force&lt;/STRONG&gt; are not matched to the requirement (from the interface declaration of &lt;STRONG&gt;getrf&lt;/STRONG&gt; and &lt;STRONG&gt;getrs&lt;/STRONG&gt;) that they be one-dimensional arrays. EIther change the declarations of these two or change the calls to&amp;nbsp;&lt;STRONG&gt;call getrf(Kglobal,piv(:,1))&amp;nbsp;&lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;call getrs(Kglobal,piv(:,1),force(:,1))&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2013 09:54:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965768#M95789</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-05-21T09:54:17Z</dc:date>
    </item>
    <item>
      <title>anpther error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965769#M95790</link>
      <description>&lt;P&gt;anpther error&lt;/P&gt;
&lt;P&gt;dhananjay@ubuntu:~/Desktop/fortran_practice$ ifort beta4.f90 -mkl -I$MKLROOT/include/ia32&lt;BR /&gt;/tmp/ifortimvmYV.o: In function `MAIN__':&lt;BR /&gt;beta4.f90:(.text+0x242b): undefined reference to `sgetrf_f95_'&lt;BR /&gt;beta4.f90:(.text+0x250d): undefined reference to `sgetrs1_f95_'&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2013 05:06:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965769#M95790</guid>
      <dc:creator>dhananjay_k_1</dc:creator>
      <dc:date>2013-05-22T05:06:38Z</dc:date>
    </item>
    <item>
      <title>You need to give the linker</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965770#M95791</link>
      <description>&lt;P&gt;You need to give the linker information on where to find the lapack95 library. &amp;nbsp; Add this to your ifort command&lt;/P&gt;
&lt;P&gt;[bash]$MKLROOT/lib/ia32/libmkl_lapack95.a[/bash]&lt;/P&gt;
&lt;P&gt;In general when you put a "use" statement in your code you'll need to pass a -I option with a path that include the .mod for the module and also either a path to the .a (static) file for the library or -L path -l module (dynamic) to specify path and name of the library.&lt;/P&gt;
&lt;P&gt;You can use this as a quick reference to get hints on what paths and flags you need to pass the compiler for various uses of MKL:&amp;nbsp;/opt/intel/composer_xe_2013.3.163/Documentation/en_US/mkl/mkl_link_line_advisor.htm&amp;nbsp; (assuming your installation is in /opt/intel, adjust accordingly)&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2013 05:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-in-compiling-in-intel-fortran/m-p/965770#M95791</guid>
      <dc:creator>Casey</dc:creator>
      <dc:date>2013-05-22T05:23:00Z</dc:date>
    </item>
  </channel>
</rss>

