From: "Lee, Bo-sung" <bslee@pvmcube4.snu.ac.kr>
Newsgroups: comp.parallel.mpi,comp.parallel.pvm
Subject: Re: from PVM to MPI
Date: Sat, 05 Dec 1998 00:51:18 +0900
Organization: Dept. of Aerospace Eng. Seoul National Univ. / ETRI Super
    Computer Center
Sender: bslee6@210.113.160.180
Message-Id: <366804F6.84@pvmcube4.snu.ac.kr>
References: <t390gpxntp.fsf@duti515a.twi.tudelft.nl>
Reply-To: bslee@pvmcube4.snu.ac.kr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: d.pasechnik@twi.tudelft.nl
Xref: ukc comp.parallel.mpi:4402 comp.parallel.pvm:7825


Dima Pasechnik wrote:
> 
> Dear all,
> 
> I wonder how straighforward it might be to port a
> relatively simple PVM application to MPI.
> 
I think you can convert from PVM apps. to MPI easily line by line except
some commands.

> The communication structure of the application is
> rather simple master-slave.
> All the slaves are started once, at the beginning of computation.
Most MPI don't allow master-slave model. So, you need to convert
master-slave apps to SPMD model. It's simple I think.

> 
> One problem with PVM application lies with absense a
> full PVM implementation on Unicos/mk (Cray T3E).

In crayt3e, there are not ome PVM commands and different from standare
pvm commands. I convert my master-slave pvm code to MPI code in CrayT3E
like below.

1. Master-Slave mode PVM code -> SPMD model standard PVM code.
2. SPMD standard PVM code -> SPMD PVM code specific in CrayT3E
3. SPMD PVM code specific in CrayT3E -> MPI CODE line by line.

> So I would have to do some porting, one way or another.
> 
> I'd appreciate cc-ing replies to d.pasechnik@twi.tudelft.nl
> 
> Thanks in advance.
> Dmitrii

In crayT3E, pvm and mpi is converted SHMEM library inside system. So,
the performance of two message passing libraries are negligible.
If you want to know how to convert standard PVM code to CrayT3E code, I
send to my code. (This code is for CFD application)

-- 
Lee, Bo-sung
Ph.D Candidates in Aerospace Eng. Seoul National Univ.
Invited Reseacher in ETRI/Supercomputing Center
mailto:bslee@pvmcube4.snu.ac.kr
mailto:bslee@bslee.ml.org
http://www.bslee.home.ml.org

