<div>mpiexec has an option -verbose, abbr -v. You can see it with mpiexec -help2.</div>
<div>I'm using linux, it should be the same on windows.<br><br></div>
<div class="gmail_quote">On Tue, May 8, 2012 at 8:59 AM, Abrego, Celestino <span dir="ltr"><<a href="mailto:Celestino.Abrego@parsons.com" target="_blank">Celestino.Abrego@parsons.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="COLOR:#1f497d">Celestino Abrego<u></u><u></u></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:'Calibri','sans-serif';COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
<div style="BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<p class="MsoNormal"><b><span style="FONT-FAMILY:'Tahoma','sans-serif';FONT-SIZE:10pt">From:</span></b><span style="FONT-FAMILY:'Tahoma','sans-serif';FONT-SIZE:10pt"> <a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a> [mailto:<a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a>] <b>On Behalf Of </b>Ju JiaJia<br>
<b>Sent:</b> Monday, May 07, 2012 7:00 PM<br><b>To:</b> <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a>
<div>
<div class="h5"><br><b>Subject:</b> Re: [mpich-discuss] MPICH2 Errors running MCNPX-SMPDU connectfailed?<u></u><u></u></div></div></span>
<p></p></p></div>
<div>
<div class="h5">
<p class="MsoNormal"><u></u> <u></u></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:<u></u><u></u></p></div>
<div>
<p class="MsoNormal">Process 0 of 1 is on m1.<u></u><u></u></p></div>
<div>
<p class="MsoNormal"> <u></u><u></u></p></div>
<div>
<p style="MARGIN-BOTTOM:12pt" class="MsoNormal">Please run with -v to get more informations.<u></u><u></u></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:<u></u><u></u></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).<u></u><u></u></p>
<div>
<p class="MsoNormal"><br>Regards,<br>Jayesh<br><br>----- Original Message -----<br>From: "Celestino Abrego" <<a href="mailto:Celestino.Abrego@parsons.com" target="_blank">Celestino.Abrego@parsons.com</a>><br>
To: <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><u></u><u></u></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" target="_blank">mpich-discuss-bounces@mcs.anl.gov</a><br>[mailto:<a href="mailto:mpich-discuss-bounces@mcs.anl.gov" target="_blank">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" target="_blank">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" target="_blank">Celestino.Abrego@parsons.com</a>><br>To: "Jayesh Krishna" <<a href="mailto:jayesh@mcs.anl.gov" target="_blank">jayesh@mcs.anl.gov</a>>, <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">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" target="_blank">jayesh@mcs.anl.gov</a>]<br>Sent: Monday, May 07, 2012 11:50 AM<br>To: <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">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" target="_blank">Celestino.Abrego@parsons.com</a>><br>To: <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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><u></u><u></u></p></div></div>
</div>
<p class="MsoNormal"><u></u> <u></u></p></div></div></div></div><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></blockquote></div><br>