Newsgroups: comp.parallel.pvm
From: mlinke@informatik.uni-rostock.de (Matthias Linke)
Subject: Re: mixed source PVM tasks
Organization: University of Rostock, CS Dept. (Germany)
Date: 25 Aug 1994 13:05:20 GMT
Message-ID: <33i4ug$kcg@taiwan.informatik.uni-rostock.de>

G. Evans (gme@sys.uea.ac.uk) wrote:
: Is it possible to have both C and FORTRAN tasks running in the same PVM? If so, can they communicate as if they were tasks from the same source language?

: The reason I ask is that I have a PVM task written in C which needs to call a subroutine written in FORTRAN. I can't get this to work as it stands so I was thinking of using two PVM tasks (one is the C code, the other the FORTRAN subroutine) and using PVM messages to communicate the parameters. Has anyone done this successfully?

: Thanks,


: Gareth.

Hi, 

I think that a mixed used of PVM is possible. Every PVM-function-call done by
FORTRAN is transformed into the adequate C-call. You only have to take care
that C and FORTRAN have different Data-storing policies (by row vs by column).
I tried it a long time ago with two small pieces of code and it worked fine.

Bye, Matthias.
===============================================================================

		Matthias Linke
		University of Rostock
		Department of Computer Science
		Institute of Technical Informatics
		18051 Rostock
		Germany

		Tel 	Germany-0381-44424-155
		email	mlinke@informatik.uni-rostock.de


               _/_/_/_/ _/_/_/      _/   _/     _/                     
              _/       _/    _/    _/   _/_/   _/            
             _/_/_/   _/_/_/      _/   _/ _/  _/              
            _/       _/    _/    _/   _/   _/_/  Fachbereich       
  \----\   _/       _/_/_/_/    _/   _/     _/    Informatik      
    \------------------------------------------------------/
      \----------- UNIVERSITAET  ROSTOCK ------------------/
        \--------------------------------------------------/
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
===============================================================================

