[MPICH] Message passing between two programs on two machines without smpd - Yes
Jayesh Krishna
jayesh at mcs.anl.gov
Mon Jun 11 14:12:28 CDT 2007
Hi,
Yes, you can. This is what I do to run an MPI program on
machine1.domain.com and machine2.domain.com without using mpiexec/smpd (no
PM),
############ on machine1 ###############
set PMI_ROOT_HOST=machine1.domain.com
set PMI_ROOT_PORT=9222
set PMI_ROOT_LOCAL=1
set PMI_RANK=0
set PMI_SIZE=2
set PMI_KVS=mpich2
########### on machine2 ###############
set PMI_ROOT_HOST=machine1.domain.com
set PMI_ROOT_PORT=9222
set PMI_ROOT_LOCAL=0
set PMI_RANK=1
set PMI_SIZE=2
set PMI_KVS=mpich2
########################################
Now run the programs on machine1 & machine2 from command line (like
ordinary executables -- without using mpiexec).
Let us know the results.
Regards,
Jayesh
-----Original Message-----
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Yu-Cheng Chou
Sent: Sunday, June 10, 2007 1:35 PM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] Message passing between two programs on two machines
without smpd
Hi,
I have two MPI programs, each of which resides in one Windows machine.
Can I set the PMI environment variables so that these two programs can be
launched manually without mpiexec and messages can be passed between these
two programs without smpd?
Thank you
More information about the mpich-discuss
mailing list