Newsgroups: comp.parallel.mpi
From: Stephane REQUENA <requena@parme.saclay.cea.fr>
Subject: Re: MPI Fortran to MPI C
Organization: CEA/DI Cisi
Date: Wed, 19 Nov 1997 10:01:06 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <3472AAD2.F1B01840@parme.saclay.cea.fr>

David W Walker wrote:

> I want to convert an MPI Fortran program to an MPI C program. I could
> use f2c and then change
> all the MPI calls from Fortran to C, but I was wondering if anyone has
> come up with a tool
> that will do the whole job for me.
>
> David Walker

 It's possible to use f2c but f2c will add an _ at the end of all the MPI
routines and
f2c will not be able to suppress the return code of the fortran routines.

An other problem will be the correspondance between Fortran types and C
types :
In fortran a communicator is an integer, in C is a MPI_Comm, a datatype
in fortran
is an integer, in C a MPI_Datatype, .....

So it's quite difficult ....


--
Stéphane Requena
CEA/DI CISI Centre de Saclay
B.P. 28
F91192 Gif sur Yvette cedex
mailto:requena@parme.saclay.cea.fr




