Tracy,

Perhaps it's easiest to see how this might work by first
(temporarily) taking MPICH-G2 and Globus out of the picture.

How would you compile and run any C program on your cluster?

- Would you compile it on the front end node only (i.e., do the
  compute nodes of your cluster have access to the front end
  node's file system)?  Or would you, instead, have to login
  to each compute node and build your application?

- Once built, how would you run your program?  Is there
  some sort of scheduler (e.g., PBS?, MOAB?) on your cluster's
  front end node that you submit jobs to and the scheduler first
  schedules times and nodes on the cluster, and when it comes time
  to run, loads your program on the compute nodes it reserved?

Globus (and MPICH-G2 because it uses Globus for all this stuff)
launches programs on your cluster based on the infrastructure
you already have that controls access to your cluster.  So,
for example, if you use PBS to control access to your cluster
then you can submit MPICH-G2 jobs, which in turn submits Globus
jobs, which in turn submits PBS jobs (translating Globus RSL
to PBS syntax).

So, although not a direct answer to your question, the process
starts by first understanding how to build and run apps (e.g.,
simple C programs) on your cluster (without MPICH-G2 and Globus).
From there figure out how to launch the same simple C programs
using only Globus (not MPICH-G2) - you can contact the Globus
group or consult the Globus web pages for help there.  With
that done, using MPICH-G2 to build and launch your application
on your cluster should be very easy - but it starts with
getting Globus working on your cluster first.

Nick


On Mar 9, 2009, at 8:09 AM, tracy_luofengji wrote:

Dear all,
I am not very clear about executing the MPI programs in the Grid Environment. Supposing there is a 5-nodes PC cluster in the grid, which acts as a computing resource. If I want to start 10 processes in this resource and use all the 5 nodes, should I just install MPICH-G2 on the head node and install MPICH normally on the other nodes, or should I install MPICH-G2 on all the 5 nodes?

It seems that the web page of MPICH-G2 does not explain this question very clearly, thus I hope I can get some help from this mailling list.

Thanks!

Tracy



网易邮箱,中国第一大电子邮件服务商

Reply via email to