[mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7

Iris Pernille Lohmann ipl at dhigroup.com
Fri Sep 24 08:27:40 CDT 2010


Hi Jayesh,

Thanks a lot for your quick reply!

Yes, I tried also with the full path for the .in file (it is the same as the working dir) but no success.
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!

Best regards,
Iris

-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
Sent: 23. september 2010 17:54
To: mpich-discuss at mcs.anl.gov
Cc: Iris Pernille Lohmann
Subject: Re: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7

Hi,
 Have you used the MPI cluster debugger before for debugging MPI applications built with MPICH2 ?

Regards,
Jayesh
----- Original Message -----
From: "Iris Pernille Lohmann" <ipl at dhigroup.com>
To: mpich-discuss at mcs.anl.gov
Sent: Thursday, September 23, 2010 7:15:10 AM GMT -06:00 US/Canada Central
Subject: [mpich-discuss] launch failed when debugging i VS2008, 32bit application on 64 bit platform, on W7





Dear list members, 



I recently changed to Windows7 64 bit platform. 



I reinstalled VisualStudio 2008 and SP1, along with IntelVisualFortran. 



I also reinstalled MPICH2 for 32 bit windows, because the mpi-application I want to debug is 32 bit. 



I have no trouble compiling and running the resulting executable outside VS2008. 



But when I want to debug in VS2008, I get an error. It used to work on 32 bit Windows Vista. 



This is the error notice, which comes for both processes (with my comments in <>): 



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. 



The settings in VS on the property page for debugging is: 



Configuration: Active (Debug) 

Platform: Active (Win32) 

Debugger to launch: MPI Cluster Debugger 



MPIRun Command: C:\Program Files (x86)\MPICH2\bin\mpiexec.exe 

MPIRun Arguments: -n 2 

MPIRun Working Directory: C:\projects\11802389-1_SeabedWindfarmInteraction\test_new_user\wave_3D_stokes\caseA_reg1_channel\input 

Application Command: C:\Work\ns3\bin\ns3hs.exe 

Application Arguments: caseA_reg1.in 

MPIShim Location: C:\Windows\System32\mpishim.exe 

MPI network security mode: Accept connections from any address 

MPI network filter: <empty> 

Debugger type: Auto 



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. 

(I have checked that the paths and file-names are ok!) 



I will be happy for any suggestion! 

Many thanks in advance, 

Iris 
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list