[petsc-dev] Win32 and MPIAPI calling convention

Lisandro Dalcin dalcinl at gmail.com
Fri May 21 11:39:07 CDT 2010


On 21 May 2010 13:23, Satish Balay <balay at mcs.anl.gov> wrote:
> On Fri, 21 May 2010, Lisandro Dalcin wrote:
>
>> I noticed that MPIAPI is being using for MPI callbacks, likely in
>> order to suport Microsoft HPC Cluster Pack, right?
>
> yes.
>
>> Well, if you want to support DeinoMPI (yet another child of MPICH2),
>> you have to use MPI_CALL.
>>
>> Perhaps just:
>>
>> #if defined(DEINO_MPI)
>> #define MPIAPI MPI_CALL
>> #endif
>>
>> would do the trick.
>
> If this indeed works - you can push it to petsc-31 repo..
>

This is more or less what I do in mpi4py.

Satish, PETSc on Windows is something I've never found time to setup.
I'll not push something I'm not able to test ;-) .



-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169



More information about the petsc-dev mailing list