[mpich-discuss] Errors in running example code in MPICH2 under windows

Jayesh Krishna jayesh at mcs.anl.gov
Wed Jul 16 09:33:01 CDT 2008


Hi,
 Please let us know how you are launching your MPI job. To run an MPI 
program, cpi.exe, with 2 processes you should run,

     mpiexec -n 2 cpi.exe

 The error you see below should occur only if you try to run your MPI job 
without the job launcher, mpiexec. The error message still indicates that 
mpiexec is not found in the PATH. Where you able to set PATH to mpiexec 
correctly (Able to run mpiexec without specifying the full path)? Please 
provide us as much details as possible.

Regards,
Jayesh

  _____

From: owner-mpich-discuss at mcs.anl.gov 
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of ???
Sent: Wednesday, July 16, 2008 6:17 AM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] Errors in running example code in MPICH2 under 
windows


Dear Sir ,

This is the first time I use MPICH2. I install the software and the SMPD.exe 
is in the process list.
But when I run the example code I meet errors as follows:

[0] Error creating mpiexec process...2
[0] launchMpiexecProcess failed
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(294): Initialization failed
MPID_Init(82)........: channel initialization failed
MPID_Init(383).......: PMI_Get_id returned 1

I tried placed the mpiexec together with the example cpde but it does no 
help.
Then I use wmpiexec to run the programme. But when I press the execute 
button . The empty command window will flash for a second and then 
disappeared, and now error message.

I would like to know what may cause this problem.

I read some suggestion that "  The error indicates that the path for the job 
launcher (mpiexec) was not found.
  Please set the path for MPICH2 binaries on your system ("Control 
Panel" --> System --> Advanced --> "Environment Variables"  => Add MPICH2 
bin to the PATH). Now open a new command prompt, try running mpiexec from 
command prompt (to make sure that you have the PATH set correctly) and then 
run your code."
And tried it but it does no help.

I am looking forward to hearing from you.




  _____

MSN上小游戏,工作休闲两不误! 马上就开始玩! <http://im.live.cn/minigame>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080716/8b5e8d54/attachment.htm>


More information about the mpich-discuss mailing list