<?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 pls take a look at this in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172801#M28703</link>
    <description>&lt;P&gt;pls take a look at this thread &lt;A href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/518104" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/518104&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 26 Aug 2017 05:51:20 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2017-08-26T05:51:20Z</dc:date>
    <item>
      <title>CANNOT use cluster_sparse_solver in linux!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172800#M28702</link>
      <description>&lt;P&gt;
	&lt;STYLE type="text/css"&gt;p { margin-bottom: 0.1in; line-height: 120%; }
	&lt;/STYLE&gt;
&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;Hi everyone,&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;I have developed a code which uses cluster_sparse_solver. I can compile it (static) in my PC, which has WINDOWS10 OS. &lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;But, I can not compile it in linux!!&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;I use the following commands for compilation:&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;$MKLPATH=$MKLROOT/lib/intel64&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;$MKLINCLUDE=$MKLROOT/include&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;and then&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;$mpiifort USEFULLS.f90 CONSTANTS.f90 PRE_PROCESSOR_3D.f90 DATATYPES.f90 VEL_SUBS.f90 SPARSE_SUB.f90 -L$MKLPATH -I$MKLINCLUDE/ -I$MKLINCLUDE/intel64/lp64 parallel00.f90 -Wl,--start-group $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 -ldl -o t1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;But, I see the following error message:&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;parallel00.f90(17): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_CLUSTER_SPARSE_SOLVER]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;USE MKL_CLUSTER_SPARSE_SOLVER&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;------------^&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;parallel00.f90(61): error #6457: This derived type name has not been declared. [MKL_CLUSTER_SPARSE_SOLVER_HANDLE]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;TYPE(MKL_CLUSTER_SPARSE_SOLVER_HANDLE) :: PT(64)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;-------------^&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;parallel00.f90(268): error #6404: This name does not have a type, and must have an explicit type. [PT]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;PT(:)%dummy = 0 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;--------^&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;parallel00.f90(268): error #6514: Substring or array slice notation requires CHARACTER type or array. [PT]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;PT(:)%dummy = 0 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;--------^&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;parallel00.f90(268): error #6460: This is not a field name that is defined in the encompassing structure. [DUMMY]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;PT(:)%dummy = 0 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;---------------^&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;parallel00.f90(268): error #6158: The structure-name is invalid or is missing. [PT]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;PT(:)%dummy = 0 &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;--------^&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Courier 10 Pitch"&gt;compilation aborted for parallel00.f90 (code 1)&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;&lt;FONT style="font-size: 12pt" size="3"&gt;Does anyone have any suggestion to solve this problem? Shall I compile &lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;MKL_CLUSTER_SPARSE_SOLVER.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier 10 Pitch"&gt;&lt;FONT style="font-size: 10pt" size="2"&gt;f90&lt;/FONT&gt;&lt;/FONT&gt; in the include directory or it is not necessary? (I should say that even this compilation is not possible in my linux system, but I can do it in WINDOWS OS)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;&lt;FONT style="font-size: 12pt" size="3"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0in; line-height: 100%"&gt;&lt;FONT face="Abyssinica SIL"&gt;&lt;FONT style="font-size: 12pt" size="3"&gt;Mehdi&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 14:18:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172800#M28702</guid>
      <dc:creator>Mehdi_M_1</dc:creator>
      <dc:date>2017-08-25T14:18:45Z</dc:date>
    </item>
    <item>
      <title>pls take a look at this</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172801#M28703</link>
      <description>&lt;P&gt;pls take a look at this thread &lt;A href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/518104" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/518104&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Aug 2017 05:51:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172801#M28703</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-08-26T05:51:20Z</dc:date>
    </item>
    <item>
      <title>Hello Gennady,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172802#M28704</link>
      <description>&lt;P&gt;Hello Gennady,&lt;/P&gt;

&lt;P&gt;Thanks for your attention to my question.&lt;/P&gt;

&lt;P&gt;Actually, I have tried to &lt;SPAN style="font-size: 12px;"&gt;compile&amp;nbsp;&lt;/SPAN&gt;mkl_cluster_sparse_solver.f90 separately:&lt;/P&gt;

&lt;P&gt;1- On the windows system on my laptop I was successful.&lt;/P&gt;

&lt;P&gt;2- I have also, another PC in university. In that PC (Windows 10 OS) I could not&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;compile&amp;nbsp;&lt;/SPAN&gt;the &lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;mkl_cluster_sparse_solver.f90&lt;/SPAN&gt; file, because the root is write protected (for students, not administrator) . But, I copied the INCLUDE directory to other place and&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;compiled&amp;nbsp;&lt;/SPAN&gt;the&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;mkl_cluster_sparse_solver.f90 there. Then I used the mentioned directory as the new address of INCLUDE directory and the problem was solve. (I mean: -I "new address for copy on INCLUDE folder")&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;3- But, I would like to compile and run my program in a cluster (Linux OS). In the mentioned system, I was not able to compile mkl_cluster_sparse_solver.f90, in root because it is write protected. So, I copied it on lnclude_copy. In this case also I get an error which is very strange:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;[mehdi@frontend include_copy]$ ifort mkl_cluster_sparse_solver.f90&amp;nbsp; (press enter)&lt;/P&gt;

&lt;P&gt;/opt/intel/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64_lin/for_main.o: In function `main':&lt;BR /&gt;
	for_main.c:(.text+0x2a): undefined reference to `MAIN__'&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Mehdi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Aug 2017 08:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172802#M28704</guid>
      <dc:creator>Mehdi_M_1</dc:creator>
      <dc:date>2017-08-26T08:47:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady F. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172803#M28705</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady F. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;pls take a look at this thread &lt;A href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/518104"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/...&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hello Gennady,&lt;/P&gt;

&lt;P&gt;Thanks for your attention to my question.&lt;/P&gt;

&lt;P&gt;Actually, I have tried to &lt;SPAN style="font-size: 12px;"&gt;compile&amp;nbsp;&lt;/SPAN&gt;mkl_cluster_sparse_solver.f90 separately:&lt;/P&gt;

&lt;P&gt;1- On the windows system on my laptop I was successful.&lt;/P&gt;

&lt;P&gt;2- I have also, another PC in university. In that PC (Windows 10 OS) I could not&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;compile&amp;nbsp;&lt;/SPAN&gt;the &lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;mkl_cluster_sparse_solver.f90&lt;/SPAN&gt; file, because the root is write protected (for students, not administrator) . But, I copied the INCLUDE directory to other place and&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;compiled&amp;nbsp;&lt;/SPAN&gt;the&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;mkl_cluster_sparse_solver.f90 there. Then I used the mentioned directory as the new address of INCLUDE directory and the problem was solve. (I mean: -I "new address for copy on INCLUDE folder")&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;3- But, I would like to compile and run my program in a cluster (Linux OS). In the mentioned system, I was not able to compile mkl_cluster_sparse_solver.f90, in root because it is write protected. So, I copied it on lnclude_copy. In this case also I get an error which is very strange:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;[mehdi@frontend include_copy]$ ifort mkl_cluster_sparse_solver.f90&amp;nbsp; (press enter)&lt;/P&gt;

&lt;P&gt;/opt/intel/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64_lin/for_main.o: In function `main':&lt;BR /&gt;
	for_main.c:(.text+0x2a): undefined reference to `MAIN__'&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Mehdi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 08:47:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/CANNOT-use-cluster-sparse-solver-in-linux/m-p/1172803#M28705</guid>
      <dc:creator>Mehdi_M_1</dc:creator>
      <dc:date>2017-08-28T08:47:56Z</dc:date>
    </item>
  </channel>
</rss>

