Newsgroups: comp.parallel.pvm
From: Fabien Banse <fabien@sophie.iemn.univ-lille1.fr>
Subject: Re: HOW TO upload program
Organization: Universite des Sciences et Technologies de LILLE, France
Date: Mon, 13 Oct 1997 18:38:10 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <34424E72.171B@sophie.iemn.univ-lille1.fr>

stephenh wrote:
> 
> can someone show me how execute the PVM program on CRAY T3E at
> 
> the SAN DIEGO supercomputer center. how to use FTP from telnet window.
> 
> 
>                 thank for everything
> 

hi,
	you have to spawn all your processes with mpprun:
    mpprun -n <number of processes> <your program> <the arguments>
There's a man.
	Another way is to compile your program with the -X options:
	cc -X<number of processes> <src.c> -o <run file>
In this case, the number of processes are fixed, and when you type the
name of your program, there are as many processes as you specify on
compilation.
You can see that in the man.

In your program source, you have not to use pvm_spawn().
All the processes belong to a group : "".
And the process number is the processor number; you have it with: nmr =
pvm_get_PE(TID);

Hope these will help you.

Fabien.


PS : i hope you will understand my english !
If you understand french language, you can go to : http://www.idris.fr.
There are some docs about PVM and the T3E.

