<?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 Yeah, we use the hardcoded in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014111#M3950</link>
    <description>&lt;P&gt;Yeah, we use the hardcoded path in a couple of spots.&lt;/P&gt;

&lt;P&gt;Don't use mpdboot since the MPDs are &lt;A href="https://software.intel.com/en-us/articles/intel-cluster-tools-deprecation-information"&gt;being deprecated&lt;/A&gt;.&amp;nbsp; I would recommend using mpiexec.hydra or mpirun directly.&amp;nbsp; What version of Intel MPI do you have, by the way?&amp;nbsp; Latest is Intel MPI 5.0.3 so might be good to upgrade.&lt;/P&gt;

&lt;P&gt;~Gergana&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2015 22:57:40 GMT</pubDate>
    <dc:creator>Gergana_S_Intel</dc:creator>
    <dc:date>2015-02-19T22:57:40Z</dc:date>
    <item>
      <title>mpivars.sh to build path automatically</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014102#M3941</link>
      <description>&lt;P&gt;Looks like on Linux the intel MPI runtime hardcodes the path of mpivars.sh, eg:&lt;BR /&gt;
	I_MPI_ROOT=/opt/intel/impi/4.1.3.049; export I_MPI_ROOT&lt;/P&gt;

&lt;P&gt;On windows on the other hand the path is dynamically generated:&lt;BR /&gt;
	SET I_MPI_ROOT=%~dp0..\..&lt;/P&gt;

&lt;P&gt;Is there any reason to why the path cannot also be automatically generated on Linux?&lt;BR /&gt;
	&lt;A href="http://stackoverflow.com/questions/242538/unix-shell-script-find-out-which-directory-the-script-file-resides" target="_blank"&gt;http://stackoverflow.com/questions/242538/unix-shell-script-find-out-which-directory-the-script-file-resides&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;We have two situations were this would help:&lt;BR /&gt;
	1 - redistributing the mpi runtime with our application, and&lt;BR /&gt;
	2 - having machines with that folder mounted into different mount points.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 01:27:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014102#M3941</guid>
      <dc:creator>Tiago_M_1</dc:creator>
      <dc:date>2015-02-18T01:27:49Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014103#M3942</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	Generic solution for different shell interpreters, different usage scenarios (different current directories, using by absolute or relative paths, different ways of sourcing and so on) is too complex and may be unsafe.&lt;BR /&gt;
	I'd say mpivars.sh is designed according to the principle "keep it short and simple".&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 08:16:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014103#M3942</guid>
      <dc:creator>Artem_R_Intel1</dc:creator>
      <dc:date>2015-02-19T08:16:34Z</dc:date>
    </item>
    <item>
      <title>Hi Tiago,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014104#M3943</link>
      <description>&lt;P&gt;Hi Tiago,&lt;BR /&gt;
	Good observation and I'll get back to you after finding out more on the reason for such an implementation, thanks&lt;BR /&gt;
	_Kittur&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 17:53:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014104#M3943</guid>
      <dc:creator>KitturGanesh</dc:creator>
      <dc:date>2015-02-19T17:53:49Z</dc:date>
    </item>
    <item>
      <title>Hi Tiago,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014105#M3944</link>
      <description>&lt;P&gt;Hi Tiago,&lt;BR /&gt;
	I think Artem's response appears to me as a very valid response. Nevertheless, let me file an issue with our developers as a feature request and they can investigate to see if there's anything that can be done further down the road. Thanks for bringing this to our attention and I'll update you accordingly if I've any further update on this.&lt;BR /&gt;
	_Kittur&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 19:19:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014105#M3944</guid>
      <dc:creator>KitturGanesh</dc:creator>
      <dc:date>2015-02-19T19:19:33Z</dc:date>
    </item>
    <item>
      <title>Hi Kittur,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014106#M3945</link>
      <description>&lt;P&gt;Hi Kittur,&lt;/P&gt;

&lt;P&gt;Agreed, his response does makes sense. I guess that with the number of platform you support it gets complicated to support every shell variation.&lt;BR /&gt;
	Maybe it would be possible to have variations of that script that target certain mainstream shells (bash - mpivars.bash for example) which would solve the problem.&lt;/P&gt;

&lt;P&gt;Anyway, thanks for having a look at it.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Tiago&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 19:26:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014106#M3945</guid>
      <dc:creator>Tiago_M_1</dc:creator>
      <dc:date>2015-02-19T19:26:51Z</dc:date>
    </item>
    <item>
      <title>Hi Tiago,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014107#M3946</link>
      <description>&lt;P&gt;Hi Tiago,&lt;/P&gt;

&lt;P&gt;Just to clarify, we already have 2 separate scripts to cover the major shells: BASH and CSH.&amp;nbsp; The mpivars.&lt;STRONG&gt;sh&lt;/STRONG&gt; script is meant for BASH or compatible environments and mpivars.&lt;STRONG&gt;csh&lt;/STRONG&gt; does the same for CSH.&amp;nbsp; Both of those are available in the bin64/ directory.&lt;/P&gt;

&lt;P&gt;But, as Kittur, pointed out, he'll submit a feature request to the team so it's entered into our internal system.&lt;/P&gt;

&lt;P&gt;All the best,&lt;BR /&gt;
	~Gergana&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 20:07:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014107#M3946</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2015-02-19T20:07:00Z</dc:date>
    </item>
    <item>
      <title>Hi Gergana,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014108#M3947</link>
      <description>&lt;P&gt;Hi Gergana,&lt;/P&gt;

&lt;P&gt;Yeah I saw that. mpivars.sh point to "#! /bin/sh" which does not necessarily points to bash. in ubuntu it points to dash and in older redhat systems it is not unusual to come accros /bin/csh.&lt;/P&gt;

&lt;P&gt;Why not use "#! /usr/bin/env bash" and explicitly point to bash?&lt;/P&gt;

&lt;P&gt;Sorry being a PITA, but HEY that's how we learn things =)&lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
	Tiago&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 20:40:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014108#M3947</guid>
      <dc:creator>Tiago_M_1</dc:creator>
      <dc:date>2015-02-19T20:40:06Z</dc:date>
    </item>
    <item>
      <title>Thanks, Tiago.  You've hit on</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014109#M3948</link>
      <description>&lt;P&gt;Thanks, Tiago.&amp;nbsp; You've hit on the Ubuntu issue which we have seen before.&amp;nbsp; Part of it is usage of the Intel MPI Library: we don't see a lot of it on Ubuntu systems.&amp;nbsp; As for red hat, we officially support only the last 2 releases: RHEL 6 and 7 although we certainly have customers using older versions.&lt;/P&gt;

&lt;P&gt;Regardless, your points are well taken and well argued :)&amp;nbsp; Kittur, I trust you'll get this added to the feature request you're submitting.&lt;/P&gt;

&lt;P&gt;~Gergana&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 20:53:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014109#M3948</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2015-02-19T20:53:42Z</dc:date>
    </item>
    <item>
      <title>Just FYI I fixed my own bash</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014110#M3949</link>
      <description>&lt;P&gt;Just FYI I fixed my own bash script and now hit the same issue with mpdboot.py looks like it also has a hardcoded path.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 22:53:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014110#M3949</guid>
      <dc:creator>Tiago_M_1</dc:creator>
      <dc:date>2015-02-19T22:53:07Z</dc:date>
    </item>
    <item>
      <title>Yeah, we use the hardcoded</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014111#M3950</link>
      <description>&lt;P&gt;Yeah, we use the hardcoded path in a couple of spots.&lt;/P&gt;

&lt;P&gt;Don't use mpdboot since the MPDs are &lt;A href="https://software.intel.com/en-us/articles/intel-cluster-tools-deprecation-information"&gt;being deprecated&lt;/A&gt;.&amp;nbsp; I would recommend using mpiexec.hydra or mpirun directly.&amp;nbsp; What version of Intel MPI do you have, by the way?&amp;nbsp; Latest is Intel MPI 5.0.3 so might be good to upgrade.&lt;/P&gt;

&lt;P&gt;~Gergana&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 22:57:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014111#M3950</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2015-02-19T22:57:40Z</dc:date>
    </item>
    <item>
      <title>It is one of those situations</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014112#M3951</link>
      <description>&lt;P&gt;It is one of those situations that I am only wrapping around someone else's code. It seems like they are still using 4.1.2.040. I will pass the info forward. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 23:14:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/mpivars-sh-to-build-path-automatically/m-p/1014112#M3951</guid>
      <dc:creator>Tiago_M_1</dc:creator>
      <dc:date>2015-02-19T23:14:55Z</dc:date>
    </item>
  </channel>
</rss>

