1
1

Merge over from the /tmp/fortran-stuff branch

- split mpif.h into mpif.h and mpif-common.h[.in]
- mpif-common.h is included by various f90 things and contains output
  from configure
- mpif.h defines some f77-specific stuff and then includes
  mpif-common.h 

This commit was SVN r9997.
Этот коммит содержится в:
Jeff Squyres 2006-05-20 02:15:49 +00:00
родитель 1fbccda986
Коммит faf63c68f8
85 изменённых файлов: 478 добавлений и 389 удалений

Просмотреть файл

@ -1107,7 +1107,7 @@ AC_CONFIG_FILES([
ompi/Makefile ompi/Makefile
ompi/etc/Makefile ompi/etc/Makefile
ompi/include/Makefile ompi/include/Makefile
ompi/include/mpif.h ompi/include/mpif-common.h
ompi/datatype/Makefile ompi/datatype/Makefile
ompi/debuggers/Makefile ompi/debuggers/Makefile

Просмотреть файл

@ -9,6 +9,7 @@
# University of Stuttgart. All rights reserved. # University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California. # Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved. # All rights reserved.
# Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$ # $COPYRIGHT$
# #
# Additional copyrights may follow # Additional copyrights may follow
@ -16,16 +17,22 @@
# $HEADER$ # $HEADER$
# #
headers = # mpif.h is not generated, but mpif-common.h is. See big comments in
# these files for an explanation.
headers = mpif.h
nodist_headers = \ nodist_headers = \
ompi_config.h ompi_config.h
# Install these in $(includedir)
include_HEADERS = $(headers)
# these two are always installed in $(includedir), but shouldn't be # these two are always installed in $(includedir), but shouldn't be
# shipped since they are generated by configure from their .in # shipped since they are generated by configure from their .in
# counterparts, which AM automatically ships. # counterparts, which AM automatically ships.
nodist_include_HEADERS = \ nodist_include_HEADERS = \
mpi.h \ mpi.h \
mpif.h mpif-common.h
if WANT_INSTALL_HEADERS if WANT_INSTALL_HEADERS
ompidir = $(includedir)/openmpi ompidir = $(includedir)/openmpi

Просмотреть файл

@ -10,6 +10,7 @@
! University of Stuttgart. All rights reserved. ! University of Stuttgart. All rights reserved.
! Copyright (c) 2004-2005 The Regents of the University of California. ! Copyright (c) 2004-2005 The Regents of the University of California.
! All rights reserved. ! All rights reserved.
! Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
! $COPYRIGHT$ ! $COPYRIGHT$
! !
! Additional copyrights may follow ! Additional copyrights may follow
@ -50,6 +51,20 @@
! WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ! WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! This file contains the bulk of the Open MPI Fortran interface. It
! is included as a back-end file to both mpif.h (i.e., the
! standardized MPI Fortran header file) and mpi.f90 (the MPI-2
! Fortran module source file, found in ompi/mpi/f90).
!
! This file is marginally different than mpif.h. mpif.h includes
! some "external" statements that are not suitable for use with the
! MPI-2 F90 module, and therefore cannot be included in the mpi.f90
! source file. Hence, this file is essentially everything that
! needs to be in the standardized mpif.h *except* the "external"
! statements, and is therefore suitable to be included in mpi.f90.
!
! !
! OMPI version ! OMPI version
! This file is generated from configure; do not edit it manually. ! This file is generated from configure; do not edit it manually.
@ -444,18 +459,8 @@
parameter (MPI_MAXLOC=11) parameter (MPI_MAXLOC=11)
parameter (MPI_MINLOC=12) parameter (MPI_MINLOC=12)
parameter (MPI_REPLACE=13) parameter (MPI_REPLACE=13)
!
! attribute functions
!
external MPI_NULL_COPY_FN, MPI_NULL_DELETE_FN
external MPI_COMM_NULL_COPY_FN, MPI_COMM_NULL_DELETE_FN
external MPI_TYPE_NULL_COPY_FN, MPI_TYPE_NULL_DELETE_FN
external MPI_DUP_FN, MPI_COMM_DUP_FN, MPI_TYPE_DUP_FN
external MPI_WIN_NULL_COPY_FN
external MPI_WIN_NULL_DELETE_FN
external MPI_WIN_DUP_FN
! !
! double precision functions ! double precision functions
! !
double precision MPI_WTIME, MPI_WTICK @MPIF_H_PMPI_W_FUNCS@ double precision MPI_WTIME, MPI_WTICK , PMPI_WTICK, PMPI_WTIME
external MPI_WTIME, MPI_WTICK @MPIF_H_PMPI_W_FUNCS@

77
ompi/include/mpif.h Обычный файл
Просмотреть файл

@ -0,0 +1,77 @@
! -*- fortran -*-
!
! Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
! University Research and Technology
! Corporation. All rights reserved.
! Copyright (c) 2004-2005 The University of Tennessee and The University
! of Tennessee Research Foundation. All rights
! reserved.
! Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
! University of Stuttgart. All rights reserved.
! Copyright (c) 2004-2005 The Regents of the University of California.
! All rights reserved.
! Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
! $COPYRIGHT$
!
! Additional copyrights may follow
!
! $HEADER$
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Do ***not*** copy this file to the directory where your Fortran
! fortran application is compiled unless it is absolutely necessary! Most
! modern Fortran compilers now support the -I command line flag, which
! tells the compiler where to find .h files (specifically, this one). For
! example:
!
! shell$ mpif77 foo.f -o foo -I$OMPI_HOME/include
!
! will probably do the trick (assuming that you have set OMPI_HOME
! properly).
!
! That being said, OMPI's "mpif77" wrapper compiler should
! automatically include the -I option for you. The following command
! should be equivalent to the command listed above:
!
! shell$ mpif77 foo.f -o foo
!
! You should not copy this file to your local directory because it is
! possible that this file will be changed between versions of Open MPI.
! Indeed, this mpif.h is incompatible with the mpif.f of other
! implementations of MPI. Using this mpif.h with other implementations
! of MPI, or with other versions of Open MPI will result in undefined
! behavior (to include incorrect results, segmentation faults,
! unexplainable "hanging" in your application, etc.). Always use the
! -I command line option instead (or let mpif77 do it for you).
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Include the back-end file that has the bulk of the MPI Fortran
! interface.
!
include 'mpif-common.h'
!
! These "external" statements are specific to the MPI F77 interface
! (and are toxic to the MPI F90 interface), and are therefore in the
! MPI F77-specific header file (i.e., this one).
!
external MPI_NULL_COPY_FN, MPI_NULL_DELETE_FN
external MPI_COMM_NULL_COPY_FN, MPI_COMM_NULL_DELETE_FN
external MPI_TYPE_NULL_COPY_FN, MPI_TYPE_NULL_DELETE_FN
external MPI_DUP_FN, MPI_COMM_DUP_FN, MPI_TYPE_DUP_FN
external MPI_WIN_NULL_COPY_FN
external MPI_WIN_NULL_DELETE_FN
external MPI_WIN_DUP_FN
!
! double precision functions
!
external MPI_WTIME, MPI_WTICK, PMPI_WTICK, PMPI_WTIME

Просмотреть файл

@ -10,7 +10,7 @@
! !
! Note about these declarations: these are "external" functions in ! Note about these declarations: these are "external" functions in
! mpif.h. However, if we don't declare them here, compilers will add ! mpif-common.h. However, if we don't declare them here, compilers will add
! them to the "mpi" module namespace, and result in linker errors if MPI ! them to the "mpi" module namespace, and result in linker errors if MPI
! F90 applications try to use them. because the implementations of ! F90 applications try to use them. because the implementations of
! these functions are not in the MPI module namespace -- they're the F77 ! these functions are not in the MPI module namespace -- they're the F77

Просмотреть файл

@ -19,7 +19,7 @@
module mpi module mpi
include "mpif.h" include "mpif-common.h"
! The MPI attribute callback functions need to be explictly called out ! The MPI attribute callback functions need to be explictly called out
! so that they don't end up in the MPI namespace. See a longer ! so that they don't end up in the MPI namespace. See a longer

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(origin_addr, origin_count, origin_datatype, target_rank, target_disp, & subroutine ${proc}(origin_addr, origin_count, origin_datatype, target_rank, target_disp, &
target_count, target_datatype, op, win, ierr) target_count, target_datatype, op, win, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: origin_addr ${type}, intent(in) :: origin_addr
integer, intent(in) :: origin_count integer, intent(in) :: origin_count
integer, intent(in) :: origin_datatype integer, intent(in) :: origin_datatype

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(location, address, ierr) subroutine ${proc}(location, address, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: location ${type}, intent(in) :: location
integer, intent(out) :: address integer, intent(out) :: address
integer, intent(out) :: ierr integer, intent(out) :: ierr

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcount, & subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcount, &
recvtype, comm, ierr) recvtype, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, intent(in) :: sendcount integer, intent(in) :: sendcount
integer, intent(in) :: sendtype integer, intent(in) :: sendtype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcounts, & subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcounts, &
displs, recvtype, comm, ierr) displs, recvtype, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, intent(in) :: sendcount integer, intent(in) :: sendcount
integer, intent(in) :: sendtype integer, intent(in) :: sendtype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, recvbuf, count, datatype, op, & subroutine ${proc}(sendbuf, recvbuf, count, datatype, op, &
comm, ierr) comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
${type}, intent(out) :: recvbuf ${type}, intent(out) :: recvbuf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcount, & subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcount, &
recvtype, comm, ierr) recvtype, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, intent(in) :: sendcount integer, intent(in) :: sendcount
integer, intent(in) :: sendtype integer, intent(in) :: sendtype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcounts, sdispls, sendtype, recvbuf, & subroutine ${proc}(sendbuf, sendcounts, sdispls, sendtype, recvbuf, &
recvcounts, rdispls, recvtype, comm, ierr) recvcounts, rdispls, recvtype, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, dimension(*), intent(in) :: sendcounts integer, dimension(*), intent(in) :: sendcounts
integer, dimension(*), intent(in) :: sdispls integer, dimension(*), intent(in) :: sdispls

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcounts, sdispls, sendtypes, recvbuf, & subroutine ${proc}(sendbuf, sendcounts, sdispls, sendtypes, recvbuf, &
recvcounts, rdispls, recvtypes, comm, ierr) recvcounts, rdispls, recvtypes, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, dimension(*), intent(in) :: sendcounts integer, dimension(*), intent(in) :: sendcounts
integer, dimension(*), intent(in) :: sdispls integer, dimension(*), intent(in) :: sdispls

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buffer, count, datatype, root, comm& subroutine ${proc}(buffer, count, datatype, root, comm&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buffer ${type}, intent(in) :: buffer
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, ierr) comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(buffer, size, ierr) subroutine ${proc}(buffer, size, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buffer ${type}, intent(in) :: buffer
integer, intent(in) :: size integer, intent(in) :: size
integer, intent(out) :: ierr integer, intent(out) :: ierr

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(buffer, size, ierr) subroutine ${proc}(buffer, size, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(out) :: buffer ${type}, intent(out) :: buffer
integer, intent(out) :: size integer, intent(out) :: size
integer, intent(out) :: ierr integer, intent(out) :: ierr

Просмотреть файл

@ -44,7 +44,7 @@ output() {
subroutine ${proc}(count, array_of_commands, array_of_argv, & subroutine ${proc}(count, array_of_commands, array_of_argv, &
array_of_maxprocs, array_of_info, & array_of_maxprocs, array_of_info, &
root, comm, intercomm, array_of_errcodes, ierr) root, comm, intercomm, array_of_errcodes, ierr)
include 'mpif.h' include 'mpif-common.h'
integer, intent(in) :: count integer, intent(in) :: count
character(len=*), dimension(*), intent(in) :: array_of_commands character(len=*), dimension(*), intent(in) :: array_of_commands
$type, intent(in) :: array_of_argv $type, intent(in) :: array_of_argv

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, recvbuf, count, datatype, op, & subroutine ${proc}(sendbuf, recvbuf, count, datatype, op, &
comm, ierr) comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
${type}, intent(out) :: recvbuf ${type}, intent(out) :: recvbuf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, offset, buf, count, datatype, & subroutine ${proc}(fh, offset, buf, count, datatype, &
request, ierr) request, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(in) :: fh integer, intent(in) :: fh
integer(kind=MPI_OFFSET_KIND), intent(in) :: offset integer(kind=MPI_OFFSET_KIND), intent(in) :: offset
${type}, intent(out) :: buf ${type}, intent(out) :: buf

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, request& subroutine ${proc}(fh, buf, count, datatype, request&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, request& subroutine ${proc}(fh, buf, count, datatype, request&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, offset, buf, count, datatype, & subroutine ${proc}(fh, offset, buf, count, datatype, &
request, ierr) request, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
integer(kind=MPI_OFFSET_KIND), intent(in) :: offset integer(kind=MPI_OFFSET_KIND), intent(in) :: offset
${type}, intent(in) :: buf ${type}, intent(in) :: buf

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, request& subroutine ${proc}(fh, buf, count, datatype, request&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, request& subroutine ${proc}(fh, buf, count, datatype, request&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, count, datatype, ierr) subroutine ${proc}(fh, buf, count, datatype, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, status, ierr) subroutine ${proc}(fh, buf, status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, dimension(MPI_STATUS_SIZE), intent(out) :: status integer, dimension(MPI_STATUS_SIZE), intent(out) :: status

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, status& subroutine ${proc}(fh, buf, count, datatype, status&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, offset, buf, count, datatype& subroutine ${proc}(fh, offset, buf, count, datatype&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(in) :: fh integer, intent(in) :: fh
integer(kind=MPI_OFFSET_KIND), intent(in) :: offset integer(kind=MPI_OFFSET_KIND), intent(in) :: offset
${type}, intent(out) :: buf ${type}, intent(out) :: buf

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, status, ierr) subroutine ${proc}(fh, buf, status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(in) :: fh integer, intent(in) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, dimension(MPI_STATUS_SIZE), intent(out) :: status integer, dimension(MPI_STATUS_SIZE), intent(out) :: status

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, offset, buf, count, datatype, & subroutine ${proc}(fh, offset, buf, count, datatype, &
status, ierr) status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(in) :: fh integer, intent(in) :: fh
integer(kind=MPI_OFFSET_KIND), intent(in) :: offset integer(kind=MPI_OFFSET_KIND), intent(in) :: offset
${type}, intent(out) :: buf ${type}, intent(out) :: buf

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, offset, buf, count, datatype, & subroutine ${proc}(fh, offset, buf, count, datatype, &
status, ierr) status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(in) :: fh integer, intent(in) :: fh
integer(kind=MPI_OFFSET_KIND), intent(in) :: offset integer(kind=MPI_OFFSET_KIND), intent(in) :: offset
${type}, intent(out) :: buf ${type}, intent(out) :: buf

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, status& subroutine ${proc}(fh, buf, count, datatype, status&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, count, datatype, ierr) subroutine ${proc}(fh, buf, count, datatype, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, status, ierr) subroutine ${proc}(fh, buf, status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, dimension(MPI_STATUS_SIZE), intent(out) :: status integer, dimension(MPI_STATUS_SIZE), intent(out) :: status

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, status& subroutine ${proc}(fh, buf, count, datatype, status&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, status& subroutine ${proc}(fh, buf, count, datatype, status&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, count, datatype, ierr) subroutine ${proc}(fh, buf, count, datatype, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, status, ierr) subroutine ${proc}(fh, buf, status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, dimension(MPI_STATUS_SIZE), intent(out) :: status integer, dimension(MPI_STATUS_SIZE), intent(out) :: status

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, status& subroutine ${proc}(fh, buf, count, datatype, status&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, offset, buf, count, datatype& subroutine ${proc}(fh, offset, buf, count, datatype&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
integer(kind=MPI_OFFSET_KIND), intent(in) :: offset integer(kind=MPI_OFFSET_KIND), intent(in) :: offset
${type}, intent(in) :: buf ${type}, intent(in) :: buf

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, status, ierr) subroutine ${proc}(fh, buf, status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, dimension(MPI_STATUS_SIZE), intent(out) :: status integer, dimension(MPI_STATUS_SIZE), intent(out) :: status

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, offset, buf, count, datatype, & subroutine ${proc}(fh, offset, buf, count, datatype, &
status, ierr) status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
integer(kind=MPI_OFFSET_KIND), intent(in) :: offset integer(kind=MPI_OFFSET_KIND), intent(in) :: offset
${type}, intent(in) :: buf ${type}, intent(in) :: buf

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, offset, buf, count, datatype, & subroutine ${proc}(fh, offset, buf, count, datatype, &
status, ierr) status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
integer(kind=MPI_OFFSET_KIND), intent(in) :: offset integer(kind=MPI_OFFSET_KIND), intent(in) :: offset
${type}, intent(in) :: buf ${type}, intent(in) :: buf

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, status& subroutine ${proc}(fh, buf, count, datatype, status&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, count, datatype, ierr) subroutine ${proc}(fh, buf, count, datatype, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -47,7 +47,7 @@ output() {
cat <<EOF cat <<EOF
subroutine ${proc}(fh, buf, status, ierr) subroutine ${proc}(fh, buf, status, ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, dimension(MPI_STATUS_SIZE), intent(out) :: status integer, dimension(MPI_STATUS_SIZE), intent(out) :: status

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, status& subroutine ${proc}(fh, buf, count, datatype, status&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(fh, buf, count, datatype, status& subroutine ${proc}(fh, buf, count, datatype, status&
, ierr) , ierr)
include "mpif.h" include "mpif-common.h"
integer, intent(inout) :: fh integer, intent(inout) :: fh
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcount, & subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcount, &
recvtype, root, comm, ierr) recvtype, root, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, intent(in) :: sendcount integer, intent(in) :: sendcount
integer, intent(in) :: sendtype integer, intent(in) :: sendtype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcounts, & subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcounts, &
displs, recvtype, root, comm, ierr) displs, recvtype, root, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, intent(in) :: sendcount integer, intent(in) :: sendcount
integer, intent(in) :: sendtype integer, intent(in) :: sendtype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(origin_addr, origin_count, origin_datatype, target_rank, target_disp, & subroutine ${proc}(origin_addr, origin_count, origin_datatype, target_rank, target_disp, &
target_count, target_datatype, win, ierr) target_count, target_datatype, win, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: origin_addr ${type}, intent(in) :: origin_addr
integer, intent(in) :: origin_count integer, intent(in) :: origin_count
integer, intent(in) :: origin_datatype integer, intent(in) :: origin_datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, source, tag, & subroutine ${proc}(buf, count, datatype, source, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(datarep, inbuf, incount, datatype, outbuf, & subroutine ${proc}(datarep, inbuf, incount, datatype, outbuf, &
outsize, position, ierr) outsize, position, ierr)
include "mpif.h" include "mpif-common.h"
character(len=*), intent(in) :: datarep character(len=*), intent(in) :: datarep
${type}, intent(in) :: inbuf ${type}, intent(in) :: inbuf
integer, intent(in) :: incount integer, intent(in) :: incount

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(inbuf, incount, datatype, outbuf, outsize, & subroutine ${proc}(inbuf, incount, datatype, outbuf, outsize, &
position, comm, ierr) position, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: inbuf ${type}, intent(in) :: inbuf
integer, intent(in) :: incount integer, intent(in) :: incount
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(origin_addr, origin_count, origin_datatype, target_rank, target_disp, & subroutine ${proc}(origin_addr, origin_count, origin_datatype, target_rank, target_disp, &
target_count, target_datatype, win, ierr) target_count, target_datatype, win, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: origin_addr ${type}, intent(in) :: origin_addr
integer, intent(in) :: origin_count integer, intent(in) :: origin_count
integer, intent(in) :: origin_datatype integer, intent(in) :: origin_datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, source, tag, & subroutine ${proc}(buf, count, datatype, source, tag, &
comm, status, ierr) comm, status, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, source, tag, & subroutine ${proc}(buf, count, datatype, source, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(out) :: buf ${type}, intent(out) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, recvbuf, count, datatype, op, & subroutine ${proc}(sendbuf, recvbuf, count, datatype, op, &
root, comm, ierr) root, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
${type}, intent(out) :: recvbuf ${type}, intent(out) :: recvbuf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, recvbuf, recvcounts, datatype, op, & subroutine ${proc}(sendbuf, recvbuf, recvcounts, datatype, op, &
comm, ierr) comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
${type}, intent(out) :: recvbuf ${type}, intent(out) :: recvbuf
integer, intent(in) :: recvcounts integer, intent(in) :: recvcounts

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(ibuf, count, datatype, dest, tag, & subroutine ${proc}(ibuf, count, datatype, dest, tag, &
comm, ierr) comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: ibuf ${type}, intent(in) :: ibuf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, recvbuf, count, datatype, op, & subroutine ${proc}(sendbuf, recvbuf, count, datatype, op, &
comm, ierr) comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
${type}, intent(out) :: recvbuf ${type}, intent(out) :: recvbuf
integer, intent(in) :: count integer, intent(in) :: count

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcount, & subroutine ${proc}(sendbuf, sendcount, sendtype, recvbuf, recvcount, &
recvtype, root, comm, ierr) recvtype, root, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, intent(in) :: sendcount integer, intent(in) :: sendcount
integer, intent(in) :: sendtype integer, intent(in) :: sendtype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcounts, displs, sendtype, recvbuf, & subroutine ${proc}(sendbuf, sendcounts, displs, sendtype, recvbuf, &
recvcount, recvtype, root, comm, ierr) recvcount, recvtype, root, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, intent(in) :: sendcounts integer, intent(in) :: sendcounts
integer, intent(in) :: displs integer, intent(in) :: displs

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, ierr) comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(sendbuf, sendcount, sendtype, dest, sendtag, & subroutine ${proc}(sendbuf, sendcount, sendtype, dest, sendtag, &
recvbuf, recvcount, recvtype, source, recvtag, comm, status, ierr) recvbuf, recvcount, recvtype, source, recvtag, comm, status, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: sendbuf ${type}, intent(in) :: sendbuf
integer, intent(in) :: sendcount integer, intent(in) :: sendcount
integer, intent(in) :: sendtype integer, intent(in) :: sendtype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, sendtag, & subroutine ${proc}(buf, count, datatype, dest, sendtag, &
source, recvtag, comm, status, ierr) source, recvtag, comm, status, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(inout) :: buf ${type}, intent(inout) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -28,7 +28,7 @@ do
proc="${procedure}${rank}DL${kind}" proc="${procedure}${rank}DL${kind}"
echo "subroutine ${proc}(x, size, ierr)" echo "subroutine ${proc}(x, size, ierr)"
echo " implicit none" echo " implicit none"
echo " include 'mpif.h'" echo " include 'mpif-common.h'"
echo " include 'fortran_sizes.h'" echo " include 'fortran_sizes.h'"
echo " logical*${kind}, intent(in) :: x" echo " logical*${kind}, intent(in) :: x"
echo " integer, intent(out) :: size" echo " integer, intent(out) :: size"
@ -44,7 +44,7 @@ do
proc="${procedure}${rank}DI${kind}" proc="${procedure}${rank}DI${kind}"
echo "subroutine ${proc}(x, size, ierr)" echo "subroutine ${proc}(x, size, ierr)"
echo " implicit none" echo " implicit none"
echo " include 'mpif.h'" echo " include 'mpif-common.h'"
echo " include 'fortran_sizes.h'" echo " include 'fortran_sizes.h'"
echo " integer*${kind}, intent(in) :: x" echo " integer*${kind}, intent(in) :: x"
echo " integer, intent(out) :: size" echo " integer, intent(out) :: size"
@ -60,7 +60,7 @@ do
proc="${procedure}${rank}DR${kind}" proc="${procedure}${rank}DR${kind}"
echo "subroutine ${proc}(x, size, ierr)" echo "subroutine ${proc}(x, size, ierr)"
echo " implicit none" echo " implicit none"
echo " include 'mpif.h'" echo " include 'mpif-common.h'"
echo " include 'fortran_sizes.h'" echo " include 'fortran_sizes.h'"
echo " real*${kind}, intent(in) :: x" echo " real*${kind}, intent(in) :: x"
echo " integer, intent(out) :: size" echo " integer, intent(out) :: size"
@ -79,7 +79,7 @@ do
proc="${procedure}${rank}DC${kind}" proc="${procedure}${rank}DC${kind}"
echo "subroutine ${proc}(x, size, ierr)" echo "subroutine ${proc}(x, size, ierr)"
echo " implicit none" echo " implicit none"
echo " include 'mpif.h'" echo " include 'mpif-common.h'"
echo " include 'fortran_sizes.h'" echo " include 'fortran_sizes.h'"
echo " complex*${kind}, intent(in) :: x" echo " complex*${kind}, intent(in) :: x"
echo " integer, intent(out) :: size" echo " integer, intent(out) :: size"
@ -106,7 +106,7 @@ do
proc="${procedure}${rank}DL${kind}" proc="${procedure}${rank}DL${kind}"
echo "subroutine ${proc}(x, size, ierr)" echo "subroutine ${proc}(x, size, ierr)"
echo " implicit none" echo " implicit none"
echo " include 'mpif.h'" echo " include 'mpif-common.h'"
echo " include 'fortran_sizes.h'" echo " include 'fortran_sizes.h'"
echo " logical*${kind}, dimension(${dim}), intent(in) :: x" echo " logical*${kind}, dimension(${dim}), intent(in) :: x"
echo " integer, intent(out) :: size" echo " integer, intent(out) :: size"
@ -122,7 +122,7 @@ do
proc="${procedure}${rank}DI${kind}" proc="${procedure}${rank}DI${kind}"
echo "subroutine ${proc}(x, size, ierr)" echo "subroutine ${proc}(x, size, ierr)"
echo " implicit none" echo " implicit none"
echo " include 'mpif.h'" echo " include 'mpif-common.h'"
echo " include 'fortran_sizes.h'" echo " include 'fortran_sizes.h'"
echo " integer*${kind}, dimension(${dim}), intent(in) :: x" echo " integer*${kind}, dimension(${dim}), intent(in) :: x"
echo " integer, intent(out) :: size" echo " integer, intent(out) :: size"
@ -138,7 +138,7 @@ do
proc="${procedure}${rank}DR${kind}" proc="${procedure}${rank}DR${kind}"
echo "subroutine ${proc}(x, size, ierr)" echo "subroutine ${proc}(x, size, ierr)"
echo " implicit none" echo " implicit none"
echo " include 'mpif.h'" echo " include 'mpif-common.h'"
echo " include 'fortran_sizes.h'" echo " include 'fortran_sizes.h'"
echo " real*${kind}, dimension(${dim}), intent(in) :: x" echo " real*${kind}, dimension(${dim}), intent(in) :: x"
echo " integer, intent(out) :: size" echo " integer, intent(out) :: size"
@ -157,7 +157,7 @@ do
proc="${procedure}${rank}DC${kind}" proc="${procedure}${rank}DC${kind}"
echo "subroutine ${proc}(x, size, ierr)" echo "subroutine ${proc}(x, size, ierr)"
echo " implicit none" echo " implicit none"
echo " include 'mpif.h'" echo " include 'mpif-common.h'"
echo " include 'fortran_sizes.h'" echo " include 'fortran_sizes.h'"
echo " complex*${kind}, dimension(${dim}), intent(in) :: x" echo " complex*${kind}, dimension(${dim}), intent(in) :: x"
echo " integer, intent(out) :: size" echo " integer, intent(out) :: size"

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, ierr) comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(buf, count, datatype, dest, tag, & subroutine ${proc}(buf, count, datatype, dest, tag, &
comm, request, ierr) comm, request, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: buf ${type}, intent(in) :: buf
integer, intent(in) :: count integer, intent(in) :: count
integer, intent(in) :: datatype integer, intent(in) :: datatype

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(datarep, inbuf, insize, position, outbuf, & subroutine ${proc}(datarep, inbuf, insize, position, outbuf, &
outcount, datatype, ierr) outcount, datatype, ierr)
include "mpif.h" include "mpif-common.h"
character(len=*), intent(in) :: datarep character(len=*), intent(in) :: datarep
${type}, intent(in) :: inbuf ${type}, intent(in) :: inbuf
integer(kind=MPI_ADDRESS_KIND), intent(in) :: insize integer(kind=MPI_ADDRESS_KIND), intent(in) :: insize

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(inbuf, insize, position, outbuf, outcount, & subroutine ${proc}(inbuf, insize, position, outbuf, outcount, &
datatype, comm, ierr) datatype, comm, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: inbuf ${type}, intent(in) :: inbuf
integer, intent(in) :: insize integer, intent(in) :: insize
integer, intent(inout) :: position integer, intent(inout) :: position

Просмотреть файл

@ -48,7 +48,7 @@ output() {
subroutine ${proc}(base, size, disp_unit, info, comm, & subroutine ${proc}(base, size, disp_unit, info, comm, &
win, ierr) win, ierr)
include "mpif.h" include "mpif-common.h"
${type}, intent(in) :: base ${type}, intent(in) :: base
integer(kind=MPI_ADDRESS_KIND), intent(in) :: size integer(kind=MPI_ADDRESS_KIND), intent(in) :: size
integer, intent(in) :: disp_unit integer, intent(in) :: disp_unit

Просмотреть файл

@ -190,7 +190,7 @@ do
<xsl:text>subroutine ${proc}(</xsl:text> <xsl:text>subroutine ${proc}(</xsl:text>
<xsl:call-template name="arg-list"/> <xsl:text>)</xsl:text> <xsl:call-template name="arg-list"/> <xsl:text>)</xsl:text>
<xsl:value-of select="$nl"/> <xsl:value-of select="$nl"/>
<xsl:text> include "mpif.h"</xsl:text> <xsl:text> include "mpif-common.h"</xsl:text>
<xsl:value-of select="$nl"/> <xsl:value-of select="$nl"/>
<xsl:call-template name="decl-construct-list"> <xsl:call-template name="decl-construct-list">
<xsl:with-param name="ws" select="''"/> <xsl:with-param name="ws" select="''"/>

Просмотреть файл

@ -112,7 +112,7 @@ output_</xsl:text> <xsl:number/> <xsl:text>() {
<xsl:text>subroutine ${procedure}(</xsl:text> <xsl:text>subroutine ${procedure}(</xsl:text>
<xsl:call-template name="arg-list"/> <xsl:text>)</xsl:text> <xsl:call-template name="arg-list"/> <xsl:text>)</xsl:text>
<xsl:value-of select="$nl"/> <xsl:value-of select="$nl"/>
<xsl:text> include 'mpif.h'</xsl:text> <xsl:text> include 'mpif-common.h'</xsl:text>
<xsl:value-of select="$nl"/> <xsl:value-of select="$nl"/>
<xsl:call-template name="decl-construct-list"> <xsl:call-template name="decl-construct-list">
<xsl:with-param name="ws" select="''"/> <xsl:with-param name="ws" select="''"/>
@ -184,7 +184,7 @@ output_</xsl:text> <xsl:number/> <xsl:text>() {
<xsl:text>subroutine ${proc}(</xsl:text> <xsl:text>subroutine ${proc}(</xsl:text>
<xsl:call-template name="arg-list"/> <xsl:text>)</xsl:text> <xsl:call-template name="arg-list"/> <xsl:text>)</xsl:text>
<xsl:value-of select="$nl"/> <xsl:value-of select="$nl"/>
<xsl:text> include 'mpif.h'</xsl:text> <xsl:text> include 'mpif-common.h'</xsl:text>
<xsl:value-of select="$nl"/> <xsl:value-of select="$nl"/>
<xsl:call-template name="decl-construct-list"> <xsl:call-template name="decl-construct-list">
<xsl:with-param name="ws" select="''"/> <xsl:with-param name="ws" select="''"/>

Просмотреть файл

@ -11178,12 +11178,12 @@
<!-- <!--
- METHOD: double MPI_Wtick() C - METHOD: double MPI_Wtick() C
- NOTE: already defined in mpif.h - NOTE: already defined in mpif-common.h
--> -->
<!-- <!--
- METHOD: double MPI_Wtime() C - METHOD: double MPI_Wtime() C
- NOTE: already defined in mpif.h - NOTE: already defined in mpif-common.h
--> -->
<!-- <!--