Re: [MPIWG Fortran] Assumed-size array in MPI3
I agree with Steve. In these sorts of calls the actual size of the array is available from somewhere else - either another argument or information in the communicator. This is the common situation when calling C. Cheers, Bill On Mar 10, 2014, at 11:06 AM, Junchao Zhang <[email protected]> wrote:
Hello, I read a Fortran textbook, which says "Assumed-size dummy arrays are a holdover from earlier versions of Fortran. They should never be used in any new programs". But I find MPI3 has interfaces like MPI_Alltoallv(sendbuf, sendcounts, sdispls, sendtype, recvbuf, recvcounts, rdispls, recvtype, comm, ierror) ... INTEGER, INTENT(IN) :: sendcounts(*), sdispls(*), recvcounts(*), rdispls(*) ...
I was wondering why MPI3 still uses it. Thanks.
--Junchao Zhang _______________________________________________ mpiwg-fortran mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
Bill Long [email protected] Fortran Technical Suport & voice: 651-605-9024 Bioinformatics Software Development fax: 651-605-9142 Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
participants (1)
-
Bill Long