Re: [OMPI users] Issues running a basic program with spawn

2007-06-08 Thread Ralph Castain
My apologies - Prakash and I solved this off-list. I should have posted the final solution here too so any interested parties would know the answer. The problem actually is a bug that broke comm_spawn in 1.2.2 and may well be present in the entire 1.2 code series (I have not checked the prior sub-

Re: [OMPI users] Issues running a basic program with spawn

2007-06-08 Thread Jeff Squyres
On Jun 5, 2007, at 10:27 AM, Prakash Velayutham wrote: I know. I could not start another client code before this. So just wanted to check if /bin/hostname works with the spawn. It will not. MPI_COMM_SPAWN assumes that you are spawning an MPI application and therefore after the process is la

Re: [OMPI users] Issues running a basic program with spawn

2007-06-05 Thread Prakash Velayutham
Ralph, Ralph H Castain wrote: Hmmm...I think I know what may be happening. Could you send me: 1. what Open MPI version you are using? Open MPI 1.2.1 2. any MCA parameters you might be setting in your environment (remember that we may be picking up some system configuration file for those)

Re: [OMPI users] Issues running a basic program with spawn

2007-06-05 Thread Ralph H Castain
Hmmm...I think I know what may be happening. Could you send me: 1. what Open MPI version you are using? 2. any MCA parameters you might be setting in your environment (remember that we may be picking up some system configuration file for those) This isn't related to the problem, but I also note

Re: [OMPI users] Issues running a basic program with spawn

2007-06-05 Thread Prakash Velayutham
Ralph, Please do not bother about the output containing "src is (null) and orte type is 0" in my previous email. It is just some printf I added to dss_copy.c to make some sense of what is going wrong. Prakash >>> prakash.velayut...@cchmc.org 06/05/07 6:16 AM >>> Hi, Sorry about that. Two lines

Re: [OMPI users] Issues running a basic program with spawn

2007-06-05 Thread Prakash Velayutham
Hi, Sorry about that. Two lines got cut out from the program. Here is the full program and error messages again. No Resource Manager involved, just ssh/rsh. Hostfile contains bmi-opt2-01 bmi-opt2-02 bmi-opt2-03 bmi-opt2-04 #include #include #include #include"mpi.h"

Re: [OMPI users] Issues running a basic program with spawn

2007-06-03 Thread Ralph Castain
Hi Prakash Are you sure the code you provided here is the one generating the output you attached? I don't see this message anywhere in your code: MASTER : spawning 3 slaves ... and it certainly isn't anything we generate. Also, your output implies you are in some kind of loop, yet your code cont

[OMPI users] Issues running a basic program with spawn

2007-06-03 Thread Prakash Velayutham
Hello, Version - Open MPI 1.2.1. I have a simple program as below: #include #include #include #include"mpi.h" void main(int argc, char **argv) { int tag = 0; int my_rank; int num_proc; charmessage_0[] = "hello slav