<?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 Intel MPI and Unicode in Windows in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769577#M156</link>
    <description>Hi All:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;When running my app without mpiexec.exe as the following ([UnicodeCharacter] is the argument for MyMPIAPP.exe) :&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;MyMPIApp.exe [UnicodeCharacter]&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The console shows[UnicodeCharacter] correctly.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;But when I run my app with mpiexec.exe&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;mpiexec -localonly -n 2 MyMPIApp.exe [UnicodeCharater]&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The console shows:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;[??????????]&lt;/DIV&gt;&lt;DIV&gt;[??????????]&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;all the unicode characters are displayed as question marks.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;DIV&gt;Seifer&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 26 Apr 2012 07:01:05 GMT</pubDate>
    <dc:creator>Seifer_Lin</dc:creator>
    <dc:date>2012-04-26T07:01:05Z</dc:date>
    <item>
      <title>Intel MPI and Unicode in Windows</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769573#M152</link>
      <description>Hi all:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;For a Windows unicode console program (MyUnicodeAPP.exe), my way to display unicode characters in the screen is:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;(1)Convert all wchar_t to char with UTF8 encoding&lt;/DIV&gt;&lt;DIV&gt;(2)Change the codepage of console to 65001 (UTF8)&lt;/DIV&gt;&lt;DIV&gt;(3)printf the UTF8 encoded strings&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;But when I use the following command, the UTF8 encoded strings can't be displayed correctly.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;mpiexec.exe -localonly -n 2 MyUnicodeApp.exe&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I think the MyUnicodeApp.exe launched by smpd.exe has its own codepage of console rather than 65001 of the main console.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Is there anyway to print unicode strings in a MPI app?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;DIV&gt;Seifer&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Apr 2012 03:04:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769573#M152</guid>
      <dc:creator>Seifer_Lin</dc:creator>
      <dc:date>2012-04-20T03:04:12Z</dc:date>
    </item>
    <item>
      <title>Intel MPI and Unicode in Windows</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769574#M153</link>
      <description>Hi:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I have done another test and find that if the unicode string is read from a unicode encoded text file, there is no display issue.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;But if the unicode string is passed as the argument of MyUnicodeApp.exe, the unicode strings can't be displayed correctly.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Note: MyUnicodeApp.exe already use&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;int wmain(int argc, wchar_t **argv)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;to replace&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;int main(int argc, char **argv)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I think mpiexec.exe can't get unicode string argument corretly, therefore smpd will launch MyUnicodeApp.exe with an incorrect argument.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;mpiexec.exe -localonly -n 2 MyUnicodeApp.exe []&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;DIV&gt;Seifer&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Apr 2012 03:39:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769574#M153</guid>
      <dc:creator>Seifer_Lin</dc:creator>
      <dc:date>2012-04-20T03:39:46Z</dc:date>
    </item>
    <item>
      <title>Intel MPI and Unicode in Windows</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769575#M154</link>
      <description>Hi Seifer,&lt;BR /&gt;&lt;BR /&gt;Are there any Unicode characters in the path to your application or to your MPI installation folder?&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;James Tullos&lt;BR /&gt;Technical Consulting Engineer&lt;BR /&gt;Intel Cluster Tools</description>
      <pubDate>Mon, 23 Apr 2012 13:45:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769575#M154</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2012-04-23T13:45:14Z</dc:date>
    </item>
    <item>
      <title>Intel MPI and Unicode in Windows</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769576#M155</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1335238153265="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=514944" href="https://community.intel.com/en-us/profile/514944/" class="basic"&gt;Seifer Lin&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;...&lt;I&gt;&lt;BR /&gt;&lt;STRONG&gt;Is there anyway to print unicode strings in a MPI app?&lt;/STRONG&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;Hi Seifer,&lt;BR /&gt;&lt;BR /&gt;I use two &lt;STRONG&gt;CRT&lt;/STRONG&gt; functions &lt;STRONG&gt;mbstowcs&lt;/STRONG&gt; and &lt;STRONG&gt;wcstombs&lt;/STRONG&gt; to do all stringconversions.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Apr 2012 03:41:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769576#M155</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-04-24T03:41:44Z</dc:date>
    </item>
    <item>
      <title>Intel MPI and Unicode in Windows</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769577#M156</link>
      <description>Hi All:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;When running my app without mpiexec.exe as the following ([UnicodeCharacter] is the argument for MyMPIAPP.exe) :&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;MyMPIApp.exe [UnicodeCharacter]&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The console shows[UnicodeCharacter] correctly.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;But when I run my app with mpiexec.exe&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;mpiexec -localonly -n 2 MyMPIApp.exe [UnicodeCharater]&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The console shows:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;[??????????]&lt;/DIV&gt;&lt;DIV&gt;[??????????]&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;all the unicode characters are displayed as question marks.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;DIV&gt;Seifer&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Apr 2012 07:01:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769577#M156</guid>
      <dc:creator>Seifer_Lin</dc:creator>
      <dc:date>2012-04-26T07:01:05Z</dc:date>
    </item>
    <item>
      <title>Intel MPI and Unicode in Windows</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769578#M157</link>
      <description>Hi Seifer,&lt;BR /&gt;&lt;BR /&gt;I've checked with our development team, and Unicode is currently unsupported by the Intel MPI Library. In order to add support, there will need to be significant changes throughout, and as such it is not expected to be completed in the near future.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;James Tullos&lt;BR /&gt;Technical Consulting Engineer&lt;BR /&gt;Intel Cluster Tools</description>
      <pubDate>Fri, 27 Apr 2012 13:18:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769578#M157</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2012-04-27T13:18:11Z</dc:date>
    </item>
    <item>
      <title>Intel MPI and Unicode in Windows</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769579#M158</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1335647177531="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=514944" href="https://community.intel.com/en-us/profile/514944/" class="basic"&gt;Seifer Lin&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;&lt;DIV&gt;...But when I run my app with mpiexec.exe&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;mpiexec -localonly -n 2 MyMPIApp.exe [UnicodeCharater]&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The console shows:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;[??????????]&lt;/DIV&gt;&lt;DIV&gt;[??????????]&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;all the unicode characters are displayed as question marks...&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Did you try to execute that command with a simple Win32 Consoleapplication ( UNICODE )?&lt;BR /&gt;&lt;BR /&gt;The code could look like:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;void &lt;STRONG&gt;main&lt;/STRONG&gt;( void )&lt;BR /&gt;{&lt;BR /&gt; ...&lt;BR /&gt; DWORD &lt;STRONG&gt;dwCreationFlags&lt;/STRONG&gt; = ( ... | &lt;STRONG&gt;CREATE_UNICODE_ENVIRONMENT&lt;/STRONG&gt; | ... );&lt;BR /&gt; ...&lt;BR /&gt; &lt;STRONG&gt;CreateProcess&lt;/STRONG&gt;( NULL, _T("&lt;STRONG&gt;mpiexec -localonly -n 2 MyMPIApp.exe [UnicodeCharacter]&lt;/STRONG&gt;"), ..., &lt;STRONG&gt;dwCreationFlags&lt;/STRONG&gt;, ...);&lt;BR /&gt; ...&lt;BR /&gt;}&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Sat, 28 Apr 2012 21:18:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Intel-MPI-and-Unicode-in-Windows/m-p/769579#M158</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-04-28T21:18:21Z</dc:date>
    </item>
  </channel>
</rss>

