[mpich-discuss] Errors in running example code in MPICH2 under windows
Jayesh Krishna
jayesh at mcs.anl.gov
Wed Jul 23 10:30:22 CDT 2008
Hi,
Yes, you can run your MPI program using the mpiexec wrapper (wmpiexec). The
mpiexec wrapper invokes (under the hood) mpiexec to launch your MPI job
(Click on "Show command" button to see the full command).
(PS: Click on "Run in a separate window" option if you program requires
input from stdin)
Regards,
Jayesh
_____
From: 陈斯韦 [mailto:playcsw1984 at hotmail.com]
Sent: Wednesday, July 23, 2008 7:20 AM
To: Jayesh Krishna
Subject: RE: [mpich-discuss] Errors in running example code in MPICH2 under
windows
Thank you for your help.
I would like to know whether I can run the processes in this way:
I debug a program and get a .exe .For example, hello.exe.
Then I use the MPICHEXEC wrapper to load the hello.exe and choose number of
process equal to 2. Then press execute to run the program?
Can I get an answer in this way?
Regards
_____
From: jayesh at mcs.anl.gov
To: playcsw1984 at hotmail.com
CC: mpich-discuss at mcs.anl.gov
Subject: RE: [mpich-discuss] Errors in running example code in MPICH2 under
windows
Date: Wed, 16 Jul 2008 09:33:01 -0500
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>
_____
轻松把Hotmail下载到本地,试试 Windows Live Mail。 立即尝试! <http://get.live.com/wl/all>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080723/c0ddd094/attachment.htm>
More information about the mpich-discuss
mailing list