[mpich-discuss] [EXTERNAL] Immediate process failure, Windows 7

Jayesh Krishna jayesh at mcs.anl.gov
Fri Sep 14 10:54:02 CDT 2012


Hi,
 Good to know it worked for you. 

(PS: If your program uses dlls, the first step I follow is to copy the dlls to the directory containing the executable - once that works go with the dll search path etc.)

-Jayesh

----- Original Message -----
From: "Kevin Scott Barnhart" <ksbarnh at sandia.gov>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Friday, September 14, 2012 10:12:10 AM
Subject: RE: [mpich-discuss] [EXTERNAL] Immediate process failure, Windows 7

Jayesh,

Thanks for the suggestions.  Running without mpiexec also failed with enabled me to track down the root of the problem.  It seems that the program was using .dll's from a different architecture that are in my python path.  Still not sure how it is finding those but everything seems to work so far and it appears to have never been a problem with MPICH2.

Thanks,
Kevin

-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
Sent: Friday, September 07, 2012 9:54 AM
To: mpich-discuss at mcs.anl.gov
Cc: Barnhart, Kevin Scott
Subject: Re: [mpich-discuss] [EXTERNAL] Immediate process failure, Windows 7

Hi,
 Sorry for the delayed response.
 Try the following,

# Can you run your code from the command line without using mpiexec (myprogram.exe)?
# Try running your code from the command line with the "-localonly" option and see if you see more error messages.

 Let us know the results.

Regards,
Jayesh

----- Original Message -----
From: "Kevin Scott Barnhart" <ksbarnh at sandia.gov>
To: mpich-discuss at mcs.anl.gov
Sent: Thursday, September 6, 2012 5:10:23 PM
Subject: Re: [mpich-discuss] [EXTERNAL]  Immediate process failure, Windows 7





I posted the below in July but didn’t receive any responses. If nobody has any clues as to how to fix the problem, does anyone have any suggestions on how to go about debugging it? I am really stuck. 



Thanks, 

Kevin 





From: mpich-discuss-bounces at mcs.anl.gov [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Barnhart, Kevin Scott 
Sent: Monday, July 02, 2012 5:20 PM 
To: mpich-discuss at mcs.anl.gov 
Subject: [EXTERNAL] [mpich-discuss] Immediate process failure, Windows 7 




Looking for any clues on this one – my past is with MPI on Linux. I am compiling a C++ 32-bit console program in Visual Studio 2010 on Windows 7 and linking in the MPICH2 1.4.1p1 ia32 libraries. 





I have compiled a test ‘pi’ application in both Debug and Release modes and am able to run these with multiple processes. Debugging works fine, I see each process at my break points. I also have no problems running on the command line. Everything seems to exit correctly. 





I also have an old version of my application that was compiled (by someone else) on a WinXP computer using Visual Studio 2006. I am able to run that application in the console and see all the processes start and stop correctly. 





Now, I can compile a new version of my code (with very few modifications) in both Debug and Release mode. When I launch via the command line, I get a pause (about the time to launch the processes) and then everything exits with no output. I put a cout (and flush) at the beginning of main() but don’t see any of that, either. If I run in debug, I set a breakpoint at the beginning of main() (at my cout) but no processes seem to reach it. I just get a “MPISHIM: target process exited with code -1073741515” for each process. I realize that this could be a VS2010 issue but I have no reasonable way of testing on a different version of the IDE and compiler. 





I am at a loss without any additional debug information. Any help is much appreciated. 





Thanks, 


Kevin 






_______________________________________________
mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
To manage subscription options or unsubscribe:
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list