I know that in the case of LAM/MPI, the node specification for spawn
process is given as a "appshcema" file using MPI_Info argument. But the
same technique does not seem to work in mpich2.
Has any one else faced a similar problem?
I read the earlier posts by Randy, but those posts didnt seem to answer
my specific question.
My current schema file for the spawn command looks like this.
debug7 -np 1 -wd /nfs/storage1/users/sudarsar/ worker
debug8 -np 1 -wd /nfs/storage1/users/sudarsar/ worker
debug7 and debug8 are the nodes where I want to spawn new processes
using the spawn command. "np" specifies the number of processes to be
spawned on each node. "wd" specifies the working directory. And the
last argument gives the executable name.
I would really appreciate any kind of help.
Why don't you send your question to their support?
mpich2 dash maint at mcs dot anl period gov
You need to pass an MPI_Info object with the key "host" and value set
to the
hostname. I believe that this is one per process. So if you need to
spawn
two processes, you need to call MPI_Comm_spawn_multiple, with count=2,
array_of_commands={worker,worker}, array_of_maxprocs={1,1},
array_of_info={"host""debug7","host""debug8"; ie 2 info objects with
the 2
hostnames.
Regards,
Rajesh