Fortran assumed-shape array problems with MPI



Hi, I am using fortran 90 (PGI) with MPI (mpif90) and I faced a
situation that a scalar argument is passed to the subroutine that
declares the dummy argument as 4-dimensional assumed-shape array.

After searching in the web quite a bit, I found in the ANL webpage
http://www.mpi-forum.org/docs/mpi-20-html/node236.htm
that there are well-known inconsistencies of MPI with fortran 90, and
the assumed-shape array problem is one of them.

Does anybody know a practical solution to this problem other than
just not using the assumed-shape array (making it all explicit-shaped
by passing the bounds together) ?

.



Relevant Pages

  • Re: GNU Fortran 95: Opinions?
    ... > that your Fortran code uses to message passing. ... I realize that -- but MPI is something used by many Fortran programmers. ... very few gfortran intrinsics. ...
    (comp.lang.fortran)
  • Re: Is there a tool or compiler option to make program crash as soon as access memory illegally
    ... I write parallel programs in Fortran / MPI and it's extremely easy to ... produce codes which crash with all sorts of mysterious memory errors ... want to debug a parallel program is a parallel debugger - which means ...
    (comp.unix.programmer)
  • Re: MPI Turotial live
    ... (Follow the link that says "MPI Tutorial") ... in MPI, particularly any technical errors. ... bullet of debugging the real comm scheme has to be bitten. ... On my system I have only C and Fortran 77. ...
    (comp.parallel.mpi)
  • Re: 64-bit integers & MPI/F90
    ... does someone know if there is an MPI datatype for 64-bit integers ... includes MPI_INTEGER8, but several versions of MPI still in widespread ... nonstandard datatypes offered by the underlying Fortran and C ... then the MPI implementation should offer an MPI ...
    (comp.lang.fortran)