[mpich-discuss] MPICH2 error: lanch failed

Jayesh Krishna jayesh at mcs.anl.gov
Fri May 20 09:22:03 CDT 2011


 Good to know MPICH2 is working for you now.

Regards,
Jayesh

----- Original Message -----
From: "Zhangping Wei" <zhangping_wei at yahoo.com>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Thursday, May 19, 2011 3:38:58 PM
Subject: Re:[mpich-discuss] MPICH2 error: lanch failed



Hello Jayesh, 

I just found I did not type the name of the executable file correctly, I changed it into another one, but I still typed the previous one. I can run my code now, I am sorry for this simple mistake, and I really appreciate your help. 

Best, 

Zhangping Wei 




发件人: Jayesh Krishna <jayesh at mcs.anl.gov> 
收件人: mpich-discuss at mcs.anl.gov 
抄 送: zhangping_wei at yahoo.com 
发送日期: 2011/5/19 (周四) 3:02:09 下午 
主 题: Re: [mpich-discuss] MPICH2 error: lanch failed 

Hi, 
Try providing the complete path to the executable when launching your job (mpiexec -n 2 C:\Progra~1\MPICH2\examples\cpi.exe). 

Regards, 
Jayesh 

----- Original Message ----- 
From: "Zhangping Wei" < zhangping_wei at yahoo.com > 
To: mpich-discuss at mcs.anl.gov 
Sent: Thursday, May 19, 2011 2:23:25 PM 
Subject: [mpich-discuss] MPICH2 error: lanch failed 





Dear all, 




I have a problem when I use MPICH2 in win xp 64 bit system, the error is that ‘launch failed: create process <my executable file>’ on ‘my computer name’ failed, error 2 – the system cannot find the file specified.’ Here I listed what I have done when I ran the code as follows; 




1, I downloaded the mpich2-1.3.2p1-win-x86-64.msi and installed it successfully; 




2, I added the ‘C:\Program Files\MPICH2\bin’ into the paths of user variables and system variables under environmental variables page of my computer properties; 




3, I used the VS 2005 and Intel visual Fortran10.1 to compile my code under win x64 (in fact I tried to do it under win 32, I found a lot of unsolved external links), in this process, I have added ’C:\Program Files\MPICH2\include’ to the include path, ‘C:\Program Files\MPICH2\lib’ to the lib path and fmpich2.lib to the link command; and I generated the executable file correctly, 




4, I used command window to run it in this way: ‘mpiexec –n 4 <**.exe> ‘,then I met the error as I mentioned. 




In fact, I have tried open MP installer, I failed with other error, and I also tried smpd –install/uninstall, but not working. 




I also tried to select the ‘port’ under the configurable settings, but I could not apply it. 




I really hope you may give me some help, thanks very much. 




Best wishes, 




Zhangping Wei 
_______________________________________________ 
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