<?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 Hi Gayathri, in Intel® Graphics Performance Analyzers (Intel® GPA)</title>
    <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087334#M1394</link>
    <description>&lt;P&gt;Hi Gayathri,&lt;/P&gt;

&lt;P&gt;I see three possible causes:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;GPA libraries are not loaded into launched process.&lt;/LI&gt;
	&lt;LI&gt;Launched application doesn’t create windowed glX context for OpenGL rendering or creates it in some non-standard way which is unhandled in GPA.&lt;/LI&gt;
	&lt;LI&gt;Socket is not opened by GPA due to firewall or busy GPA port (27072) or other reason.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;To understand where the problem is, try these steps:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Run the following commands in terminal to identify which GPA libraries are loaded into target process:
		&lt;OL style="list-style-type:lower-alpha;"&gt;
			&lt;LI&gt;Run application under GPA: /opt/intel/SystemAnalyzer/bin/run_app &amp;lt;target_app&amp;gt;&lt;/LI&gt;
			&lt;LI&gt;Find its PID: ps –A | grep &amp;lt;target_app&amp;gt;&lt;/LI&gt;
			&lt;LI&gt;Print loaded GPA libraries: cat /proc/&amp;lt;PID&amp;gt;/maps | grep SystemAnalyzer&lt;/LI&gt;
		&lt;/OL&gt;
	&lt;/LI&gt;
	&lt;LI&gt;What call do you use for glX context creation? GPA supports the following APIs: glXCreateContext(), glXCreateContextAttribsARB(), glXCreateContextWithConfigSGIX(), glXCreateNewContext(). GPA doesn’t support off-screen contexts including PBuffers.&lt;/LI&gt;
	&lt;LI&gt;Ensure that GPA port (27072) is opened by executing the following command in terminal:
		&lt;OL style="list-style-type:lower-alpha;"&gt;
			&lt;LI&gt;netstat –all –program | grep &amp;lt;PID&amp;gt;, where &amp;lt;PID&amp;gt; is the same as in 1b.&lt;/LI&gt;
		&lt;/OL&gt;
	&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Also, on the ELF Class issue, GPA doesn’t know in advance what architecture (64-bit or 32-bit) the target app will use. &amp;nbsp;So we try to load both GPA libraries. In case of 64-bit app we see that 32-bit GPA library is not loaded and vise versa.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Seth&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2016 17:54:00 GMT</pubDate>
    <dc:creator>Seth_S_Intel</dc:creator>
    <dc:date>2016-01-20T17:54:00Z</dc:date>
    <item>
      <title>Intel® GPA 2015 R4 Ubuntu 14.04  Connection Failed Bug</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087331#M1391</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have installed the latest Intel® GPA 2015 R4 on my Ubuntu 14.04. I have also installed the Latest graphics drivers for Intel. I am&amp;nbsp; using 4th Generation processor (i5-4570). When I run the run_app -s command in the terminal, the system analyzer dialog box opens up and when I type my PCs IP address or just localhost, I encounter the following error&lt;/P&gt;

&lt;P&gt;Connection to Graphics Monitor has failed. Make sure graphics monitor is running on the target machine ( I have attached the screenshot as well)&lt;/P&gt;

&lt;P&gt;Please help me fix this issue.&lt;/P&gt;

&lt;P&gt;Update : I tried debugging and found in the GPA logs the following&lt;/P&gt;

&lt;P&gt;ERROR: ld.so: object '/opt/intel/SystemAnalyzer/lib/x86/libGPA.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.&lt;/P&gt;

&lt;P&gt;There is NO x64 libraries in System analyzer/lib. But the installer I downloaded told it for x64.&lt;/P&gt;

&lt;P&gt;Kindly check and fix this issue.&lt;/P&gt;

&lt;P&gt;My trial version of intel GPA&amp;nbsp; will expire soon. Please help me.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Gayathri&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 11:16:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087331#M1391</guid>
      <dc:creator>MA__GA</dc:creator>
      <dc:date>2016-01-14T11:16:19Z</dc:date>
    </item>
    <item>
      <title>Hi Gayathri, </title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087332#M1392</link>
      <description>&lt;P&gt;Hi Gayathri,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Sorry that you are running into these issues. &amp;nbsp;I took a look at the issue you attached an have a couple steps for you to try.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Make sure you are running the app you want to analyze with run_app so that System Analyzer will be able to connect.&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Run graphic application for analysis on remote or local machine: /opt/intel/SystemAnalyzer/bin/run_app &amp;lt;path_to_target_app&amp;gt;&lt;/LI&gt;
	&lt;LI&gt;Run SA and connect to the machine where app was launched (to localhost in case of local profiling)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Let me know if this works and you are able to connect to your app.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Also, you can get the GPA standalone for free from &lt;A href="https://software.intel.com/gpa" target="_blank"&gt;https://software.intel.com/gpa&lt;/A&gt;. It's completely free, fully featured, no trial. &amp;nbsp;So there shouldn't be a trial for GPA. :)&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Seth&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 20:36:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087332#M1392</guid>
      <dc:creator>Seth_S_Intel</dc:creator>
      <dc:date>2016-01-18T20:36:55Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087333#M1393</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have tried the steps that you have mentioned but system analyzer IS NOT working.&lt;/P&gt;

&lt;P&gt;I am attaching the logs that were generated during the run. It shows that x64 libraries are not present for System analyzer&lt;/P&gt;

&lt;P&gt;ERROR: ld.so: object '/opt/intel/SystemAnalyzer/lib/x86/libGPA.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.&lt;/P&gt;

&lt;P&gt;My Application ran and completed as well. But system analyzer is not able to connect to my local machine and collect any metrics.&lt;/P&gt;

&lt;P&gt;Can you help in fixing this ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;gayathri&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 06:25:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087333#M1393</guid>
      <dc:creator>MA__GA</dc:creator>
      <dc:date>2016-01-20T06:25:16Z</dc:date>
    </item>
    <item>
      <title>Hi Gayathri,</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087334#M1394</link>
      <description>&lt;P&gt;Hi Gayathri,&lt;/P&gt;

&lt;P&gt;I see three possible causes:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;GPA libraries are not loaded into launched process.&lt;/LI&gt;
	&lt;LI&gt;Launched application doesn’t create windowed glX context for OpenGL rendering or creates it in some non-standard way which is unhandled in GPA.&lt;/LI&gt;
	&lt;LI&gt;Socket is not opened by GPA due to firewall or busy GPA port (27072) or other reason.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;To understand where the problem is, try these steps:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Run the following commands in terminal to identify which GPA libraries are loaded into target process:
		&lt;OL style="list-style-type:lower-alpha;"&gt;
			&lt;LI&gt;Run application under GPA: /opt/intel/SystemAnalyzer/bin/run_app &amp;lt;target_app&amp;gt;&lt;/LI&gt;
			&lt;LI&gt;Find its PID: ps –A | grep &amp;lt;target_app&amp;gt;&lt;/LI&gt;
			&lt;LI&gt;Print loaded GPA libraries: cat /proc/&amp;lt;PID&amp;gt;/maps | grep SystemAnalyzer&lt;/LI&gt;
		&lt;/OL&gt;
	&lt;/LI&gt;
	&lt;LI&gt;What call do you use for glX context creation? GPA supports the following APIs: glXCreateContext(), glXCreateContextAttribsARB(), glXCreateContextWithConfigSGIX(), glXCreateNewContext(). GPA doesn’t support off-screen contexts including PBuffers.&lt;/LI&gt;
	&lt;LI&gt;Ensure that GPA port (27072) is opened by executing the following command in terminal:
		&lt;OL style="list-style-type:lower-alpha;"&gt;
			&lt;LI&gt;netstat –all –program | grep &amp;lt;PID&amp;gt;, where &amp;lt;PID&amp;gt; is the same as in 1b.&lt;/LI&gt;
		&lt;/OL&gt;
	&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Also, on the ELF Class issue, GPA doesn’t know in advance what architecture (64-bit or 32-bit) the target app will use. &amp;nbsp;So we try to load both GPA libraries. In case of 64-bit app we see that 32-bit GPA library is not loaded and vise versa.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Seth&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 17:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087334#M1394</guid>
      <dc:creator>Seth_S_Intel</dc:creator>
      <dc:date>2016-01-20T17:54:00Z</dc:date>
    </item>
    <item>
      <title>Hi Seth,</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087335#M1395</link>
      <description>&lt;P&gt;Hi Seth,&lt;/P&gt;

&lt;P&gt;I did the following&lt;/P&gt;

&lt;P&gt;1. &amp;nbsp;/opt/intel/SystemAnalyzer/bin/run_app&amp;nbsp; /opt/AMDAPPSDK-2.9-1/samples/opencl/cl/BlackScholes/bin/x86_64/Release/BlackScholes -p 2 -x 8388608 -i 1500 -q -t (My application)&lt;/P&gt;

&lt;P&gt;2. &lt;STRONG&gt;ps -A |grep 'BlackScholes'&lt;/STRONG&gt;&lt;BR /&gt;
	&amp;nbsp;5000 pts/11&amp;nbsp;&amp;nbsp; 00:00:01 BlackScholes&lt;/P&gt;

&lt;P&gt;3. &lt;STRONG&gt;sudo netstat --all --programs |grep 5000&lt;/STRONG&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	unix&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ ]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STREAM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONNECTED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 39666&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000/BlackScholes&amp;nbsp;&lt;/P&gt;

&lt;P&gt;4.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;cat /proc/5000/maps | grep 'SystemAnalyzer'&lt;/STRONG&gt;&lt;BR /&gt;
	7f2c5e392000-7f2c5e8da000 r-xp 00000000 08:05 2126158&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/intel/SystemAnalyzer/lib/libGPA.so&lt;BR /&gt;
	7f2c5e8da000-7f2c5eada000 ---p 00548000 08:05 2126158&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/intel/SystemAnalyzer/lib/libGPA.so&lt;BR /&gt;
	7f2c5eada000-7f2c5eaed000 r--p 00548000 08:05 2126158&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/intel/SystemAnalyzer/lib/libGPA.so&lt;BR /&gt;
	7f2c5eaed000-7f2c5eb08000 rw-p 0055b000 08:05 2126158&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/intel/SystemAnalyzer/lib/libGPA.so&lt;/P&gt;

&lt;P&gt;5. &lt;STRONG&gt;sudo ufw allow 27072&lt;/STRONG&gt;&lt;BR /&gt;
	Rules updated&lt;BR /&gt;
	Rules updated (v6)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I am just trying to follow whatever has mentioned in this link :&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://software.intel.com/en-us/articles/profiling-opencl-applications-with-system-analyzer-and-platform-analyzer" target="_blank"&gt;https://software.intel.com/en-us/articles/profiling-opencl-applications-with-system-analyzer-and-platform-analyzer&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Please let me know where I am going wrong. I an still NOT ABLE to resolve the issue.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Gayathri&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 06:27:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-GPA-2015-R4-Ubuntu-14-04-Connection-Failed-Bug/m-p/1087335#M1395</guid>
      <dc:creator>MA__GA</dc:creator>
      <dc:date>2016-01-21T06:27:47Z</dc:date>
    </item>
  </channel>
</rss>

