<?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 INCLUDE 'mkl_pardiso.f90' in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971356#M16604</link>
    <description>&lt;PRE style="color: rgb(0, 0, 0); line-height: normal;"&gt;      INCLUDE 'mkl_pardiso.f90'
      Main xyz                     !&amp;lt;&amp;lt;&amp;lt;=== syntax error
&amp;nbsp;     USE mkl_pardiso
      ...&lt;/PRE&gt;

&lt;P&gt;Perhaps, you meant to say "Program xyz".&lt;/P&gt;

&lt;P&gt;It would be helpful if you could zip up your source files and attach the zip to your reply.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2014 16:32:26 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2014-04-04T16:32:26Z</dc:date>
    <item>
      <title>Problems while using PARDISO</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971353#M16601</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I have a question about the PARDISO under Windows. I have written a fortran code which is to solve a very large sparse symmetric problem. And I used a &lt;/SPAN&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;subroutine&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt; to specify the parameters for &lt;/SPAN&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;PARDISO&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt; and solve the system. Following the demo given in the mkl folder, I included the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;mkl_pardiso.f90&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt; file at the very beginning of the main program and also used the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;mkl_pardiso&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt; file. If I build the solution, it will give the following &lt;/SPAN&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;error message&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Error &amp;nbsp;1 &amp;nbsp;Compilation Aborted (code 1).&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;And then if I &lt;STRONG&gt;comment out the mkl_pardiso.f90&lt;/STRONG&gt; inclusion, the &lt;STRONG&gt;error message disappears&lt;/STRONG&gt; and the code can run without any further error and the solution results are correct. I also tried to &lt;STRONG&gt;clean&lt;/STRONG&gt; the successfully built solution and keep the &lt;STRONG&gt;mkl_pardiso.f90 file commented out&lt;/STRONG&gt; and then &lt;STRONG&gt;rebuild&lt;/STRONG&gt; the solution. This time, there came more &lt;STRONG&gt;errors&lt;/STRONG&gt;:&lt;/P&gt;

&lt;P&gt;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;3&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [PT] &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6457: This derived type name has not been declared. &amp;nbsp; [MKL_PARDISO_HANDLE] &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;4&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6458: This name must be the name of a variable with a derived type (structure type) &amp;nbsp; [PT] &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp; error #7002: Error in opening the compiled module file. &amp;nbsp;Check INCLUDE paths. &amp;nbsp; [MKL_PARDISO] &amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;5&amp;nbsp;&amp;nbsp; &amp;nbsp;Compilation Aborted (code 1)&lt;/P&gt;

&lt;P&gt;So, the questions is &lt;STRONG&gt;why this happens and how can I correctly use the PARDISO in my subroutine&lt;/STRONG&gt;? Any thoughts will be much appreciated.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 02:51:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971353#M16601</guid>
      <dc:creator>Gators_vs__Sundevil</dc:creator>
      <dc:date>2014-04-04T02:51:43Z</dc:date>
    </item>
    <item>
      <title>Quote:G.v.S wrote:I included</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971354#M16602</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;G.v.S wrote:&lt;BR /&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 11.818181991577148px; line-height: 16.363636016845703px;"&gt;I included the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 700; font-family: Arial, Helvetica, sans-serif; font-size: 11.818181991577148px; line-height: 16.363636016845703px;"&gt;mkl_pardiso.f90&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 11.818181991577148px; line-height: 16.363636016845703px;"&gt;&amp;nbsp;file at the very beginning of the main program&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;Your description is a bit unclear as to how you included the MKL include file in your sources. If you have something similar to&lt;P&gt;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;program XYZ
INCLUDE 'mkl_pardiso.f90'
...
&lt;/PRE&gt;

&lt;P&gt;the compilation will fail. If, instead of that, you have something similar to&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;      INCLUDE 'mkl_pardiso.f90'
      subroutine pqr(...)
&amp;nbsp;     USE mkl_pardiso
      ...&lt;/PRE&gt;

&lt;P&gt;the compilation should go through.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If you comment out or omit necessary INCLUDE and USE statements, you will succeed in fooling the compiler into accepting erroneous code. The outcome will be that instead of compile-time errors you will run into run-time errors or your computed results will be wrong.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 13:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971354#M16602</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-04-04T13:54:00Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971355#M16603</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Quote:&lt;/STRONG&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;&lt;EM&gt;G.v.S&lt;/EM&gt; wrote:I included the&amp;nbsp;mkl_pardiso.f90&amp;nbsp;file at the very beginning of the main program&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Your description is a bit unclear as to how you included the MKL include file in your sources. If you have something similar to&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;program XYZ
INCLUDE 'mkl_pardiso.f90'
...
&lt;/PRE&gt;

&lt;P&gt;the compilation will fail. If, instead of that, you have something similar to&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;      INCLUDE 'mkl_pardiso.f90'
      subroutine pqr(...)
&amp;nbsp;     USE mkl_pardiso
      ...&lt;/PRE&gt;

&lt;P&gt;the compilation should go through.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If you comment out or omit necessary INCLUDE and USE statements, you will succeed in fooling the compiler into accepting erroneous code. The outcome will be that instead of compile-time errors you will run into run-time errors or your computed results will be wrong.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi mecej4,&lt;/P&gt;

&lt;P&gt;Thanks for your comment on my issue. To be clear, I have initially included the source file to the main program as follows:&lt;/P&gt;

&lt;PRE class="brush:fortran;" style="font-size: 13px;"&gt;      INCLUDE 'mkl_pardiso.f90'
      Main xyz
&amp;nbsp;     USE mkl_pardiso
      ...&lt;/PRE&gt;

&lt;P&gt;I also tried what you have suggested in the subroutine as&lt;/P&gt;

&lt;PRE class="brush:fortran;" style="font-size: 13px;"&gt;      INCLUDE 'mkl_pardiso.f90'
      subroutine PARDISOsolve
&amp;nbsp;     USE mkl_pardiso
      ...&lt;/PRE&gt;

&lt;P&gt;It gave me even more error messages as follows:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6236: A specification statement cannot appear in the executable section. &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;3&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6236: A specification statement cannot appear in the executable section. &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;4&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6236: A specification statement cannot appear in the executable section. &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;12&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6285: There is no matching specific subroutine for this generic subroutine call. &amp;nbsp; [PARDISO] &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;13&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6285: There is no matching specific subroutine for this generic subroutine call. &amp;nbsp; [PARDISO] &amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;16&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6285: There is no matching specific subroutine for this generic subroutine call. &amp;nbsp; [PARDISO] &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;15&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [DU]&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;14&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [FORCE_P]&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;10&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [IK]&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;19&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [INITIALP]&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;11&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [JK]&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;9&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [K_GLOBAL]&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;18&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [NPARTICLE] &amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;7&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [P_TEMP]&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;8&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [POSITIONS] &amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;20&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6404: This name does not have a type, and must have an explicit type. &amp;nbsp; [POSITIONS]&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;21&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6785: This name does not match the unit name. &amp;nbsp; [MAIN]&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;6&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6785: This name does not match the unit name. &amp;nbsp; [MKL_PARDISO_PRIVATE] &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;5&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6790: This is an invalid statement; an END [PROGRAM] &amp;nbsp;statement is required. &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6818: The statement following a CONTAINS is not a function-stmt or a subroutine-stmt. &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;17&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6911: The syntax of this substring is invalid. &amp;nbsp; [POSITIONS]&lt;BR /&gt;
	Error&amp;nbsp;&amp;nbsp; &amp;nbsp;22&amp;nbsp;&amp;nbsp; &amp;nbsp;Compilation Aborted (code 1)&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;All&amp;nbsp;the variables are defined at the main program to be global variables and shared among subroutines. Do you have any suggestions on this. Thanks. &lt;STRONG&gt;Anybody help me out, please!&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 14:54:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971355#M16603</guid>
      <dc:creator>Gators_vs__Sundevil</dc:creator>
      <dc:date>2014-04-04T14:54:44Z</dc:date>
    </item>
    <item>
      <title>INCLUDE 'mkl_pardiso.f90'</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971356#M16604</link>
      <description>&lt;PRE style="color: rgb(0, 0, 0); line-height: normal;"&gt;      INCLUDE 'mkl_pardiso.f90'
      Main xyz                     !&amp;lt;&amp;lt;&amp;lt;=== syntax error
&amp;nbsp;     USE mkl_pardiso
      ...&lt;/PRE&gt;

&lt;P&gt;Perhaps, you meant to say "Program xyz".&lt;/P&gt;

&lt;P&gt;It would be helpful if you could zip up your source files and attach the zip to your reply.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 16:32:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971356#M16604</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-04-04T16:32:26Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971357#M16605</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;PRE&gt;      INCLUDE 'mkl_pardiso.f90'
      Main xyz                     !&amp;lt;&amp;lt;&amp;lt;=== syntax error
&amp;nbsp;     USE mkl_pardiso
      ...&lt;/PRE&gt;

&lt;P&gt;Perhaps, you meant to say "Program xyz".&lt;/P&gt;

&lt;P&gt;It would be helpful if you could zip up your source files and attach the zip to your reply.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes, you are right. I just meant it's the main program.&lt;/P&gt;

&lt;PRE style="font-size: 13px;"&gt;      INCLUDE 'mkl_pardiso.f90'
      Program Main                    
&amp;nbsp;     USE mkl_pardiso
      ...&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:09:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971357#M16605</guid>
      <dc:creator>Gators_vs__Sundevil</dc:creator>
      <dc:date>2014-04-04T17:09:33Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971358#M16606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Based on this line:&lt;/P&gt;

&lt;P&gt;&lt;EM style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6236: A specification statement cannot appear in the executable section&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;You have definition of some variable, for example, after executable part of code, like:&lt;/P&gt;

&lt;P&gt;i = 5*n&lt;/P&gt;

&lt;P&gt;INTEGER error1&lt;/P&gt;

&lt;P&gt;error1 = n-i&lt;/P&gt;

&lt;P&gt;that could provide an output similar to your.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:16:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971358#M16606</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2014-04-04T17:16:57Z</dc:date>
    </item>
    <item>
      <title>Quote:Alexander Kalinkin</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971359#M16607</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Alexander Kalinkin (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Based on this line:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6236: A specification statement cannot appear in the executable section&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;You have definition of some variable, for example, after executable part of code, like:&lt;/P&gt;

&lt;P&gt;i = 5*n&lt;/P&gt;

&lt;P&gt;INTEGER error1&lt;/P&gt;

&lt;P&gt;error1 = n-i&lt;/P&gt;

&lt;P&gt;that could provide an output similar to your.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I think the reason why this error was given is that I include the source file at the beginning of my subroutine, which is suggested by mecej4.&lt;SPAN style="color: rgb(96, 96, 96); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 14.30880069732666px; font-size: 1em;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV class="line alt1" style="line-height: 14.30880069732666px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb(96, 96, 96); margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background-image: none !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: inherit !important;"&gt;
	&lt;PRE style="font-size: 13px; color: rgb(96, 96, 96);"&gt;INCLUDE 'mkl_pardiso.f90'
Subroutine xyz
USE mkl_pardiso&lt;/PRE&gt;

	&lt;P&gt;.....&lt;/P&gt;

	&lt;P&gt;By doing this, the subroutine is even not recognized by the compiler.&lt;/P&gt;

	&lt;P&gt;&lt;EM style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Error&amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp;&amp;nbsp; &amp;nbsp; error #6818: The statement following a CONTAINS is not a function-stmt or a subroutine-stmt.&lt;/EM&gt;&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Apr 2014 17:29:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971359#M16607</guid>
      <dc:creator>Gators_vs__Sundevil</dc:creator>
      <dc:date>2014-04-04T17:29:31Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971360#M16608</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Have you change&amp;nbsp;&lt;/P&gt;

&lt;P&gt;subroutine xyz&lt;/P&gt;

&lt;P&gt;on&lt;/P&gt;

&lt;P&gt;program xyz&amp;nbsp;&lt;/P&gt;

&lt;P&gt;like mecej4 recommended? If yes and nothing change just send this example to us to have a chance to reproduce issue on our side.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 18:14:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971360#M16608</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2014-04-04T18:14:25Z</dc:date>
    </item>
    <item>
      <title>I uncommented the line in pc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971361#M16609</link>
      <description>&lt;P&gt;I uncommented the line in pc.F90 with "INCLUDE 'mkl_pardiso.f90'" in it and could compile and run your program with no other changes. The output, from the program compiled on Windows 8.1 X64 using 32-bit IFort 14.0.2:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;S:\lang\MKL&amp;gt;pc
 Local stiffness matrix:   0.614186966558918
 Size of factors(MB):         2779
 Solve completed at iteration:            1
 The following ERROR was detected:           -2
1&lt;/PRE&gt;

&lt;P&gt;Please provide more details about which versions of IFort, VS, and Windows were used by you. Secondly, can you tell us if the program output is as you expected?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 18:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971361#M16609</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-04-04T18:37:00Z</dc:date>
    </item>
    <item>
      <title>Hi mecej4,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971362#M16610</link>
      <description>&lt;P&gt;Hi mecej4,&lt;/P&gt;

&lt;P&gt;The result is what have expected. The error is due to the memory is not enough. The following is the environment for my run:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;IFort: Intel parallel studio xe 2013 update 2&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;VS: 2010&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;system: Windows 7 Enterprise&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 18:48:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971362#M16610</guid>
      <dc:creator>Gators_vs__Sundevil</dc:creator>
      <dc:date>2014-04-04T18:48:39Z</dc:date>
    </item>
    <item>
      <title>Compiling for X64 overcomes</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971363#M16611</link>
      <description>&lt;P&gt;Compiling for X64 overcomes the memory problem (Error -2), and you can use the /heap-arrays:nnnn option to reduce the stack requirement. With these in effect, I obtained:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt; Local stiffness matrix:   0.592930262209848
 Size of factors(MB):         2779
 Solve completed at iteration:            1
 Total computation time:    39.87500     seconds.
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 21:37:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971363#M16611</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-04-04T21:37:50Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971364#M16612</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Compiling for X64 overcomes the memory problem (Error -2), and you can use the /heap-arrays:nnnn option to reduce the stack requirement. With these in effect, I obtained:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt; Local stiffness matrix:   0.592930262209848
 Size of factors(MB):         2779
 Solve completed at iteration:            1
 Total computation time:    39.87500     seconds.
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes, you are right. But how can I solve my original issue? Is it related to my ifort version, or the VS, or the windows OS?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 21:41:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971364#M16612</guid>
      <dc:creator>Gators_vs__Sundevil</dc:creator>
      <dc:date>2014-04-04T21:41:00Z</dc:date>
    </item>
    <item>
      <title>It is not clear what your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971365#M16613</link>
      <description>&lt;P&gt;It is not clear what your "original issue" is.&lt;/P&gt;

&lt;P&gt;We requested you to post code (stripped-down example or actual version) that would bring out those issues in your description that are related to compile-time errors. &amp;nbsp;The code that you posted (with the one-line modification that I flagged), however, compiles and runs with no compile-time errors.&lt;/P&gt;

&lt;P&gt;Please clarify.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 21:56:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971365#M16613</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-04-04T21:56:00Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971366#M16614</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;It is not clear what your "original issue" is.&lt;/P&gt;

&lt;P&gt;We requested you to post code (stripped-down example or actual version) that would bring out those issues in your description that are related to compile-time errors. &amp;nbsp;The code that you posted (with the one-line modification that I flagged), however, compiles and runs with no compile-time errors.&lt;/P&gt;

&lt;P&gt;Please clarify.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My original issue was clearly stated in my first post: I need to &lt;STRONG&gt;build&lt;/STRONG&gt; the code first &lt;STRONG&gt;not comment out&lt;/STRONG&gt; the &lt;STRONG&gt;included resource file&lt;/STRONG&gt;. i.e. &lt;SPAN style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;mkl_pardiso.f90&lt;/SPAN&gt;. And then &lt;STRONG&gt;rebuild&lt;/STRONG&gt; but this time with the &lt;STRONG&gt;resource file&lt;/STRONG&gt; &lt;STRONG&gt;comment out&lt;/STRONG&gt;. Otherwise there will always be compilation error as I have listed previously. But my code runs without any problem on your pc with the resource file not commented. How can I solve this issue? Is this because of my ifort version, or VS, or OS? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 23:10:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971366#M16614</guid>
      <dc:creator>Gators_vs__Sundevil</dc:creator>
      <dc:date>2014-04-04T23:10:55Z</dc:date>
    </item>
    <item>
      <title>With VS2012 (I do not have</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971367#M16615</link>
      <description>&lt;P&gt;With VS2012 (I do not have VS2010 installed any more) and IFort 14.0.2 running on Windows 8.1 Pro X64, I can build a console project with your pc.f90 in Release mode, targeting ia32 or X64. The builds succeeded several times, with Clean Project done in between. No error messages or any problems.&lt;/P&gt;

&lt;P&gt;One item that may be worth checking is whether you have more than one copy of mkl_pardiso.mod. This file is produced by the compiler as a result of the line "INCLUDE 'mkl_pardiso.f90'. If this line is active, a fresh copy of the .MOD file is produced and used when compiling the subsequent part of the source file which contains the "USE mkl_pardiso" declaration. If the INCLUDE line is left out, the compiler will look in the %INCLUDE% path for the module file. If you can compile successfully with the INCLUDE line left out, the implication is that a copy of the module file is visible to the compiler.&lt;/P&gt;

&lt;P&gt;The build-log file may provide additional information on what is happening on your system.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2014 00:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971367#M16615</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-04-05T00:28:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Alexander Kalinkin</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971368#M16616</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Alexander Kalinkin (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Have you change&amp;nbsp;&lt;/P&gt;

&lt;P&gt;subroutine xyz&lt;/P&gt;

&lt;P&gt;on&lt;/P&gt;

&lt;P&gt;program xyz&amp;nbsp;&lt;/P&gt;

&lt;P&gt;like mecej4 recommended? If yes and nothing change just send this example to us to have a chance to reproduce issue on our side.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Attached is my code. Please help me out. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2014 05:56:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-while-using-PARDISO/m-p/971368#M16616</guid>
      <dc:creator>Gators_vs__Sundevil</dc:creator>
      <dc:date>2014-04-05T05:56:04Z</dc:date>
    </item>
  </channel>
</rss>

