Mpiexec and mcnpx

Pete Wyckoff pw at osc.edu
Fri Oct 15 16:25:18 EDT 2004


ben.vanhaeren at sckcen.be wrote on Fri, 15 Oct 2004 14:15 +0200:
> I am trying to get mpiexec to work with mcnpx. I have edited the source so 
> than the right arguments are passed to the mcnpx excecutable but there seems 
> to be a problem with read_p4_master_port function . 
> 
> read(mport_fd,&port, sizeof(port)) always returns EAGAIN error. so mpiexec 
> loops infinitely.
> 
> D o you have any ideas on how to debug this ?

You edited the mpiexec source?  Just to run one particular parallel
program?  Maybe I misinterpret your message, but the idea is that
you never have to do that.

That read(mport_fd...) is mpiexec waiting for process #0 to contact it
as it should do inside MPI_Init() somewhere.  You might debug the
process or add printfs to see what it is trying to do.

		-- Pete



More information about the mpiexec mailing list