MPICH2 - launch failed: CreateProcess failed

702 views
Skip to first unread message

Adlen Afane

unread,
Jan 17, 2013, 1:17:36 PM1/17/13
to mpi...@googlegroups.com
Hello there,

I have some trouble to have mpi4py works fine, maybe you could help me with it.

I installed MPICH2, it works fine (I can launch command such as "mpiexec -n 4 hostname" and I can launch program in C)
I installed mpi4py, everything seems to works fine but when  I launch the hello world in demo I have some trouble:

Command typed:
mpiexec -n 4 demo\helloworld.py

Results:
launch failed: CreateProcess(helloworld.py) on 'Adlen-PC' failed, error 193 - (null)
launch failed: CreateProcess(helloworld.py) on 'Adlen-PC' failed, error 193 - (null)
launch failed: CreateProcess(helloworld.py) on 'Adlen-PC' failed, error 193 - (null)
launch failed: CreateProcess(helloworld.py) on 'Adlen-PC' failed, error 193 - (null)

When I launch simply the helloworld.py it seems to works fine, I mean python doesn't complain about unknown command
I get the expected result:
Hello, World! I am process 0 of 1 on Adlen-PC.

I search on the internet people with this issue but can't find anyone with the same issue.

If you have any idea on it I would be glad to hear it.

Thanks for your help!

Adlen

Lisandro Dalcin

unread,
Jan 17, 2013, 4:27:50 PM1/17/13
to mpi4py
On Thu, Jan 17, 2013 at 3:17 PM, Adlen Afane <adlen...@gmail.com> wrote:
> Hello there,
>
> I have some trouble to have mpi4py works fine, maybe you could help me with
> it.
>
> I installed MPICH2, it works fine (I can launch command such as "mpiexec -n
> 4 hostname" and I can launch program in C)
> I installed mpi4py, everything seems to works fine but when I launch the
> hello world in demo I have some trouble:
>
> Command typed:
> mpiexec -n 4 demo\helloworld.py
>

On windows, I think you really need to run python.exe under mpiexec
control, like this:

mpiexec -n 4 c:\Python27\python.exe demo\helloworld.py



--
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169

Adlen Afane

unread,
Jan 17, 2013, 4:31:29 PM1/17/13
to mpi...@googlegroups.com
Indeed, it works fine

Thanks!
Reply all
Reply to author
Forward
0 new messages