First page Back Continue Last page Overview Graphics
Notes on C and Fortran
C and Fortran bindings correspond closely
In C:
- mpi.h must be #included
- MPI functions return error codes or MPI_SUCCESS
In Fortran:
- mpif.h must be included, or use MPI module (MPI-2)
- All MPI calls are to subroutines, with a place for the return code in the last argument.
C++ bindings, and Fortran-90 issues, are part of MPI-2.
Notes: