comp.lang.ada
 help / color / mirror / Atom feed
From: Ken Thomas <kst@ecs.soton.ac.uk>
To: james buford white <white@chicago.cis.ohio-state.edu>
Subject: Re: MPI for Ada?
Date: 1997/03/07
Date: 1997-03-07T00:00:00+00:00	[thread overview]
Message-ID: <331FDF09.41C67EA6@ecs.soton.ac.uk> (raw)
In-Reply-To: 5finarINN1ls@chicago.cis.ohio-state.edu


james buford white wrote:
> 
> Does anyone know of any work on an MPI binding
> for Ada 95?
> 
> ---
> James B. White, III
> white@cis.ohio-state.edu

I have produced a thickish binding for MPI that I intend to release
soon. It is by no means complete. I have implemented the Group and
Communicator management functions and have extended the stream
attributes for communication and broadcast. 

The hardest step is always the most difficult. MPI may be a standard but
the header files "mpi.h" reflect different implementations. The tool 
cbind (Mitch Gart) was used to get a first iteration for a thin binding. 

One milestone was the function MPI_Init(**argc, **argv) that uses
command line parameters. So far the most elegant way to use MPI is
to call a procedure with spec

	AdaProg(C : Communicator) 

from a C-Wrapper.

The binding has been tested on

	Machine		Gnat	MPI
	Sun4(SunOs)	3.09	mpich
	IBM SP2		3.07	vendor
	Meiko CS2	3.07	mpich

Your interest will certainly act as a stimulus for me to do further
work.
-- 
Dr K.S. Thomas
Department of Electronics and Computer Science
University of Southampton
Highfield
Southampton SO17 1BJ
United Kingdom

Telephone : (+44) 01703 593029
Fax :       (+44) 01703 593903

email: kst@ecs.soton.ac.uk




  reply	other threads:[~1997-03-07  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-04  0:00 MPI for Ada? james buford white
1997-03-07  0:00 ` Ken Thomas [this message]
1997-03-08  0:00 ` Laurent Pautet
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox