<?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 Using lapack in fortran code in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Using-lapack-in-fortran-code/m-p/892604#M78657</link>
    <description>Hello friends,&lt;BR /&gt;Im facing a problem when I compile my fortran file (.f90) calling a routine from lapack.&lt;BR /&gt;I want to use the routine GETRS to solve linear systems. My exemple .f90 file is described below.&lt;BR /&gt;&lt;BR /&gt;*** file Text1.f90 ***&lt;BR /&gt;&lt;BR /&gt;PROGRAM TEST_IFORT&lt;BR /&gt;USE mkl95_lapack&lt;BR /&gt;USE mkl95_precision&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;COMPLEX(8) :: Atild(2,2), Btild (2)&lt;BR /&gt;INTEGER :: ipiv(2)&lt;BR /&gt;&lt;BR /&gt;Atild = reshape( (/ 1,1,1,-1 /) , (/2,2/) )&lt;BR /&gt;Btild = (/ 3,1 /)&lt;BR /&gt;&lt;BR /&gt;print*, Atild(1,1),Atild(1,2)&lt;BR /&gt;print*, Atild(2,1),Atild(2,2)&lt;BR /&gt;print*, "--"&lt;BR /&gt;print*, Btild&lt;BR /&gt;&lt;BR /&gt;CALL GETRS( Atild, ipiv, Btild )&lt;BR /&gt;&lt;BR /&gt;print*,Btild&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;END PROGRAM&lt;BR /&gt;**********************&lt;BR /&gt;&lt;BR /&gt;When I use the command "ifort Text1.f90" I get the following message:&lt;BR /&gt;&amp;gt;ifort Text1.f90&lt;BR /&gt;Intel Visual Fortran Compiler Professional for applications running on IA-32,&lt;BR /&gt; Version 11.1 Build 20090930 Package ID: w_cprof_p_11.1.048&lt;BR /&gt;Copyright (C) 1985-2009 Intel Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Text1.f90(2): error #7002: Error in opening the compiled module file. Check INC&lt;BR /&gt;LUDE paths. [MKL95_LAPACK]&lt;BR /&gt;USE mkl95_lapack&lt;BR /&gt;----^&lt;BR /&gt;Text1.f90(3): error #7002: Error in opening the compiled module file. Check INC&lt;BR /&gt;LUDE paths. [MKL95_PRECISION]&lt;BR /&gt;USE mkl95_precision&lt;BR /&gt;----^&lt;BR /&gt;compilation aborted for Text1.f90 (code 1)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I dont know what to do since I have used the USE command following the instructions from the reference manual C:/Program Files/Intel/Compiler/11.1/048/Documentation/en_US/mkl/mklman.pdf&lt;BR /&gt;I have MS visual studio 2008 and visual fortran 11.1.048 installed on my pc and I wanna use the command line compiler.&lt;BR /&gt;&lt;BR /&gt;Thankyou in advance.</description>
    <pubDate>Fri, 06 Nov 2009 17:05:44 GMT</pubDate>
    <dc:creator>crdafisica</dc:creator>
    <dc:date>2009-11-06T17:05:44Z</dc:date>
    <item>
      <title>Using lapack in fortran code</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Using-lapack-in-fortran-code/m-p/892604#M78657</link>
      <description>Hello friends,&lt;BR /&gt;Im facing a problem when I compile my fortran file (.f90) calling a routine from lapack.&lt;BR /&gt;I want to use the routine GETRS to solve linear systems. My exemple .f90 file is described below.&lt;BR /&gt;&lt;BR /&gt;*** file Text1.f90 ***&lt;BR /&gt;&lt;BR /&gt;PROGRAM TEST_IFORT&lt;BR /&gt;USE mkl95_lapack&lt;BR /&gt;USE mkl95_precision&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;COMPLEX(8) :: Atild(2,2), Btild (2)&lt;BR /&gt;INTEGER :: ipiv(2)&lt;BR /&gt;&lt;BR /&gt;Atild = reshape( (/ 1,1,1,-1 /) , (/2,2/) )&lt;BR /&gt;Btild = (/ 3,1 /)&lt;BR /&gt;&lt;BR /&gt;print*, Atild(1,1),Atild(1,2)&lt;BR /&gt;print*, Atild(2,1),Atild(2,2)&lt;BR /&gt;print*, "--"&lt;BR /&gt;print*, Btild&lt;BR /&gt;&lt;BR /&gt;CALL GETRS( Atild, ipiv, Btild )&lt;BR /&gt;&lt;BR /&gt;print*,Btild&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;END PROGRAM&lt;BR /&gt;**********************&lt;BR /&gt;&lt;BR /&gt;When I use the command "ifort Text1.f90" I get the following message:&lt;BR /&gt;&amp;gt;ifort Text1.f90&lt;BR /&gt;Intel Visual Fortran Compiler Professional for applications running on IA-32,&lt;BR /&gt; Version 11.1 Build 20090930 Package ID: w_cprof_p_11.1.048&lt;BR /&gt;Copyright (C) 1985-2009 Intel Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Text1.f90(2): error #7002: Error in opening the compiled module file. Check INC&lt;BR /&gt;LUDE paths. [MKL95_LAPACK]&lt;BR /&gt;USE mkl95_lapack&lt;BR /&gt;----^&lt;BR /&gt;Text1.f90(3): error #7002: Error in opening the compiled module file. Check INC&lt;BR /&gt;LUDE paths. [MKL95_PRECISION]&lt;BR /&gt;USE mkl95_precision&lt;BR /&gt;----^&lt;BR /&gt;compilation aborted for Text1.f90 (code 1)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I dont know what to do since I have used the USE command following the instructions from the reference manual C:/Program Files/Intel/Compiler/11.1/048/Documentation/en_US/mkl/mklman.pdf&lt;BR /&gt;I have MS visual studio 2008 and visual fortran 11.1.048 installed on my pc and I wanna use the command line compiler.&lt;BR /&gt;&lt;BR /&gt;Thankyou in advance.</description>
      <pubDate>Fri, 06 Nov 2009 17:05:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Using-lapack-in-fortran-code/m-p/892604#M78657</guid>
      <dc:creator>crdafisica</dc:creator>
      <dc:date>2009-11-06T17:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using lapack in fortran code</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Using-lapack-in-fortran-code/m-p/892605#M78658</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/451077"&gt;crdafisica&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;Hello friends,&lt;BR /&gt;Im facing a problem when I compile my fortran file (.f90) calling a routine from lapack.&lt;BR /&gt;I want to use the routine GETRS to solve linear systems. My exemple .f90 file is described below.&lt;BR /&gt;&lt;BR /&gt;*** file Text1.f90 ***&lt;BR /&gt;&lt;BR /&gt;PROGRAM TEST_IFORT&lt;BR /&gt;USE mkl95_lapack&lt;BR /&gt;USE mkl95_precision&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;COMPLEX(8) :: Atild(2,2), Btild (2)&lt;BR /&gt;INTEGER :: ipiv(2)&lt;BR /&gt;&lt;BR /&gt;Atild = reshape( (/ 1,1,1,-1 /) , (/2,2/) )&lt;BR /&gt;Btild = (/ 3,1 /)&lt;BR /&gt;&lt;BR /&gt;print*, Atild(1,1),Atild(1,2)&lt;BR /&gt;print*, Atild(2,1),Atild(2,2)&lt;BR /&gt;print*, "--"&lt;BR /&gt;print*, Btild&lt;BR /&gt;&lt;BR /&gt;CALL GETRS( Atild, ipiv, Btild )&lt;BR /&gt;&lt;BR /&gt;print*,Btild&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;END PROGRAM&lt;BR /&gt;**********************&lt;BR /&gt;&lt;BR /&gt;When I use the command "ifort Text1.f90" I get the following message:&lt;BR /&gt;&amp;gt;ifort Text1.f90&lt;BR /&gt;Intel Visual Fortran Compiler Professional for applications running on IA-32,&lt;BR /&gt;Version 11.1 Build 20090930 Package ID: w_cprof_p_11.1.048&lt;BR /&gt;Copyright (C) 1985-2009 Intel Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Text1.f90(2): error #7002: Error in opening the compiled module file. Check INC&lt;BR /&gt;LUDE paths. [MKL95_LAPACK]&lt;BR /&gt;USE mkl95_lapack&lt;BR /&gt;----^&lt;BR /&gt;Text1.f90(3): error #7002: Error in opening the compiled module file. Check INC&lt;BR /&gt;LUDE paths. [MKL95_PRECISION]&lt;BR /&gt;USE mkl95_precision&lt;BR /&gt;----^&lt;BR /&gt;compilation aborted for Text1.f90 (code 1)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I dont know what to do since I have used the USE command following the instructions from the reference manual C:/Program Files/Intel/Compiler/11.1/048/Documentation/en_US/mkl/mklman.pdf&lt;BR /&gt;I have MS visual studio 2008 and visual fortran 11.1.048 installed on my pc and I wanna use the command line compiler.&lt;BR /&gt;&lt;BR /&gt;Thankyou in advance.&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;You should include those modules (mkl95_**)in your compiling and linking. Those module files are inside (MKL directory)include.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:25:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Using-lapack-in-fortran-code/m-p/892605#M78658</guid>
      <dc:creator>haifeng2009</dc:creator>
      <dc:date>2009-11-06T18:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using lapack in fortran code</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Using-lapack-in-fortran-code/m-p/892606#M78659</link>
      <description>&lt;DIV style="margin:0px;"&gt;This thread has offered answer to your question&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=69661" target="_blank"&gt;http://software.intel.com/en-us/forums/showthread.php?t=69661&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:41:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Using-lapack-in-fortran-code/m-p/892606#M78659</guid>
      <dc:creator>haifeng2009</dc:creator>
      <dc:date>2009-11-06T18:41:48Z</dc:date>
    </item>
  </channel>
</rss>

