<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks for the info. What do you mean by run with –v? It does not appear to be an option for either cpi or mpiexe.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Celestino Abrego<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mpich-discuss-bounces@mcs.anl.gov [mailto:mpich-discuss-bounces@mcs.anl.gov] <b>On Behalf Of </b>Ju JiaJia<br><b>Sent:</b> Monday, May 07, 2012 7:00 PM<br><b>To:</b> mpich-discuss@mcs.anl.gov<br><b>Subject:</b> Re: [mpich-discuss] MPICH2 Errors running MCNPX-SMPDU connectfailed?<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I don't think your testcpi is giving the right answer. there should be 20 processes running and process info should be printed, something like this:<o:p></o:p></p></div><div><p class=MsoNormal>Process 0 of 1 is on m1.<o:p></o:p></p></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Please run with -v to get more informations.<o:p></o:p></p></div><div><p class=MsoNormal>On Tue, May 8, 2012 at 5:53 AM, Jayesh Krishna <<a href="mailto:jayesh@mcs.anl.gov" target="_blank">jayesh@mcs.anl.gov</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi,<br> You might also want to check with the mcnpx developers if they have seen the error message (You should mention that you can run cpi.exe with the same command).<o:p></o:p></p><div><p class=MsoNormal><br>Regards,<br>Jayesh<br><br>----- Original Message -----<br>From: "Celestino Abrego" <<a href="mailto:Celestino.Abrego@parsons.com">Celestino.Abrego@parsons.com</a>><br>To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><o:p></o:p></p></div><div><div><p class=MsoNormal>Sent: Monday, May 7, 2012 4:40:11 PM<br>Subject: Re: [mpich-discuss] MPICH2 Errors running MCNPX-SMPDU connect failed?<br><br>Jayesh<br><br>-It is a 32 bit Windows XP Pro system and I am only trying to run on the<br>local system.<br><br>-I read through the manual and found that MPICH2 only uses TCP protocols<br>so I briefly allowed all TCP ports and IP addresses. But I still had the<br>same errors when I executed MCNPX.<br><br>-CPI and MCNPX have the same privileges, except I could not modify<br>MCNPX's by click on the check boxes- they were grayed out. But the same<br>boxes were checked for each group or user name. At minimum all users<br>could read & execute applications.<br><br>-My firewall only allows me to make exceptions for particular protocols<br>like TCP, UDP, etc., so I could not explicitly allow MCNPX exe file<br>through firewall.<br><br>Just to give you a bit more information in the hopes that it may trigger<br>new ideas:<br><br>-Desktop computer is setup with to be on a the <a href="http://parsons.com/" target="_blank">parsons.com</a> Domain but is<br>not actively on the "Parsons" network (since I work remotely). I<br>mention this because the error I receive is "PMI_ConnectToHost failed:<br>unable to post a connect to <a href="http://pbrfpnm1.parsons.com/" target="_blank">PBRFPNM1.Parsons.com</a>"<br>-Computer receives internet connection from a router with its own<br>firewall that I have assumed does not affect what I am doing.<br>-I am getting a new firewall program tomorrow!<br><br><br>Anything else I should try?<br><br>Celestino Abrego<br><br><br>-----Original Message-----<br>From: <a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a><br>[mailto:<a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a>] On Behalf Of Jayesh Krishna<br>Sent: Monday, May 07, 2012 1:58 PM<br>To: Abrego, Celestino<br>Cc: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>Subject: Re: [mpich-discuss] MPICH2 Errors running MCNPX-SMPDU connect<br>failed?<br><br>Hi,<br><br># Is your machine 32-bit or 64-bit (You seem to be running a 32-bit<br>version of mcnp)?<br># Try adding an exception for the executable<br>(C:\MCNP\mcnp5\bin\MCNPX27mpi_Win32.exe) in your firewall.<br># Do the executables "C:\Documents and<br>Settings\p0038192\Desktop\Testcpi" and<br>"C:\MCNP\mcnp5\bin\MCNPX27mpi_Win32.exe" have different privileges?<br># For more information on how MPICH2 can work with firewalls see Section<br>9.5 of the Windows developer's guide<br>(<a href="http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php" target="_blank">http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php</a><br>?s=docs).<br><br>Regards,<br>Jayesh<br><br>----- Original Message -----<br>From: "Celestino Abrego" <<a href="mailto:Celestino.Abrego@parsons.com">Celestino.Abrego@parsons.com</a>><br>To: "Jayesh Krishna" <<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>>, <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>Sent: Monday, May 7, 2012 12:05:04 PM<br>Subject: RE: [mpich-discuss] MPICH2 Errors running MCNPX-SMPDU connect<br>failed?<br><br>I have not been able to disable firewalls yet but here are the results<br>of your other requests. Commands give similar results. What exactly<br>needs to go through the firewalls? I can add exceptions and modify<br>both of the firewalls. I just have not figured out how to temporarily<br>disable them for testings. I have request with our IT department for<br>that. Any other ideas? Thanks for the fast response!!!<br><br><br>c:\mcnp\mcnp5\bin>TestMCNPXrunMPI_27<br><br>c:\mcnp\mcnp5\bin>rem ++++++Validates MPICH2 USERNAME AND PW<br>registration+++++++<br>+<br><br>c:\mcnp\mcnp5\bin>"C:\Program Files\MPICH2\bin\mpiexec.exe" -validate<br>SUCCESS<br><br>c:\mcnp\mcnp5\bin>rem +++++Renamed MPICH2 example Cpi and moved to<br>Desktop for T<br>esting++++++<br><br>c:\mcnp\mcnp5\bin>"C:\Program Files\MPICH2\bin\mpiexec.exe" -hosts 1<br>192.168.1.3<br> 20 C:\Documents and Settings\p0038192\Desktop\Testcpi Enter the number<br>of intervals: (0 quits) 10000000000000000000000000000000 pi is<br>approximately -0.0000000000000000, Error is 3.1415926535897931 wall<br>clock time = 0.000069 Enter the number of intervals: (0 quits) 0<br><br>c:\mcnp\mcnp5\bin>rem ++++++++Test MCNP Run with HOST name using MCNPX<br>Win32_MPI<br>++++++++<br><br>c:\mcnp\mcnp5\bin>"C:\Program Files\MPICH2\bin\mpiexec.exe" -hosts 1<br>192.168.1.3<br> 2 C:\MCNP\mcnp5\bin\MCNPX27mpi_Win32.exe i=beam0 [01:396]..ERROR:Error<br>creating a socket, A system call that should never fail ha s failed.<br>(10107) [01:396]..ERROR:Error creating a socket SMPDU_Sock_post_connect<br>failed.<br>[1] PMI_ConnectToHost failed: unable to post a connect to<br><a href="http://pbrfpnm1.parsons.com/" target="_blank">PBRFPNM1.Parsons.com</a> 1<br>92.168.1.3 192.168.79.1 192.168.102.1 :4345, error: Unknown error class,<br>error s<br>tack:<br>(unknown)(): Invalid buffer pointer<br>uPMI_ConnectToHost returning PMI_FAIL<br>[1] PMI_Init failed.<br>Fatal error in MPI_Init: Other MPI error, error stack:<br>MPIR_Init_thread(388):<br>MPID_Init(107).......: channel initialization failed<br>MPID_Init(367).......: PMI_Init returned -1 [01:7480]..ERROR:Error<br>creating a socket, A system call that should never fail h as failed.<br>(10107) [01:7480]..ERROR:Error creating a socket SMPDU_Sock_post_connect<br>failed.<br>[0] PMI_ConnectToHost failed: unable to post a connect to<br><a href="http://pbrfpnm1.parsons.com/" target="_blank">PBRFPNM1.Parsons.com</a> 1<br>92.168.1.3 192.168.79.1 192.168.102.1 :4352, error: Unknown error class,<br>error s<br>tack:<br>(unknown)(): Invalid buffer pointer<br>uPMI_ConnectToHost returning PMI_FAIL<br>[0] PMI_Init failed.<br>Fatal error in MPI_Init: Other MPI error, error stack:<br>MPIR_Init_thread(388):<br>MPID_Init(107).......: channel initialization failed<br>MPID_Init(367).......: PMI_Init returned -1<br><br>c:\mcnp\mcnp5\bin>pause<br>Press any key to continue . . .<br>c:\mcnp\mcnp5\bin>^A<br><br>Celestino Abrego<br><br><br>-----Original Message-----<br>From: Jayesh Krishna [mailto:<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>]<br>Sent: Monday, May 07, 2012 11:50 AM<br>To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>Cc: Abrego, Celestino<br>Subject: Re: [mpich-discuss] MPICH2 Errors running MCNPX-SMPDU connect<br>failed?<br><br>Hi,<br> Some suggestions,<br><br># Make sure that any firewall running on the machine is turned off # In<br>the step where Testcpi is run (c:\mcnp\mcnp5\bin>"C:\Program<br>Files\MPICH2\bin\mpiexec.exe" -hosts 1 PBRFPNM1 20 C:\Documents and<br>Settings\p0038192\Desktop\Testcpi ), try specifying a "number of<br>intervals" other than 0 and see if it works.<br># Try specifying the ipaddress of "PBRFPNM1" in the mpiexec command<br>(instead of "PBRFPNM1").<br><br> Let us know the results.<br><br>Regards,<br>Jayesh<br><br><br>----- Original Message -----<br>From: "Celestino Abrego" <<a href="mailto:Celestino.Abrego@parsons.com">Celestino.Abrego@parsons.com</a>><br>To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>Sent: Monday, May 7, 2012 11:37:18 AM<br>Subject: [mpich-discuss] MPICH2 Errors running MCNPX-SMPDU connect<br>failed?<br><br><br><br><br><br>I am in the process of trying to run a version of software that has is<br>widely distributed and was compiled to be run with MPICH2. I have been<br>running around in circles trying to figure out why I am not having<br>success running the software with multiple processors and I though this<br>group might be able to help me. Below are the results of a series of<br>commands that I copied and pasted from the DOS window. Everything seems<br>to be working as expected until I try to execute the MCNPX software. CPI<br>examples ramps up to nearly 100% CPU usage.<br><br><br><br>I have tried uninstalling and reinstalling MPICH2, using an admin<br>command prompt. SMPD and MPIEXEC.exe have been added as exceptions<br>through the windows firewall although I am not sure how much windows is<br>actually blocking because my company uses Trend MICRO Officescan and it<br>has its own firewall. I have found that adding SMPD and MPIEXEC as<br>exceptions through the windows firewall does not have an effect on the<br>errors I am receiving. I am running low on ideas right now, and any<br>help?<br><br><br><br>Here are the results from the command prompt. Thanks in advanced!<br><br><br><br>________________________________________________________________________<br>_______<br><br><br><br>c:\mcnp\mcnp5\bin>testmcnpxrunmpi_27<br><br><br><br>c:\mcnp\mcnp5\bin>rem ++++++Validates MPICH2 USERNAME AND PW<br>registration+++++++<br><br>+<br><br><br><br>c:\mcnp\mcnp5\bin>"C:\Program Files\MPICH2\bin\mpiexec.exe" -validate<br><br>SUCCESS<br><br><br><br>c:\mcnp\mcnp5\bin>rem +++++Renamed MPICH2 example Cpi and moved to<br>Desktop for T<br><br>esting++++++<br><br><br><br>c:\mcnp\mcnp5\bin>"C:\Program Files\MPICH2\bin\mpiexec.exe" -hosts 1<br>PBRFPNM1 20<br><br>C:\Documents and Settings\p0038192\Desktop\Testcpi<br><br>Enter the number of intervals: (0 quits) 0<br><br><br><br>c:\mcnp\mcnp5\bin>rem ++++++++Test MCNP Run with HOST name using MCNPX<br>Win32_MPI<br><br>++++++++<br><br><br><br>c:\mcnp\mcnp5\bin>"C:\Program Files\MPICH2\bin\mpiexec.exe" -hosts 1<br>PBRFPNM1 2<br><br>C:\MCNP\mcnp5\bin\MCNPX27mpi_Win32.exe i=beam0<br><br>[01:7788]..ERROR:Error creating a socket, A system call that should<br>never fail h<br><br>as failed. (10107)<br><br>[01:7788]..ERROR:Error creating a socket<br><br>SMPDU_Sock_post_connect failed.<br><br>[1] PMI_ConnectToHost failed: unable to post a connect to<br><a href="http://pbrfpnm1.parsons.com/" target="_blank">PBRFPNM1.Parsons.com</a> 1<br><br>92.168.1.3 192.168.79.1 192.168.102.1 :3130, error: Unknown error class,<br>error s<br><br>tack:<br><br>(unknown)(): Invalid buffer pointer<br><br>uPMI_ConnectToHost returning PMI_FAIL<br><br>[1] PMI_Init failed.<br><br>Fatal error in MPI_Init: Other MPI error, error stack:<br><br>MPIR_Init_thread(388):<br><br>MPID_Init(107).......: channel initialization failed<br><br>MPID_Init(367).......: PMI_Init returned -1<br><br>[01:484]..ERROR:Error creating a socket, A system call that should never<br>fail ha<br><br>s failed. (10107)<br><br>[01:484]..ERROR:Error creating a socket<br><br>SMPDU_Sock_post_connect failed.<br><br>[0] PMI_ConnectToHost failed: unable to post a connect to<br><a href="http://pbrfpnm1.parsons.com/" target="_blank">PBRFPNM1.Parsons.com</a> 1<br><br>92.168.1.3 192.168.79.1 192.168.102.1 :3137, error: Unknown error class,<br>error s<br><br>tack:<br><br>(unknown)(): Invalid buffer pointer<br><br>uPMI_ConnectToHost returning PMI_FAIL<br><br>[0] PMI_Init failed.<br><br>Fatal error in MPI_Init: Other MPI error, error stack:<br><br>MPIR_Init_thread(388):<br><br>MPID_Init(107).......: channel initialization failed<br><br>MPID_Init(367).......: PMI_Init returned -1<br><br><br><br>c:\mcnp\mcnp5\bin>pause<br><br>Press any key to continue . . .<br><br>c:\mcnp\mcnp5\bin>path<br><br>PATH=C:\MCNP\mcnp5\bin;C:\Program Files\Common Files\Microsoft<br>Shared\Windows Li<br><br>ve;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\I<br>BM\CLIEN<br><br>T~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;C:<br>\Program<br><br>Files\Common Files\Roxio<br>Shared\DLLShared\;C:\WINDOWS\system32\WindowsPowerShel<br><br>l\v1.0;C:\Program Files\Windows Imaging\;C:\MCNP\bin;C:\Program<br>Files\MATLAB\R20<br><br>10b\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program<br>Files\Qu<br><br>ickTime\QTSystem\;C:\Program Files\7-Zip;C:\Program<br>Files\MPICH2\bin;C:\Program<br><br>Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\7-Zip<br><br><br><br>c:\mcnp\mcnp5\bin>ipconfig<br><br><br><br>Windows IP Configuration<br><br><br><br><br><br>Ethernet adapter VMware Network Adapter VMnet8:<br><br><br><br>Connection-specific DNS Suffix . :<br><br>IP Address. . . . . . . . . . . . : 192.168.102.1<br><br>Subnet Mask . . . . . . . . . . . : 255.255.255.0<br><br>Default Gateway . . . . . . . . . :<br><br><br><br>Ethernet adapter VMware Network Adapter VMnet1:<br><br><br><br>Connection-specific DNS Suffix . :<br><br>IP Address. . . . . . . . . . . . : 192.168.79.1<br><br>Subnet Mask . . . . . . . . . . . : 255.255.255.0<br><br>Default Gateway . . . . . . . . . :<br><br><br><br>Ethernet adapter Local Area Connection:<br><br><br><br>Connection-specific DNS Suffix . :<br><br>IP Address. . . . . . . . . . . . : 192.168.1.3<br><br>Subnet Mask . . . . . . . . . . . : 255.255.255.0<br><br>Default Gateway . . . . . . . . . : 192.168.1.1<br><br><br><br><br><br><br><br>Celestino Abrego<br><br><br>_______________________________________________<br>mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>_______________________________________________<br>mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>_______________________________________________<br>mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>_______________________________________________<br>mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>