Re: [OMPI users] A problem with running a 32-bit program on a 64-bit machine

2011-01-22 Thread Jeff Squyres
Ah, wait -- based on your mail, I checked the MPI_Info-checking code in our underlying spawn implementation and basically found an uninitialized variable. Hence, it's probably non-deterministic behavior. Patch coming to the development trunk soon; I'll get it QA checked by someone more expert i

Re: [OMPI users] A problem with running a 32-bit program on a 64-bit machine

2011-01-22 Thread Jeff Squyres
Thanks for that info! I was literally just digging into this myself; I am able to replicate the problem on a 1.5.1 tarball, but not on a nightly 1.5.2 snapshot tarball. Would you mind trying to replicate the issue on a recent 1.5.2 snapshot? http://www.open-mpi.org/nightly/v1.5/ On Jan 2

Re: [OMPI users] A problem with running a 32-bit program on a 64-bit machine

2011-01-22 Thread Avinash
Hello, I figured out the problem, which is described herein, it might be useful for someone else. The problem stems from ompi_local_slave option being set on its own in the MPI_Info structure. It seems that MPI_Info_create is using a shift or more likely a masking operation (depending upon th

Re: [OMPI users] MPI_Comm_Spawn intercommunication

2011-01-22 Thread Jeff Squyres
Try using MPI_COMM_REMOTE_SIZE to get the size of the remote group in an intercommunicator. MPI_COMM_SIZE returns the size of the local group. On Jan 7, 2011, at 6:22 PM, Pierre Chanial wrote: > Hello, > > When I run this code: > > program testcase > > use mpi > implicit none > >