<?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 calling Pardiso parallel from Java on Linux environment in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774215#M874</link>
    <description>&lt;P&gt;My sparse matrix is a banded matrix, I always have numbers on the main diagonal and 4 more numbers oncertain rows and 2 more numbers on the others. For very large matrices, the percentage of nonzero is very low. &lt;BR /&gt;&lt;BR /&gt;At the moment I use for in-core version since I haven't yet moved up to very large matrices. Right now, I use for example, 50,000 by 50,000. &lt;BR /&gt;&lt;BR /&gt;I already requested the latest version of MKL from my IT depeartment and it is being installed today. So I will be able to try the upgrades you suggested. I think I will be getting version 11.1.&lt;BR /&gt;&lt;BR /&gt;Meantime, can we just assume that I use a workstation with 8 nodes on it and Isolve a smaller sparse matrix (10,000by10,000 orsmaller). How can I run it multi-threaded efficiently? In the terminal where I call my executable I write 'mkl_set_num_threads = 8' for example. It appears that Im allocated to8 nodes, but Iamactually using only 1. Because the usage profile shows only around %12. I dont get any speed-up at all.&lt;BR /&gt;&lt;BR /&gt;I really want to make the best use of the MKL library, but I couldnt manage it. Mainly because I don't have any experience with it. &lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2010 16:27:57 GMT</pubDate>
    <dc:creator>eunsal</dc:creator>
    <dc:date>2010-07-26T16:27:57Z</dc:date>
    <item>
      <title>calling Pardiso parallel from Java on Linux environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774210#M869</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using Pardiso Sparse Matrix Solver and I call it from Java on Linux environment. Currently, I create the matrix elements in Java and I passed them to Pardiso in form of arrays. I have an interface to do this.Everything works fine. &lt;BR /&gt;&lt;BR /&gt;I also have the opportunity to run my code on a cluster, but I couldnt manage to call Pardiso parallel. I tried&lt;P&gt;'setenv MKL_NUM_THREADS 4' command just before I run my executable, or I put the command in my batch file. But none of them made any difference. I still run my code on a single node, it didn't get any faster.&lt;BR /&gt;&lt;BR /&gt;Does anybosy have any experience with a similar problem/ or any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Evren&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2010 17:14:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774210#M869</guid>
      <dc:creator>eunsal</dc:creator>
      <dc:date>2010-07-23T17:14:33Z</dc:date>
    </item>
    <item>
      <title>calling Pardiso parallel from Java on Linux environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774211#M870</link>
      <description>Could you tell us what version of Intel MKL you are using?&lt;BR /&gt;&lt;BR /&gt;What sort of problem are you solving with PARDISO and how big is the matrix?&lt;BR /&gt;&lt;BR /&gt;Todd</description>
      <pubDate>Fri, 23 Jul 2010 22:41:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774211#M870</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2010-07-23T22:41:08Z</dc:date>
    </item>
    <item>
      <title>calling Pardiso parallel from Java on Linux environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774212#M871</link>
      <description>Hi Todd,&lt;BR /&gt;&lt;BR /&gt;The MKL version is 10.0.4. I am working on a fluid mechanics problem and trying to solve the fluid flow equations in porous media. the medium is represented as points and I am solving for pressures at each point. Depending on the size of my porous medium I can have, at the moment, 500,000 points. So my sparse matrix size is 500,000 by 500,000. But later on I want to try larger matrices up to 2million perhaps. So I will really benefit from making the code parallel.&lt;BR /&gt;&lt;BR /&gt;Evren</description>
      <pubDate>Mon, 26 Jul 2010 08:27:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774212#M871</guid>
      <dc:creator>eunsal</dc:creator>
      <dc:date>2010-07-26T08:27:07Z</dc:date>
    </item>
    <item>
      <title>calling Pardiso parallel from Java on Linux environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774213#M872</link>
      <description>Hi Evren,&lt;DIV&gt;&lt;SPAN style="font-size: 10.8333px; line-height: 19px;"&gt;PARDISO calculates the solution of a set of
sparse linear equations on SMP systems only. So, thats why You cannot use
PARDISO on Cluster System.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10.8333px; line-height: 19px;"&gt;--Gennady&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Jul 2010 13:10:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774213#M872</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-07-26T13:10:42Z</dc:date>
    </item>
    <item>
      <title>calling Pardiso parallel from Java on Linux environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774214#M873</link>
      <description>&lt;DIV id="_mcePaste"&gt;What is nnz value of this problem?&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;The size of your solution is pretty big, and as I can guess, you have to use OOC version. Is it correct?&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;The version you are using is pretty aged version and many improvements regarding PARDISO (either in-core or OOC versions ) are available currently versus version of 10.0 you are using.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;In particularly( among others):&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Implemented high-level parallelization of out-of-core (OOC) PARDISO when operating on symmetric positive definite matrices.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;Parallelized Reordering and Symbolic factorization stage in PARDISO/DSS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;All these functionality avalible in the latest 10.2 update5 version.&lt;/SPAN&gt;&lt;/DIV&gt;--Gennady</description>
      <pubDate>Mon, 26 Jul 2010 13:25:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774214#M873</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-07-26T13:25:28Z</dc:date>
    </item>
    <item>
      <title>calling Pardiso parallel from Java on Linux environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774215#M874</link>
      <description>&lt;P&gt;My sparse matrix is a banded matrix, I always have numbers on the main diagonal and 4 more numbers oncertain rows and 2 more numbers on the others. For very large matrices, the percentage of nonzero is very low. &lt;BR /&gt;&lt;BR /&gt;At the moment I use for in-core version since I haven't yet moved up to very large matrices. Right now, I use for example, 50,000 by 50,000. &lt;BR /&gt;&lt;BR /&gt;I already requested the latest version of MKL from my IT depeartment and it is being installed today. So I will be able to try the upgrades you suggested. I think I will be getting version 11.1.&lt;BR /&gt;&lt;BR /&gt;Meantime, can we just assume that I use a workstation with 8 nodes on it and Isolve a smaller sparse matrix (10,000by10,000 orsmaller). How can I run it multi-threaded efficiently? In the terminal where I call my executable I write 'mkl_set_num_threads = 8' for example. It appears that Im allocated to8 nodes, but Iamactually using only 1. Because the usage profile shows only around %12. I dont get any speed-up at all.&lt;BR /&gt;&lt;BR /&gt;I really want to make the best use of the MKL library, but I couldnt manage it. Mainly because I don't have any experience with it. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2010 16:27:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774215#M874</guid>
      <dc:creator>eunsal</dc:creator>
      <dc:date>2010-07-26T16:27:57Z</dc:date>
    </item>
    <item>
      <title>calling Pardiso parallel from Java on Linux environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774216#M875</link>
      <description>&lt;P&gt;Well, I agree with this
conditions, the memory consumption will be relatively negligible.&lt;/P&gt;

&lt;P&gt;1)What I d ask you to to:&lt;/P&gt;

&lt;P&gt;Could you please check the
execution time for each phase: Reordering and Symbolic Factorization, numerical
factorization and solution?&lt;/P&gt;

&lt;P&gt;2) second: &lt;/P&gt;

&lt;P&gt;You wrote: In the terminal where
I call my executable I write 'mkl_set_num_threads = 8' for example&lt;/P&gt;

&lt;P&gt;You have to call this function from your application.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;#include
&lt;MKL.H&gt;&lt;/MKL.H&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;&lt;SPAN style="font-size: 9.02775px;"&gt;int foo(){&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;  int nthr = 8;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;   mkl_set_num_threads (Nthr );&lt;/P&gt;

&lt;P&gt;   &lt;SPAN style="font-size: 10.8333px;"&gt;pardiso()&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 10.8333px;"&gt;--Gennady&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2010 15:32:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774216#M875</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-07-27T15:32:55Z</dc:date>
    </item>
    <item>
      <title>calling Pardiso parallel from Java on Linux environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774217#M876</link>
      <description>1) How can I get that information regarding the times in detail?&lt;BR /&gt;&lt;BR /&gt;2) I now upgraded to the version 11.1 and everything is running fine, little bit faster compared to 10.0.4 actually. I tried to implementyour code:&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;#include &lt;MKL.H&gt;&lt;/MKL.H&gt;&lt;/P&gt;&lt;P&gt;int foo(){&lt;/P&gt;&lt;P&gt;  int nthr = 8;&lt;/P&gt;&lt;P&gt;   mkl_set_num_threads (Nthr );&lt;/P&gt;&lt;P&gt;   pardiso()&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;&lt;BR /&gt;at different places. The wrapper has an interface in Java and the JNI in C. Am I supposed to create a new C file with this function in it? or implement it in the JNI C file? From JNI it didnt work. I also tried to pass it from Java interface to JNI , but no success either.&lt;BR /&gt;&lt;BR /&gt;with pardiso(), are you refering to the Java interface or JNI file? &lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2010 16:45:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/calling-Pardiso-parallel-from-Java-on-Linux-environment/m-p/774217#M876</guid>
      <dc:creator>eunsal</dc:creator>
      <dc:date>2010-07-29T16:45:23Z</dc:date>
    </item>
  </channel>
</rss>

