<?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 Quote:mad\sblionel wrote: in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993084#M101943</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes - how you use compilervars.sh. I am puzzled that you got duplicate entries in path.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; I simply create the file: /etc/profile.d/ifort.sh containing the line: ## Setting up the Intel Composer XE 2013 environment. ## source /usr/local/intel/bin/compilervars.sh intel64&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Sep 2012 22:55:00 GMT</pubDate>
    <dc:creator>rudi-gaelzer</dc:creator>
    <dc:date>2012-09-20T22:55:00Z</dc:date>
    <item>
      <title>Coarrays: problems with sample program.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993077#M101936</link>
      <description>&lt;P&gt;My system: Dell Vostro 1500 w/ Intel Core 2 Duo T7300 @ 2.0GHz&lt;BR /&gt;
	OS: Fedora 17 w/ kernel 3.5.3-1.fc17.x86_64&lt;BR /&gt;
	Compiler (ifort -V): Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.0.079 Build 20120731&lt;BR /&gt;
	&lt;BR /&gt;
	Following the tutorial for coarrays, I compiled the hello_image.f90 file:&lt;BR /&gt;
	&lt;BR /&gt;
	program hello_image&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp; write(*,*) "Hello from image ", this_image(), &amp;amp;&lt;BR /&gt;
	&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; "out of ", num_images()," total images"&lt;BR /&gt;
	&lt;BR /&gt;
	end program hello_image&lt;BR /&gt;
	&lt;BR /&gt;
	with the command: ifort -coarray hello_image.f90 -o hello_image&lt;BR /&gt;
	&lt;BR /&gt;
	Got no trouble with compilation, but when I ran the code with $./hello_image, the program hang.&lt;BR /&gt;
	&lt;BR /&gt;
	Interrupting the processing with CTRL-C, I got the following error message:&lt;BR /&gt;
	&lt;BR /&gt;
	mpiexec_proteus.universe.net (mpiexec 1162): failed to obtain sock from the process manager (mpdman daemon). Please examine the /tmp/mpd2.logfile_rudi log file on each node of the ring.&lt;/P&gt;

&lt;P&gt;The log file contains merely:&lt;/P&gt;

&lt;P&gt;logfile for mpd with pid 2011&lt;BR /&gt;
	proteus.universe.net_mpdman_1: connection error in connect_lhs call: Connection timed out&lt;/P&gt;

&lt;P&gt;I've just installed version 13.&amp;nbsp; Did I leave something out?&amp;nbsp; The sample was working with the previous version.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2012 22:57:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993077#M101936</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2012-09-19T22:57:06Z</dc:date>
    </item>
    <item>
      <title>Do you have a separate MPI</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993078#M101937</link>
      <description>Do you have a separate MPI implementation installed?  What is the definition of your path environment variable?</description>
      <pubDate>Thu, 20 Sep 2012 16:19:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993078#M101937</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-20T16:19:06Z</dc:date>
    </item>
    <item>
      <title>Quote:mad\sblionel wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993079#M101938</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Do you have a separate MPI implementation installed? What is the definition of your path environment variable?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; Thanks for replying. AFAIK, the only implementation of MPI that I have installed is the one that comes with the intel fortran composer XE 2013 bundle. OTOH, the installer maintained the previous installation of XE 2011 (sp1.11.339). PATH's variable value on my system is: =============================================================================== rudi@proteus|~&amp;gt;printenv PATH /usr/local/intel/composer_xe_2013.0.079/bin/intel64:/usr/local/intel/composer_xe_2013.0.079/mpirt/bin/intel64:/usr/local/intel/composer_xe_2013.0.079/bin/intel64:/usr/local/intel/composer_xe_2013.0.079/bin/intel64_mic:/usr/local/intel/composer_xe_2013.0.079/debugger/gui/intel64:/usr/lib64/qt-3.3/bin:/usr/local/intel/composer_xe_2013.0.079/bin/intel64:/usr/local/intel/composer_xe_2013.0.079/mpirt/bin/intel64:/usr/local/intel/composer_xe_2013.0.079/bin/intel64:/usr/local/intel/composer_xe_2013.0.079/bin/intel64_mic:/usr/local/intel/composer_xe_2013.0.079/debugger/gui/intel64:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/home/rudi/bin:/home/rudi/lib/bin ==================================================================== As you can see, each path relevant to the compiler is somehow duplicated within the variable value. Don't know how that happened, but no path points to the previous (2011) version. Could that be the problem?&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2012 16:44:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993079#M101938</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2012-09-20T16:44:00Z</dc:date>
    </item>
    <item>
      <title>I think this should work.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993080#M101939</link>
      <description>I think this should work.  Let me try some cases on my system and see what I get.  What do you use for a "source" command when you start this command session?</description>
      <pubDate>Thu, 20 Sep 2012 16:51:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993080#M101939</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-20T16:51:36Z</dc:date>
    </item>
    <item>
      <title>Quote:mad\sblionel wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993081#M101940</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I think this should work. Let me try some cases on my system and see what I get. What do you use for a "source" command when you start this command session?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; Erm, I'm not sure what you mean now... Do you mean, what's the compilation line? That would be: rudi@proteus|~&amp;gt;ifort -coarray hello_image.f90 -o hello_image Or do you mean, how I set the compiler environment via the compilervars.sh script?&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2012 16:58:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993081#M101940</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2012-09-20T16:58:00Z</dc:date>
    </item>
    <item>
      <title>Yes - how you use</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993082#M101941</link>
      <description>Yes - how you use compilervars.sh.  I am puzzled that you got duplicate entries in path.</description>
      <pubDate>Thu, 20 Sep 2012 18:07:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993082#M101941</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-20T18:07:32Z</dc:date>
    </item>
    <item>
      <title>I just tried this on my</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993083#M101942</link>
      <description>I just tried this on my system and it worked ok. On Linux, it doesn't matter how many other versions of the compiler you have installed since only one is active at any time.</description>
      <pubDate>Thu, 20 Sep 2012 18:47:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993083#M101942</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-20T18:47:09Z</dc:date>
    </item>
    <item>
      <title>Quote:mad\sblionel wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993084#M101943</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes - how you use compilervars.sh. I am puzzled that you got duplicate entries in path.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; I simply create the file: /etc/profile.d/ifort.sh containing the line: ## Setting up the Intel Composer XE 2013 environment. ## source /usr/local/intel/bin/compilervars.sh intel64&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2012 22:55:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993084#M101943</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2012-09-20T22:55:00Z</dc:date>
    </item>
    <item>
      <title>Quote:mad\sblionel wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993085#M101944</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I just tried this on my system and it worked ok. On Linux, it doesn't matter how many other versions of the compiler you have installed since only one is active at any time.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; I temporarily changed my /etc/profile.d/ifort.sh file to: ## Setting up the Intel Composer XE 2013 environment. ## #source /usr/local/intel/bin/compilervars.sh intel64 source /usr/local/intel/composer_xe_2011_sp1.11.339/bin/compilervars.sh intel64 and compiled the sample program using the previous version of the compiler. Got the same problem. Funny now, the previous version used to work with coarrays...&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2012 23:06:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993085#M101944</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2012-09-20T23:06:00Z</dc:date>
    </item>
    <item>
      <title>I will ask someone who is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993086#M101945</link>
      <description>I will ask someone who is more familiar with this environment to see if they can offer suggestions. It suggests something is wrong with the way MPI is starting up.</description>
      <pubDate>Fri, 21 Sep 2012 14:58:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993086#M101945</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-21T14:58:55Z</dc:date>
    </item>
    <item>
      <title>Ok, some suggestions...</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993087#M101946</link>
      <description>Ok, some suggestions...

First, please show the output of the following commands:

which mpiexec
mpdtrace
printenv LD_LIBRARY_PATH

Next set the environment variable FOR_COARRAY_DEBUG_STARTUP to 1 , run your program, and show me the "Generated MPI command line" that is displayed.</description>
      <pubDate>Fri, 21 Sep 2012 15:44:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993087#M101946</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-21T15:44:00Z</dc:date>
    </item>
    <item>
      <title>Quote:mad\sblionel wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993088#M101947</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Ok, some suggestions...&lt;/P&gt;

&lt;P&gt;First, please show the output of the following commands:&lt;/P&gt;

&lt;P&gt;which mpiexec&lt;BR /&gt;
	mpdtrace&lt;BR /&gt;
	printenv LD_LIBRARY_PATH&lt;/P&gt;

&lt;P&gt;Next set the environment variable FOR_COARRAY_DEBUG_STARTUP to 1 , run your program, and show me the "Generated MPI command line" that is displayed.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; Ok, here's the output: ---------------------------------------------------- rudi@proteus|coarray_samples&amp;gt;which mpiexec /usr/local/intel/composer_xe_2013.0.079/mpirt/bin/intel64/mpiexec rudi@proteus|coarray_samples&amp;gt;mpdtrace mpdtrace: cannot connect to local mpd (/tmp/mpd2.console_rudi); possible causes: 1. no mpd is running on this host 2. an mpd is running but was started without a "console" (-n option) rudi@proteus|coarray_samples&amp;gt;printenv LD_LIBRARY_PATH /usr/local/intel/composer_xe_2013.0.079/compiler/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/usr/local/intel/composer_xe_2013.0.079/mpirt/lib/intel64:/usr/local/intel/composer_xe_2013.0.079/compiler/lib/intel64:/usr/local/intel/composer_xe_2013.0.079/mkl/lib/intel64 rudi@proteus|coarray_samples&amp;gt;FOR_COARRAY_DEBUG_STARTUP=1 rudi@proteus|coarray_samples&amp;gt;export FOR_COARRAY_DEBUG_STARTUP rudi@proteus|coarray_samples&amp;gt;printenv FOR_COARRAY_DEBUG_STARTUP 1 rudi@proteus|coarray_samples&amp;gt;./hello_image Generated MPI command line is 'mpd --daemon &amp;gt;/dev/null &amp;amp;&amp;amp; mpiexec -genv I_MPI_DEVICE shm -genv I_MPI_FALLBACK disable -n 2 ./hello_image ; mpdallexit'. ^Cmpiexec_proteus.universe.net (mpiexec 1162): failed to obtain sock from the process manager (mpdman daemon). Please examine the /tmp/mpd2.logfile_rudi log file on each node of the ring.&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 16:19:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993088#M101947</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2012-09-21T16:19:00Z</dc:date>
    </item>
    <item>
      <title>What happens if you write a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993089#M101948</link>
      <description>What happens if you write a simple "Hello World" program (no coarray stuff and not compiled with -coarray) and do this:

               mpd –daemon
               mpiexec –n 4 hello</description>
      <pubDate>Fri, 21 Sep 2012 18:54:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993089#M101948</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-21T18:54:12Z</dc:date>
    </item>
    <item>
      <title>Quote:mad\sblionel wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993090#M101949</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;What happens if you write a simple "Hello World" program (no coarray stuff and not compiled with -coarray) and do this:&lt;/P&gt;

&lt;P&gt;mpd –daemon&lt;BR /&gt;
	mpiexec –n 4 hello&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; The program still hangs, even with a simple program without coarrays, compiled with standard options. The program is called hello_image_si.f90. I had to interrupt the run with ctrl-c. Here's the output: --------------------------------------------------------------------------------- rudi@proteus|coarray_samples&amp;gt;ifort hello_image_si.f90 -o hello_image_si rudi@proteus|coarray_samples&amp;gt;mpd --daemon rudi@proteus|coarray_samples&amp;gt;mpiexec –n 4 hello_image_si ^Cmpiexec_proteus.universe.net (mpiexec 1162): failed to obtain sock from the process manager (mpdman daemon). Please examine the /tmp/mpd2.logfile_rudi log file on each node of the ring.&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 19:46:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993090#M101949</guid>
      <dc:creator>rudi-gaelzer</dc:creator>
      <dc:date>2012-09-21T19:46:00Z</dc:date>
    </item>
    <item>
      <title>What does the referenced log</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993091#M101950</link>
      <description>What does the referenced log file say?  Seems there is a general problem getting MPI off the ground on your system.  Is it already running some sort of MPI daemon?</description>
      <pubDate>Fri, 21 Sep 2012 20:37:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993091#M101950</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-21T20:37:25Z</dc:date>
    </item>
    <item>
      <title>I suggest you reboot your</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993092#M101951</link>
      <description>I suggest you reboot your system and see if the problem goes away. It looks as if there's a stuck mpd on your system.</description>
      <pubDate>Fri, 21 Sep 2012 20:49:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Coarrays-problems-with-sample-program/m-p/993092#M101951</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-09-21T20:49:35Z</dc:date>
    </item>
  </channel>
</rss>

