Newsgroups: comp.parallel.pvm,comp.parallel.mpi
From: Graham E Fagg <fagg@vixen.cs.utk.edu>
Subject: Re: Conversion MPI to PVM
Organization: Computer Science Dept, University of Tennessee, Knoxville
Date: Thu, 22 Feb 1996 19:48:21 -0500
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <Pine.SUN.3.91.960222193238.6704A-100000@vixen.cs.utk.edu>

On 20 Feb 1996, a psychedelic psychopath wrote:

> my question is, has anyone had experience in porting mpi code to pvm?
> while the optimal method would be a 'drop-in' library, i am looking
> for any hints as i do this daunting task.  i do lots of pvm knowledge
> and kind-of know mpi.  

Here at the University of Tennessee, I have been working on converting
from PVM to MPI and back for various subsets of commands and styles of
programming... i.e. pvm_mcast ( or pvm_bcast) not mapping so correctly
always as there isn't a pvm_mrecv / pvm_brecv that matches exactly how you
go to and from MPI_Bcast etc. But most things can be done quite easily. 

> the major mpi functions needed are Bcast, Allreduce, Bsend, Recv. 
> the only data types are float and int(only in recv and send).  

Recently Erich Strohmaier has wrote an interface for the fortran NAS 
benchmarks so that they use PVM calls instead of MPI. If your using fortran 
please contact him at: erich@cs.utk.edu (I prefer supporting C applications).

It might be worth while contacting the different MPI implementors 
(MPICH/LAM) or testing on different MPI systems to try and locate the 
fault first, before engaging on any more coding. If your current code has 
logical errors (races / dead /live locks) then they may still fail under PVM.

                                                                   O__
Graham.                                                            ,>/
==================================================================()=\()======
Graham E. Fagg      | Shared Memory, Message Passing & Groups |  PVM  MPI  VMD
Computer Science Dept |  104 Ayres Hall, Knoxville, TN 37996 | fagg@cs.utk.edu
University of Tennessee | Phone: +(423)974-3735  Fax: +(423)974-8296 \ SoftEng 
==============================================================================


