Re: Fortran assumed-shape array problems with MPI
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 22:25:47 -0800
Jane Smith wrote:
And, moreover, I never tried to pass a scalar to an array in the
subroutine. Who in the world would try to do it? (At least, I don't.)
So, you don't need to 'snip'.
It seems to be common in calling some MPI routines.
It was totally the fault of my explanation of the problem.
I tried to pass a 4-dimesional array to a 4-dimensional array in the
subroutine in a totally usual way, and fortran simply mis-recognizes
the assumed-shape array as a scalar.
That isn't so obvious. More often it just crashes.
The reason for the required interface is to maintain compatibility
with older programs that didn't know about assumed shape.
-- glen
.
- References:
- Fortran assumed-shape array problems with MPI
- From: Jane Smith
- Re: Fortran assumed-shape array problems with MPI
- From: glen herrmannsfeldt
- Re: Fortran assumed-shape array problems with MPI
- From: Jane Smith
- Re: Fortran assumed-shape array problems with MPI
- From: glen herrmannsfeldt
- Re: Fortran assumed-shape array problems with MPI
- From: Jane Smith
- Re: Fortran assumed-shape array problems with MPI
- From: Jane Smith
- Fortran assumed-shape array problems with MPI
- Prev by Date: Re: Fortran assumed-shape array problems with MPI
- Next by Date: Re: compaq visual fortran, process pririty mangement option
- Previous by thread: Re: Fortran assumed-shape array problems with MPI
- Next by thread: Re: Fortran assumed-shape array problems with MPI
- Index(es):
Relevant Pages
|