Fortran integer declaration in petscdef.h

Thomas DE-SOZA thomas.de-soza at edf.fr
Mon Apr 7 09:48:11 CDT 2008


Hi,

I was wondering if in $PETSC_DIR/include/finclude/petscdef.h :

    50  #if defined(PETSC_HAVE_MPIUNI)
    51  #define MPI_Comm PetscFortranInt
    52  #define PetscMPIInt PetscFortranInt
    53  #else
    54  #define MPI_Comm integer
    55  #define PetscMPIInt integer
    56  #endif

the integer declaration should not be changed to something dependent on 
PETSC_SIZEOF_INT. 

Regards,

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20080407/f7e330cd/attachment.html>


More information about the petsc-dev mailing list