You don't need to install GT on other hosts. At first, you must install a Local Resource Manager on your cluster e.g. Torque and configure it properly to use cluster resources. In addition, you must interface it with GT. Secondly, you must use your head node address as a value for resourceManagerContact, for example resourceManagerContact= headnode.126.com/jobmanager-pbs. In the slave nodes, you need to install MPICH-G2 not Globus. It is better to share MPICH-G2 installation from head node for usage by slaves.
On 10/8/07, 那日苏 <[EMAIL PROTECTED]> wrote: > > I'm trying to build a grid with 2 clusters and each cluster has 4 > nodes(1 master and 3 slaves). Here are the hostnames: > > Cluster 1: > master: m01.c01 slaves: s01.c01 s02.c01 s03.c01 > Cluster 2: > master: m02.c02 slaves: s01.c02 s02.c02 s03.c02 > > I have installed globus 4.0.5 and MPICH-G2 1.2.7 on the 2 master nodes > and successfully run the cpi example with the MPICH-G2 package on the > two master nodes like below: > > Command line: > mpirun -globusrsl ./cpi.rsl > cpi.rsl: > > + > > ( &(resourceManagerContact="m01.c01") > > (label="subjob 0") > > (environment=(GLOBUS_DUROC_SUBJOB_INDEX 0) > > (LD_LIBRARY_PATH /usr/local/globus-4.0.5/lib/)) > > (directory="/home/gt/examples") > > (executable="/home/gt/examples/cpi") > > ) > > ( &(resourceManagerContact="m02.c02") > > (label="subjob 0") > > (environment=(GLOBUS_DUROC_SUBJOB_INDEX 0) > > (LD_LIBRARY_PATH /usr/local/globus-4.0.5/lib/)) > > (directory="/home/gt/examples") > > (executable="/home/gt/examples/cpi") > > ) > $MPICH-G2_HOME/bin/machines: > > m01.c01 > > m02.c02 > But I don't know how to adopt the other 6 slave nodes in my job. I know > that MPICH-G2 can use the Vender MPI on the slave nodes, but I don't use > Vender-MPI and I was always using MPICH2 within each clusters before. I > have read somewhere else that we can directly use MPICH-G2 on the slaves > nodes without a Vender MPI. But As far as I know , if you wanna run a > MPICH-G2 subjob on a machine, there has to be a globus installed on it. > Installing globus on each nodes in my clusters sounds horrible and > impractical to me, so is there any other ways to handle it? > > -- Best Regards, S.Mehdi Sheikhalishahi, Web: http://www.cse.shirazu.ac.ir/~alishahi/ Bye.
