Re: [OMPI users] Mixing the FORTRAN and C APIs.

2011-05-06 Thread Tim Hutt
On 6 May 2011 16:45, Tim Hutt wrote: > On 6 May 2011 16:27, Tim Prince wrote: >> If you want to use the MPI Fortran library, don't convert your Fortran to C. >>  It's difficult to understand why you would consider f2c a "simplest way," >> but at least

Re: [OMPI users] Mixing the FORTRAN and C APIs.

2011-05-06 Thread Tim Hutt
On 6 May 2011 16:27, Tim Prince wrote: > If you want to use the MPI Fortran library, don't convert your Fortran to C. >  It's difficult to understand why you would consider f2c a "simplest way," > but at least it should allow you to use ordinary C MPI function calls. Sorry, maybe I wasn't clear.

[OMPI users] Mixing the FORTRAN and C APIs.

2011-05-06 Thread Tim Hutt
Hi, I'm trying to use PARPACK in a C++ app I have written. This is an FORTRAN MPI routine used to calculate SVDs. The simplest way I found to do this is to use f2c to convert it to C, and then call the resulting functions from my C++ code. However PARPACK requires that I write some user-defined o