LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: adammaro_at_[hidden]
Date: 2010-07-15 12:33:49


Thanks Davide.

To solve this kind of problem, the only thing to do is using lbm_ in C++
rather than LBM_

Ciao Antonio

--------------------------------------------------
From: "Tim Prince" <n8tm_at_[hidden]>
Sent: Thursday, July 15, 2010 8:53 AM
To: <lam_at_[hidden]>
Subject: Re: LAM: Merging C++ - Fortran and MPI

> On 7/15/2010 9:49 AM, Davide Cesari wrote:
>> Il 15/07/2010 03:44, adammaro_at_[hidden] ha scritto:
>>> extern "C"
>>> {
>>> void LBM_(int*,double*,int*,double*,double*);
>>> }
>>
>> well, this seems to be not an MPI problem, but a mixed-language problem,
>> try (in C++) to name the Fortran function lbm_, not LBM_, it may help.
>> Ciao, Davide
>>
> Or fix your program to comply with Fortran standard USE iso_c_binding
>
> --
> Tim Prince
>
>
>