<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi,<br> The MPI SDK available from Microsoft is Microsoft's MPI stack that is based on MPICH2 (It is not MPICH2).<br> <br>Regards,<br>Jayesh<br>----- Original Message -----<br>From: "Iris Pernille Lohmann" <ipl@dhigroup.com><br>To: mpich-discuss@mcs.anl.gov<br>Sent: Tuesday, September 28, 2010 8:42:01 AM GMT -06:00 US/Canada Central<br>Subject: Re: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7<br><br>Hi Jayesh!<br><br>I do not have any 'Cluster Debugger Configuration' under 'Tools'. So I searched the msdn.microsoft.com page that you referred to and eventually I uninstalled my MPICH2 installation, downloaded and installed the SDK for Microsoft HPC Pack 2008 SP1 and changed the appropriate settings in VS2008. Now I can debug! I understand that this Pack uses MPICH - is it MPICH2?<br><br>What can I have done previously, on the Vista 32 bit, to debug directly with MPICH2, using the MPI Cluster Debugger? I used VS2008 without SP1....did that have another remote debugging feature?<br><br>Thanks for all you effort and help!<br><br>Best regards,<br>Iris<br><br>-----Original Message-----<br>From: jayesh@mcs.anl.gov [mailto:jayesh@mcs.anl.gov] <br>Sent: 27. september 2010 17:57<br>To: mpich-discuss@mcs.anl.gov<br>Cc: Iris Pernille Lohmann<br>Subject: Re: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7<br><br>Hi,<br> Can you try the "debugging property settings" below and let us know if it works for you,<br><br># Remove "MPIRun arguments" property setting<br># Remove "MPIRun Working Directory" project setting<br># Remove "Application command" property setting.<br># Remove "mpishim location" property setting<br><br># Compile the MPI hello world program available at https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/examples/hellow.c (executable is hellow.exe).<br># In "Cluster Debugger Configuration" set "Cluster head node" as "localhost" (without the quotes)<br># In "Cluster Debugger Configuration" set "Number of processes" as "3" (without the quotes - to launch 3 MPI processes)<br><br># Don't change the settings of "MPIRun Command", "Application Arguments", "MPI network security mode", "MPI network filter", "Debugger type" .<br><br># Submit the project setting changes<br># Set a breakpoint in the explorer window<br># Press F5 to debug your code.<br><br> Let us know the results.<br> You might also want to refer http://msdn.microsoft.com/en-us/library/ee945376.aspx for information on how to debug MPI processes in VS 2008 .<br><br>Regards,<br>Jayesh<br><br>----- Original Message -----<br>From: "Iris Pernille Lohmann" <ipl@dhigroup.com><br>To: mpich-discuss@mcs.anl.gov<br>Sent: Monday, September 27, 2010 5:37:19 AM GMT -06:00 US/Canada Central<br>Subject: Re: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7<br><br>Hi Jayesh.<br><br>The mpishim.exe is originally from<br>C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x86<br><br>I placed it in <br>C:\Windows\System32<br><br>It used to work when I had the 32bit system, even without specifying the path.<br><br>The apc665 is the name of my computer. In the error message it actually states the full path+name of my computer in the network system, and it is ok. I only use nodes on my (local) computer. Is there other info you need?<br><br>When I try debugging the cpi solution, with the following debugging property page:<br><br> Configuration: Active (Debug) <br> Platform: Active (Win32) <br> Debugger to launch: MPI Cluster Debugger <br><br> MPIRun Command: C:\Program Files (x86)\MPICH2\bin\mpiexec.exe<br> MPIRun Arguments: -n 2 <br> MPIRun Working Directory: C:\Program Files (x86)\MPICH2\examples<br> Application Command: C:\Program Files (x86)\MPICH2\examples\cpi.exe<br> Application Arguments: <empty><br> MPIShim Location: C:\Windows\System32\mpishim.exe <br> MPI network security mode: Accept connections from any address <br> MPI network filter: <empty> <br> Debugger type: Auto <br><br>I get the same error message for both nodes:<br><br>launch failed: CreateProcess(C:\Windows\System32\mpishim.exe APC665 {<a long number>} " C:\Program Files (x86)\MPICH2\examples\cpi.exe") on ‘apc665.dhi.dk’ failed, error 2 – The system cannot find the file specified.<br><br>So, I wonder, is it mpishim, mpiexec or cpi which can't be found? I can't help thinking that I need some setting in Visual Studio. I hope the above gives you a clue?<br><br>Please let me know if you need more info of my setup.<br><br>Thanks for looking into this,<br><br>/Iris<br><br>-----Original Message-----<br>From: Jayesh Krishna [mailto:jayesh@mcs.anl.gov] <br>Sent: 24. september 2010 21:29<br>To: mpich-discuss@mcs.anl.gov<br>Cc: Iris Pernille Lohmann<br>Subject: Re: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7<br><br>Hi,<br> Another thing to look for is if the path to mpishim.exe is correct.<br> Do you have multiple network adapters in your machine. If so, try only enabling one of the adapters.<br> Let us know the results.<br><br>Regards,<br>Jayesh<br>----- Original Message -----<br>From: "Jayesh Krishna" <jayesh@mcs.anl.gov><br>To: mpich-discuss@mcs.anl.gov<br>Sent: Friday, September 24, 2010 10:46:55 AM GMT -06:00 US/Canada Central<br>Subject: Re: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7<br><br>Hi,<br> Can you provide us some more details on your debug setup (eg: Is "apc665" the localhost ? etc)?<br> Do you get the same error if you try to debug cpi.exe provided with the MPICH2 installation (c:\program files\MPICH2\examples\cpi.exe)?<br><br>Regards,<br>Jayesh<br>----- Original Message -----<br>From: "Iris Pernille Lohmann" <ipl@dhigroup.com><br>To: mpich-discuss@mcs.anl.gov<br>Sent: Friday, September 24, 2010 8:27:40 AM GMT -06:00 US/Canada Central<br>Subject: Re: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7<br><br>Hi Jayesh,<br><br>Thanks a lot for your quick reply!<br><br>Yes, I tried also with the full path for the .in file (it is the same as the working dir) but no success.<br>I have used the MPI Cluster Debugger before, on windows vista 32 bit. When I reinstalled the Visual Studio 2008 on the windows7 64 bit machine, is it then the same debugger - does it work on both 32- and 64 bit code? Could it be the mpishim version? Or could it have something to do with the location of the Debug directories? I saw something about that in another ticket....I guess my understanding of how the debugger works is quite limited - I just use it!<br><br>Best regards,<br>Iris<br><br>-----Original Message-----<br>From: Jayesh Krishna [mailto:jayesh@mcs.anl.gov] <br>Sent: 23. september 2010 17:54<br>To: mpich-discuss@mcs.anl.gov<br>Cc: Iris Pernille Lohmann<br>Subject: Re: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7<br><br>Hi,<br> Have you used the MPI cluster debugger before for debugging MPI applications built with MPICH2 ?<br><br>Regards,<br>Jayesh<br>----- Original Message -----<br>From: "Iris Pernille Lohmann" <ipl@dhigroup.com><br>To: mpich-discuss@mcs.anl.gov<br>Sent: Thursday, September 23, 2010 7:15:10 AM GMT -06:00 US/Canada Central<br>Subject: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7<br><br><br><br><br><br>Dear list members, <br><br><br><br>I recently changed to Windows7 64 bit platform. <br><br><br><br>I reinstalled VisualStudio 2008 and SP1, along with IntelVisualFortran. <br><br><br><br>I also reinstalled MPICH2 for 32 bit windows, because the mpi-application I want to debug is 32 bit. <br><br><br><br>I have no trouble compiling and running the resulting executable outside VS2008. <br><br><br><br>But when I want to debug in VS2008, I get an error. It used to work on 32 bit Windows Vista. <br><br><br><br>This is the error notice, which comes for both processes (with my comments in <>): <br><br><br><br>Launch failed: CreateProcess (C:\Windows\System32\mpishim.exe APCxxx {<a long number>} C:\Work\ns3\bin\ns3hs.exe caseA_reg1.in on ‘apc665’ failed, error 2 – The system cannot find the file specified. <br><br><br><br>The settings in VS on the property page for debugging is: <br><br><br><br>Configuration: Active (Debug) <br><br>Platform: Active (Win32) <br><br>Debugger to launch: MPI Cluster Debugger <br><br><br><br>MPIRun Command: C:\Program Files (x86)\MPICH2\bin\mpiexec.exe <br><br>MPIRun Arguments: -n 2 <br><br>MPIRun Working Directory: C:\projects\11802389-1_SeabedWindfarmInteraction\test_new_user\wave_3D_stokes\caseA_reg1_channel\input <br><br>Application Command: C:\Work\ns3\bin\ns3hs.exe <br><br>Application Arguments: caseA_reg1.in <br><br>MPIShim Location: C:\Windows\System32\mpishim.exe <br><br>MPI network security mode: Accept connections from any address <br><br>MPI network filter: <empty> <br><br>Debugger type: Auto <br><br><br><br>I have searched for tickets of the same kind but haven’t found any. Do you know if there is any way I can get information on which file that can’t be found? Or what the problem is? Do I have some wrong files, or do I miss a setting in VS? Remember that the program compiles and can be run outside VS2008. <br><br>(I have checked that the paths and file-names are ok!) <br><br><br><br>I will be happy for any suggestion! <br><br>Many thanks in advance, <br><br>Iris <br>_______________________________________________<br>mpich-discuss mailing list<br>mpich-discuss@mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br><br>_______________________________________________<br>mpich-discuss mailing list<br>mpich-discuss@mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br>_______________________________________________<br>mpich-discuss mailing list<br>mpich-discuss@mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br><br>_______________________________________________<br>mpich-discuss mailing list<br>mpich-discuss@mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br><br>_______________________________________________<br>mpich-discuss mailing list<br>mpich-discuss@mcs.anl.gov<br>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br></div></body></html>