<?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 About rebuilding modules: in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951341#M19655</link>
    <description>&lt;P&gt;About rebuilding modules:&lt;/P&gt;

&lt;P&gt;The two files that comes with the tar file are:&lt;/P&gt;

&lt;P&gt;mpss-modules-2.6.32-358.el6.x86_64-3.1.2-1.el6.x86_64.rpm&lt;BR /&gt;
	mpss-modules-dev-2.6.32-358.el6.x86_64-3.1.2-1.el6.x86_64.rpm&lt;/P&gt;

&lt;P&gt;It turns out that my kernel is slightly different, 2.6.32-358.6.2.el6.x86_64, only the minor numbers 6.2. This is enough to put the modules in another directory, /lib/modules/2.6.32-358.el6.x86_64/, when they should have been in /lib/modules/2.6.32-358.6.2.el6.x86_64/. Maybe the module files could have been copied, but then again that might not work. Modules tend to sensitive. Better rebuild.&lt;/P&gt;

&lt;P&gt;This is easy to resolve by just rebuilding using : rpmbuild --rebuild mpss-modules-3.1.2-1.el6.src.rpm and copy the rpm in with the other and install them with yum. Problem fixed. I have written a script that install the servers after reinstall by rocks, this script used the trick above and present the node ready for use after unattended reinstall.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Ole&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2014 14:06:57 GMT</pubDate>
    <dc:creator>Ole_Saastad</dc:creator>
    <dc:date>2014-02-04T14:06:57Z</dc:date>
    <item>
      <title>MKL not finding mics</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951333#M19647</link>
      <description>&lt;P style="margin-bottom: 0cm"&gt;mic0: online (mode: linux image: /lib/firmware/mic/uos.img)&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;mic1: online (mode: linux image: /lib/firmware/mic/uos.img)&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;ifort version 14.0.1&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;ifort -o dgemm-test.x -openmp dgemm-test.f90 -mkl -offload -offload-option,mic,ld,"--no-undefined"&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;Fortran code starts with:&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;num_devices = OFFLOAD_NUMBER_OF_DEVICES()&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;if (num_devices==0) then&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;call exit&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;endif&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;There are no errors, even if the variables like:&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;MKL_MIC_ENABLE=1&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;MIC_MKLPATH=/phi/intel/mkl/lib/mic/&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;MIC_LD_LIBRARY_PATH=/phi/intel/lib (I have copied the lib files here)&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;MIC_OMP_NUM_THREADS=240&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;MIC_MKL_ROOT=/phi/intel/lib&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;MIC_MKLROOT=/phi/intel/mkl (in addition I also copied the lib files here)&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;are set.&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;Running in native more works fine, ssh and running applications built on the host run fine. All deps are resolved nicely when I run in native mode.&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;Next step would be to run on the host and use offload to share work between host and co-processor. Bu so far the applications will no see any of the mics.&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;I am I missing something that links the host application with the mic co-processor ?&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2014 14:56:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951333#M19647</guid>
      <dc:creator>Ole_Saastad</dc:creator>
      <dc:date>2014-01-07T14:56:38Z</dc:date>
    </item>
    <item>
      <title>Perhaps the -offload in the</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951334#M19648</link>
      <description>&lt;P&gt;Perhaps the &lt;STRONG&gt;-offload&lt;/STRONG&gt; in the command-line shown was just a typo?&amp;nbsp;&amp;nbsp; If not, then remove that but I doubt that would be the cause. The other options used are fine.&lt;/P&gt;

&lt;P&gt;Could you share your dgemm-test.f90?&lt;/P&gt;

&lt;P&gt;Is the Composer XE 2013 installed in the default location under &lt;STRONG&gt;/opt/intel&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2014 18:07:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951334#M19648</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-01-07T18:07:56Z</dc:date>
    </item>
    <item>
      <title>Hi, </title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951335#M19649</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Are you using Compiler Assisted Offload or explicit offload?&amp;nbsp;Are you seeing any messages or warnings? Could share a reproducer?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;-Sumedh&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2014 18:08:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951335#M19649</guid>
      <dc:creator>Sumedh_N_Intel</dc:creator>
      <dc:date>2014-01-07T18:08:16Z</dc:date>
    </item>
    <item>
      <title>I use the Intel example dgemm</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951336#M19650</link>
      <description>&lt;P&gt;I use the Intel example &lt;FONT face="Bitstream Charter, serif"&gt;&lt;FONT size="2"&gt;dgemm-with-timing.f&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;it's well known and simply the problem. I have reinstalled the compilers under a NFS directory, I cannot use the cluster file system as the production version of FhGFS do not support NFS export. So to get things simpler I installed the compilers under /phi/intel and mount the /phi on both hosts and mics, 2013.sp1.1. The documentation states that MKL should find the co-processors and launch offload automatically if the MKL_MIC_ENABLE is set. The problem is that the mics are not even discovered by MKL or the compiler. There is no warnings, and all libraries are resolved. If not there should be warnings or errors.&lt;/P&gt;

&lt;P&gt;I have attached a some information from tests, I could not post it inline as it triggered the spam filter.&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;The mics are there and can be ssh'ed into. Native runs work fine, ref attachment.&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;It might just be some missing paths or some libraries etc, but it is a real showstopper right now.&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;Regards,&lt;BR /&gt;
	Ole&lt;/P&gt;

&lt;P style="margin-bottom: 0cm"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 09:51:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951336#M19650</guid>
      <dc:creator>Ole_Saastad</dc:creator>
      <dc:date>2014-01-08T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Check that your LD_LIBRARY</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951337#M19651</link>
      <description>&lt;P&gt;Check that your &lt;STRONG&gt;LD_LIBRARY_PATH &lt;/STRONG&gt;contains &lt;STRONG&gt;/opt/intel/mic/coi/host-linux-release/lib&lt;/STRONG&gt;. I found before (discussed &lt;A href="http://software.intel.com/en-us/forums/topic/392925#comment-1737077" target="_blank"&gt;here&lt;/A&gt;) the behavior shown in your mic-attachment.txt could occur if that path was not included.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 11:58:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951337#M19651</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-01-09T11:58:57Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951338#M19652</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;the path /opt/intel/mic/coi/host-linux-release/lib does not exist. Very little coi content exist under opt/intel/mic.&lt;/P&gt;

&lt;P&gt;Could it be that my co-worker who initially installed and built the mpss omitted this by answering no to a question ?&lt;/P&gt;

&lt;P&gt;He installed mpss_gold_update_3-2.1.6720-16-rhel-6.4.tar before taking off to San Diego, CA.&lt;/P&gt;

&lt;P&gt;Maybe I should install the newer updated mpss stack ? If I understand correctly it is the applications under coi that deals with co-processor? coi stand for co-processor interface right ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Ole&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 12:50:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951338#M19652</guid>
      <dc:creator>Ole_Saastad</dc:creator>
      <dc:date>2014-01-09T12:50:20Z</dc:date>
    </item>
    <item>
      <title>Installing mpss-3.1.2-rhel-6</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951339#M19653</link>
      <description>&lt;P&gt;Installing mpss-3.1.2-rhel-6.4.tar worked.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;This example measures performance of computing the real&lt;BR /&gt;
	&amp;nbsp;matrix product C=alpha*A*B+beta*C using&lt;BR /&gt;
	&amp;nbsp;Intel(R) MKL subroutine DGEMM, where A, B, and C are&lt;BR /&gt;
	&amp;nbsp;matrices. alpha and beta are double precision scalars&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Initializing data for matrix multiplication C=A*B for&lt;BR /&gt;
	&amp;nbsp;matrix A( 4000 x 4000) and matrix B( 4000 x 4000)&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; Checking for Intel(R) MIC Architecture (Target CPU) devices...&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number of Target devices installed:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; threads&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&amp;nbsp; processors&lt;BR /&gt;
	&amp;nbsp;Intializing matrix data&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Making the first run of matrix product using&lt;BR /&gt;
	&amp;nbsp;Intel(R) MKL DGEMM subroutine to get stable&lt;BR /&gt;
	&amp;nbsp;run time measurements&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Measuring performance of matrix product using&lt;BR /&gt;
	&amp;nbsp;Intel(R) MKL DGEMM subroutine&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;== Matrix multiplication using Intel(R) MKL DGEMM ==&lt;BR /&gt;
	&amp;nbsp;== completed at&amp;nbsp;&amp;nbsp;&amp;nbsp; 367.27743 milliseconds ==&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;Example completed.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;A comment is that installations instructions might be somewhat clearer. A rebuild of modules was needed.&lt;/P&gt;

&lt;P&gt;rpmbuild --rebuild mpss-modules-3.1.2-1.el6.src.rpm&lt;/P&gt;

&lt;P&gt;After rebuild of modules it worked fine.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Ole&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 14:48:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951339#M19653</guid>
      <dc:creator>Ole_Saastad</dc:creator>
      <dc:date>2014-01-09T14:48:00Z</dc:date>
    </item>
    <item>
      <title>Glad to read that you</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951340#M19654</link>
      <description>&lt;P&gt;Glad to read that you resolved the issue.&lt;/P&gt;

&lt;P&gt;I'm afraid I&amp;nbsp;don't understand the need for rebuilding modules. I've never had to do that. Was there an error/warning during the MPSS installation that prompted you to know to do that?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 19:07:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951340#M19654</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-01-09T19:07:59Z</dc:date>
    </item>
    <item>
      <title>About rebuilding modules:</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951341#M19655</link>
      <description>&lt;P&gt;About rebuilding modules:&lt;/P&gt;

&lt;P&gt;The two files that comes with the tar file are:&lt;/P&gt;

&lt;P&gt;mpss-modules-2.6.32-358.el6.x86_64-3.1.2-1.el6.x86_64.rpm&lt;BR /&gt;
	mpss-modules-dev-2.6.32-358.el6.x86_64-3.1.2-1.el6.x86_64.rpm&lt;/P&gt;

&lt;P&gt;It turns out that my kernel is slightly different, 2.6.32-358.6.2.el6.x86_64, only the minor numbers 6.2. This is enough to put the modules in another directory, /lib/modules/2.6.32-358.el6.x86_64/, when they should have been in /lib/modules/2.6.32-358.6.2.el6.x86_64/. Maybe the module files could have been copied, but then again that might not work. Modules tend to sensitive. Better rebuild.&lt;/P&gt;

&lt;P&gt;This is easy to resolve by just rebuilding using : rpmbuild --rebuild mpss-modules-3.1.2-1.el6.src.rpm and copy the rpm in with the other and install them with yum. Problem fixed. I have written a script that install the servers after reinstall by rocks, this script used the trick above and present the node ready for use after unattended reinstall.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Ole&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2014 14:06:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951341#M19655</guid>
      <dc:creator>Ole_Saastad</dc:creator>
      <dc:date>2014-02-04T14:06:57Z</dc:date>
    </item>
    <item>
      <title>Quote:Ole Saastad wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951342#M19656</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Ole Saastad wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I use the Intel example dgemm-with-timing.f&amp;nbsp; it's well known and simply the problem. I have reinstalled the compilers under a NFS directory, I cannot use the cluster file system as the production version of FhGFS do not support NFS export. So to get things simpler I installed the compilers under /phi/intel and&lt;/P&gt;

&lt;P&gt;[...]&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Er, all recent Fhgfs versions (2012.10 and 2014.01) &lt;STRONG&gt;do&lt;/STRONG&gt; support NFS export. You should use NFSv4, though.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Mar 2014 20:59:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/MKL-not-finding-mics/m-p/951342#M19656</guid>
      <dc:creator>Bernd_S_</dc:creator>
      <dc:date>2014-03-30T20:59:11Z</dc:date>
    </item>
  </channel>
</rss>

