Merge pull request #962 from ggouaillardet/topic/f08_manpages
Add Fortran 2008 syntax to the manpages
Этот коммит содержится в:
Коммит
f0741b8f2e
@ -8,32 +8,50 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
TRIM_OPTIONS=
|
||||
if ! OMPI_BUILD_MPI_CXX_BINDINGS
|
||||
TRIM_OPTIONS += --nocxx
|
||||
endif
|
||||
if ! OMPI_BUILD_FORTRAN_MPIFH_BINDINGS
|
||||
TRIM_OPTIONS += --nofortran
|
||||
endif
|
||||
if ! OMPI_BUILD_FORTRAN_USEMPIF08_BINDINGS
|
||||
TRIM_OPTIONS += --nof08
|
||||
endif
|
||||
|
||||
.1in.1:
|
||||
@ echo " SED $@"
|
||||
@ sed -e 's/#PACKAGE_NAME#/@PACKAGE_NAME@/g' \
|
||||
-e 's/#PACKAGE_VERSION#/@PACKAGE_VERSION@/g' \
|
||||
-e 's/#OMPI_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
-e 's/#OPAL_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
-e 's/#ORTE_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
> $@ < $<
|
||||
@ echo " BUILDING $@"
|
||||
@ $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
|
||||
--package-name='@PACKAGE_NAME@' \
|
||||
--package-version='@PACKAGE_VERSION@' \
|
||||
--ompi-date='@OMPI_RELEASE_DATE@' \
|
||||
--opal-date='@OPAL_RELEASE_DATE@' \
|
||||
--orte-date='@ORTE_RELEASE_DATE@' \
|
||||
--input=$< \
|
||||
--output=$@
|
||||
|
||||
.3in.3:
|
||||
@ echo " SED $@"
|
||||
@ sed -e 's/#PACKAGE_NAME#/@PACKAGE_NAME@/g' \
|
||||
-e 's/#PACKAGE_VERSION#/@PACKAGE_VERSION@/g' \
|
||||
-e 's/#OMPI_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
-e 's/#OPAL_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
-e 's/#ORTE_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
> $@ < $<
|
||||
@ echo " BUILDING $@"
|
||||
@ $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
|
||||
--package-name='@PACKAGE_NAME@' \
|
||||
--package-version='@PACKAGE_VERSION@' \
|
||||
--ompi-date='@OMPI_RELEASE_DATE@' \
|
||||
--opal-date='@OPAL_RELEASE_DATE@' \
|
||||
--orte-date='@ORTE_RELEASE_DATE@' \
|
||||
$(TRIM_OPTIONS) \
|
||||
--input=$< \
|
||||
--output=$@
|
||||
|
||||
.7in.7:
|
||||
@ echo " SED $@"
|
||||
@ sed -e 's/#PACKAGE_NAME#/@PACKAGE_NAME@/g' \
|
||||
-e 's/#PACKAGE_VERSION#/@PACKAGE_VERSION@/g' \
|
||||
-e 's/#OMPI_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
-e 's/#OPAL_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
-e 's/#ORTE_DATE#/@OMPI_RELEASE_DATE@/g' \
|
||||
> $@ < $<
|
||||
@ echo " BUILDING $@"
|
||||
@ $(top_srcdir)/ompi/mpi/man/make_manpage.pl \
|
||||
--package-name='@PACKAGE_NAME@' \
|
||||
--package-version='@PACKAGE_VERSION@' \
|
||||
--ompi-date='@OMPI_RELEASE_DATE@' \
|
||||
--opal-date='@OPAL_RELEASE_DATE@' \
|
||||
--orte-date='@ORTE_RELEASE_DATE@' \
|
||||
--input=$< \
|
||||
--output=$@
|
||||
|
||||
# A little verbosity magic; "make" will show the terse output. "make
|
||||
# V=1" will show the actual commands used (just like the other
|
||||
|
@ -59,7 +59,7 @@ AC_DEFUN([OMPI_SETUP_CXX],[
|
||||
|
||||
_OMPI_CXX_CHECK_2D_CONST_CAST
|
||||
|
||||
AM_CONDITIONAL(BUILD_MPI_CXX_BINDINGS, [test "$WANT_MPI_CXX_SUPPORT" = 1])
|
||||
AM_CONDITIONAL(OMPI_BUILD_MPI_CXX_BINDINGS, [test "$WANT_MPI_CXX_SUPPORT" = 1])
|
||||
AC_DEFINE_UNQUOTED(OMPI_BUILD_CXX_BINDINGS, $WANT_MPI_CXX_SUPPORT,
|
||||
[Whether we want MPI C++ support or not])
|
||||
])
|
||||
|
@ -10,6 +10,8 @@
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2015 Research Organization for Information Science
|
||||
# and Technology (RIST). All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -18,6 +20,7 @@
|
||||
#
|
||||
|
||||
EXTRA_DIST = \
|
||||
mpi/fortran/configure-fortran-output-bottom.h
|
||||
mpi/fortran/configure-fortran-output-bottom.h \
|
||||
mpi/man/make_manpage.pl
|
||||
|
||||
dist_ompidata_DATA += mpi/help-mpi-api.txt
|
||||
|
@ -25,7 +25,7 @@
|
||||
# code.
|
||||
AM_CPPFLAGS = -DOMPI_BUILDING_CXX_BINDINGS_LIBRARY=1 -DOMPI_SKIP_MPICXX=1
|
||||
|
||||
if BUILD_MPI_CXX_BINDINGS
|
||||
if OMPI_BUILD_MPI_CXX_BINDINGS
|
||||
|
||||
mpi_lib = libmpi_cxx.la
|
||||
|
||||
|
82
ompi/mpi/man/make_manpage.pl
Исполняемый файл
82
ompi/mpi/man/make_manpage.pl
Исполняемый файл
@ -0,0 +1,82 @@
|
||||
#!/usr/bin/env perl
|
||||
#
|
||||
# Copyright (c) 2015 Research Organization for Information Science
|
||||
# and Technology (RIST). All rights reserved.
|
||||
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Subroutine to generate a bunch of Fortran declarations and symbols
|
||||
#
|
||||
|
||||
use strict;
|
||||
|
||||
use Getopt::Long;
|
||||
|
||||
my $package_name;
|
||||
my $package_version;
|
||||
my $ompi_date;
|
||||
my $opal_date;
|
||||
my $orte_date;
|
||||
my $cxx = '1';
|
||||
my $fortran = '1';
|
||||
my $f08 = '1';
|
||||
my $input;
|
||||
my $output;
|
||||
my $help_arg = 0;
|
||||
|
||||
&Getopt::Long::Configure("bundling");
|
||||
my $ok = Getopt::Long::GetOptions("package-name=s" => \$package_name,
|
||||
"package-version=s" => \$package_version,
|
||||
"ompi-date=s" => \$ompi_date,
|
||||
"opal-date=s" => \$opal_date,
|
||||
"orte-date=s" => \$orte_date,
|
||||
"cxx!" => \$cxx,
|
||||
"fortran!" => \$fortran,
|
||||
"f08!" => \$f08,
|
||||
"input=s" => \$input,
|
||||
"output=s" => \$output);
|
||||
|
||||
if ($help_arg || !$ok ||
|
||||
!defined($input) ||
|
||||
!defined($output) ||
|
||||
!defined($package_name) ||
|
||||
!defined($package_version) ||
|
||||
!defined($ompi_date) ||
|
||||
!defined($opal_date) ||
|
||||
!defined($orte_date)) {
|
||||
print "Usage: $0 --package-name=<package name> --package-version=<package version> --ompi-date=<ompi date> --opal-date=<opal date> --orte-date=<orte date> --input=<input file> --output=<output file> [--nocxx] [ --nofortran] [--nof08]\n";
|
||||
exit(1 - $ok);
|
||||
}
|
||||
|
||||
open(FILE, $input) ||
|
||||
die "Can't open $input";
|
||||
my $file;
|
||||
$file .= $_
|
||||
while(<FILE>);
|
||||
close(FILE);
|
||||
|
||||
$file =~ s/#PACKAGE_NAME#/$package_name/g;
|
||||
$file =~ s/#PACKAGE_VERSION#/$package_version/g;
|
||||
$file =~ s/#OMPI_DATE#/$ompi_date/g;
|
||||
$file =~ s/#OPAL_DATE#/$opal_date/g;
|
||||
$file =~ s/#ORTE_DATE#/$orte_date/g;
|
||||
|
||||
if ($cxx == 0) {
|
||||
$file =~ s/\n\.SH C\+\+ Syntax.+?fi\n/\n/s;
|
||||
}
|
||||
|
||||
if ($fortran == 0) {
|
||||
$file =~ s/\n\.SH Fortran Syntax.+?fi\n/\n/s;
|
||||
}
|
||||
|
||||
if ($f08 == 0) {
|
||||
$file =~ s/\n\.SH Fortran 2008 Syntax.+?fi\n/\n/s;
|
||||
}
|
||||
|
||||
open(FILE, ">$output") ||
|
||||
die "Can't open $output";
|
||||
print FILE $file;
|
||||
close(FILE);
|
||||
|
||||
exit(0);
|
||||
|
@ -18,10 +18,20 @@ int MPI_Abort(MPI_Comm \fIcomm\fP, int\fI errorcode\fP)
|
||||
.SH Fortran Syntax
|
||||
.ft R
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ABORT(\fICOMM\fP, \fIERRORCODE\fP, \fIIERROR\fP)
|
||||
INTEGER \fICOMM\fP,\fI ERRORCODE\fP,\fI IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Abort(\fIcomm\fP, \fIerrorcode\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIerrorcode\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -27,7 +27,8 @@ int MPI_Raccumulate(const void *\fIorigin_addr\fP, int \fIorigin_count\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax (see FORTRAN 77 NOTES)
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ACCUMULATE(\fIORIGIN_ADDR, ORIGIN_COUNT, ORIGIN_DATATYPE, TARGET_RANK,
|
||||
TARGET_DISP, TARGET_COUNT, TARGET_DATATYPE, OP, WIN, IERROR\fP)
|
||||
<type> \fIORIGIN_ADDR\fP(*)
|
||||
@ -42,6 +43,32 @@ MPI_RACCUMULATE(\fIORIGIN_ADDR, ORIGIN_COUNT, ORIGIN_DATATYPE, TARGET_RANK,
|
||||
INTEGER \fIORIGIN_COUNT, ORIGIN_DATATYPE, TARGET_RANK, TARGET_COUNT,
|
||||
TARGET_DATATYPE, OP, WIN, REQUEST, IERROR \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Accumulate(\fIorigin_addr\fP, \fIorigin_count\fP, \fIorigin_datatype\fP, \fItarget_rank\fP,
|
||||
\fItarget_disp\fP, \fItarget_count\fP, \fItarget_datatype\fP, \fIop\fP, \fIwin\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIorigin_addr\fP
|
||||
INTEGER, INTENT(IN) :: \fIorigin_count\fP, \fItarget_rank\fP, \fItarget_count\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIorigin_datatype\fP, \fItarget_datatype\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(IN) :: \fItarget_disp\fP
|
||||
TYPE(MPI_Op), INTENT(IN) :: \fIop\fP
|
||||
TYPE(MPI_Win), INTENT(IN) :: \fIwin\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Raccumulate(\fIorigin_addr\fP, \fIorigin_count\fP, \fIorigin_datatype\fP, \fItarget_rank\fP,
|
||||
\fItarget_disp\fP, \fItarget_count\fP, \fItarget_datatype\fP, \fIop\fP, \fIwin\fP, \fIrequest,\fP
|
||||
\fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIorigin_addr\fP
|
||||
INTEGER, INTENT(IN) :: \fIorigin_count\fP, \fItarget_rank\fP, \fItarget_count\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIorigin_datatype\fP, \fItarget_datatype\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(IN) :: \fItarget_disp\fP
|
||||
TYPE(MPI_Op), INTENT(IN) :: \fIop\fP
|
||||
TYPE(MPI_Win), INTENT(IN) :: \fIwin\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -21,10 +21,19 @@ int MPI_Add_error_class(int *\fIerrorclass\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ADD_ERROR_CLASS(\fIERRORCLASS, IERROR\fP)
|
||||
INTEGER \fIERRORCLASS, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Add_error_class(\fIerrorclass\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(OUT) :: \fIerrorclass\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -20,10 +20,20 @@ int MPI_Add_error_code(int \fIerrorclass\fP, int *\fIerrorcode\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ADD_ERROR_CODE(\fIERRORCLASS, ERRORCODE, IERROR\fP)
|
||||
INTEGER \fI ERRORCLASS, ERRORCODE, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Add_error_code(\fIerrorclass\fP, \fIerrorcode\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(IN) :: \fIerrorclass\fP
|
||||
INTEGER, INTENT(OUT) :: \fIerrorcode\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -22,11 +22,21 @@ int MPI_Add_error_string(int \fIerrorcode\fP, const char *\fIstring\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ADD_ERROR_STRING(\fIERRORCODE, STRING, IERROR\fP)
|
||||
INTEGER \fIERRORCODE, IERROR\fP
|
||||
CHARACTER*(*) \fISTRING\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Add_error_string(\fIerrorcode\fP, \fIstring\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(IN) :: \fIerrorcode\fP
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIstring\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -21,7 +21,18 @@ MPI_Aint MPI_Aint_diff(MPI_Aint \fIaddr1\fP, MPI_Aint \fIaddr2\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) MPI_AINT_ADD(\fIBASE, DISP\fP)
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fIBASE, DISP\fP
|
||||
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) MPI_AINT_DIFF(\fIADDR1, ADDR2\fP)
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fIADDR1, ADDR2\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) MPI_AINT_ADD(\fIBASE, DISP\fP)
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fIBASE, DISP\fP
|
||||
|
||||
|
@ -24,7 +24,8 @@ int MPI_Iallgather(const void\fI *sendbuf\fP, int \fI sendcount\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ALLGATHER(\fISENDBUF\fP,\fI SENDCOUNT\fP,\fI SENDTYPE\fP,\fI RECVBUF\fP,\fI RECVCOUNT\fP,\fI
|
||||
RECVTYPE\fP,\fI COMM\fP,\fI IERROR\fP)
|
||||
<type> \fISENDBUF\fP (*), \fIRECVBUF\fP (*)
|
||||
@ -37,6 +38,29 @@ MPI_IALLGATHER(\fISENDBUF, SENDCOUNT, SENDTYPE, RECVBUF, RECVCOUNT,
|
||||
INTEGER \fISENDCOUNT, SENDTYPE, RECVCOUNT, RECVTYPE, COMM\fP
|
||||
INTEGER \fIREQUEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Allgather(\fIsendbuf\fP, \fIsendcount\fP, \fIsendtype\fP, \fIrecvbuf\fP, \fIrecvcount\fP, \fIrecvtype\fP,
|
||||
\fIcomm\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIsendcount\fP, \fIrecvcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtype\fP, \fIrecvtype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Iallgather(\fIsendbuf\fP, \fIsendcount\fP, \fIsendtype\fP, \fIrecvbuf\fP, \fIrecvcount\fP, \fIrecvtype\fP,
|
||||
\fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIsendcount\fP, \fIrecvcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtype\fP, \fIrecvtype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -25,7 +25,8 @@ int MPI_Iallgatherv(const void\fI *sendbuf\fP, int\fI sendcount\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ALLGATHERV(\fISENDBUF\fP,\fI SENDCOUNT\fP, \fISENDTYPE\fP,\fI RECVBUF\fP,
|
||||
\fIRECVCOUNT\fP,\fI DISPLS\fP, \fIRECVTYPE\fP,\fI COMM\fP,\fI IERROR\fP)
|
||||
<type> \fISENDBUF\fP(*), \fIRECVBUF\fP(*)
|
||||
@ -38,6 +39,30 @@ MPI_IALLGATHERV(\fISENDBUF, SENDCOUNT, SENDTYPE, RECVBUF,
|
||||
INTEGER \fISENDCOUNT, SENDTYPE, RECVCOUNT\fP(*),
|
||||
INTEGER \fIDISPLS\fP(*)\fI, RECVTYPE, COMM, REQUEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Allgatherv(\fIsendbuf\fP, \fIsendcount\fP, \fIsendtype\fP, \fIrecvbuf\fP, \fIrecvcounts\fP, \fIdispls\fP,
|
||||
\fIrecvtype\fP, \fIcomm\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIsendcount\fP, \fIrecvcounts(*)\fP, \fIdispls(*)\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtype\fP, \fIrecvtype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Iallgatherv(\fIsendbuf\fP, \fIsendcount\fP, \fIsendtype\fP, \fIrecvbuf\fP, \fIrecvcounts\fP, \fIdispls\fP,
|
||||
\fIrecvtype\fP, \fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIsendcount\fP
|
||||
INTEGER, INTENT(IN), ASYNCHRONOUS :: \fIrecvcounts(*)\fP, \fIdispls(*)\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtype\fP, \fIrecvtype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,11 +17,23 @@ int MPI_Alloc_mem(MPI_Aint \fIsize\fP, MPI_Info \fIinfo\fP, void *\fIbaseptr\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax (see FORTRAN NOTES)
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ALLOC_MEM(\fISIZE, INFO, BASEPTR, IERROR\fP)
|
||||
INTEGER \fIINFO, IERROR\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fISIZE, BASEPTR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Alloc_mem(\fIsize\fP, \fIinfo\fP, \fIbaseptr\fP, \fIierror\fP)
|
||||
USE, INTRINSIC :: \fIISO_C_BINDING\fP, \fIONLY \fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(IN) :: \fIsize\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
TYPE(C_PTR), INTENT(OUT) :: \fIbaseptr\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -23,7 +23,8 @@ int MPI_Iallreduce(const void \fI*sendbuf\fP, void \fI*recvbuf\fP, int\fI count\
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ALLREDUCE(\fISENDBUF\fP,\fI RECVBUF\fP, \fICOUNT\fP,\fI DATATYPE\fP,\fI OP\fP, \fICOMM\fP, \fIIERROR\fP)
|
||||
<type> \fISENDBUF\fP(*), \fIRECVBUF\fP(*)
|
||||
INTEGER \fICOUNT\fP,\fI DATATYPE\fP,\fI OP\fP,\fI COMM\fP,\fI IERROR\fP
|
||||
@ -32,6 +33,30 @@ MPI_IALLREDUCE(\fISENDBUF, RECVBUF, COUNT, DATATYPE, OP, COMM, REQUEST, IERROR\f
|
||||
<type> \fISENDBUF\fP(*)\fI, RECVBUF\fP(*)
|
||||
INTEGER \fICOUNT, DATATYPE, OP, COMM, REQUEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Allreduce(\fIsendbuf\fP, \fIrecvbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIop\fP, \fIcomm\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Op), INTENT(IN) :: \fIop\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Iallreduce(\fIsendbuf\fP, \fIrecvbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIop\fP, \fIcomm\fP, \fIrequest\fP,
|
||||
\fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Op), INTENT(IN) :: \fIop\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -26,7 +26,8 @@ int MPI_Ialltoall(const void *\fIsendbuf\fP, int \fIsendcount\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ALLTOALL(\fISENDBUF, SENDCOUNT, SENDTYPE, RECVBUF, RECVCOUNT,
|
||||
RECVTYPE, COMM, IERROR\fP)
|
||||
|
||||
@ -41,6 +42,31 @@ MPI_IALLTOALL(\fISENDBUF, SENDCOUNT, SENDTYPE, RECVBUF, RECVCOUNT,
|
||||
INTEGER \fISENDCOUNT, SENDTYPE, RECVCOUNT, RECVTYPE\fP
|
||||
INTEGER \fICOMM, REQUEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Alltoall(\fIsendbuf\fP, \fIsendcount\fP, \fIsendtype\fP, \fIrecvbuf\fP, \fIrecvcount\fP, \fIrecvtype\fP,
|
||||
\fIcomm\fP, \fIierror\fP)
|
||||
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIsendcount\fP, \fIrecvcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtype\fP, \fIrecvtype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Ialltoall(\fIsendbuf\fP, \fIsendcount\fP, \fIsendtype\fP, \fIrecvbuf\fP, \fIrecvcount\fP, \fIrecvtype\fP,
|
||||
\fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIsendcount\fP, \fIrecvcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtype\fP, \fIrecvtype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -28,7 +28,8 @@ int MPI_Ialltoallv(const void *\fIsendbuf\fP, const int \fIsendcounts\fP[],
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
|
||||
MPI_ALLTOALLV(\fISENDBUF, SENDCOUNTS, SDISPLS, SENDTYPE,
|
||||
RECVBUF, RECVCOUNTS, RDISPLS, RECVTYPE, COMM, IERROR\fP)
|
||||
@ -46,6 +47,33 @@ MPI_IALLTOALLV(\fISENDBUF, SENDCOUNTS, SDISPLS, SENDTYPE,
|
||||
INTEGER \fIRECVCOUNTS(*), RDISPLS(*), RECVTYPE\fP
|
||||
INTEGER \fICOMM, REQUEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Alltoallv(\fIsendbuf\fP, \fIsendcounts\fP, \fIsdispls\fP, \fIsendtype\fP, \fIrecvbuf\fP, \fIrecvcounts\fP,
|
||||
\fIrdispls\fP, \fIrecvtype\fP, \fIcomm\fP, \fIierror\fP)
|
||||
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIsendcounts(*)\fP, \fIsdispls(*)\fP, \fIrecvcounts(*),\fP
|
||||
\fIrdispls(*)\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtype\fP, \fIrecvtype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Ialltoallv(\fIsendbuf\fP, \fIsendcounts\fP, \fIsdispls\fP, \fIsendtype\fP, \fIrecvbuf\fP, \fIrecvcounts\fP,
|
||||
\fIrdispls\fP, \fIrecvtype\fP, \fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN), ASYNCHRONOUS :: \fIsendcounts(*)\fP, \fIsdispls(*),\fP
|
||||
\fIrecvcounts(*)\fP, \fIrdispls(*)\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtype\fP, \fIrecvtype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -29,7 +29,8 @@ int MPI_Ialltoallw(const void *\fIsendbuf\fP, const int \fIsendcounts\fP[],
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ALLTOALLW(\fISENDBUF, SENDCOUNTS, SDISPLS, SENDTYPES,
|
||||
RECVBUF, RECVCOUNTS, RDISPLS, RECVTYPES, COMM, IERROR\fP)
|
||||
|
||||
@ -46,6 +47,35 @@ MPI_IALLTOALLW(\fISENDBUF, SENDCOUNTS, SDISPLS, SENDTYPES,
|
||||
INTEGER \fIRECVCOUNTS(*), RDISPLS(*), RECVTYPES(*)\fP
|
||||
INTEGER \fICOMM, REQUEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Alltoallw(\fIsendbuf\fP, \fIsendcounts\fP, \fIsdispls\fP, \fIsendtypes\fP, \fIrecvbuf\fP, \fIrecvcounts\fP,
|
||||
\fIrdispls\fP, \fIrecvtypes\fP, \fIcomm\fP, \fIierror\fP)
|
||||
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIsendcounts(*)\fP, \fIsdispls(*)\fP, \fIrecvcounts(*),\fP
|
||||
\fIrdispls(*)\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIsendtypes(*)\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIrecvtypes(*)\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Ialltoallw(\fIsendbuf\fP, \fIsendcounts\fP, \fIsdispls\fP, \fIsendtypes\fP, \fIrecvbuf\fP,
|
||||
\fIrecvcounts\fP, \fIrdispls\fP, \fIrecvtypes\fP, \fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN), ASYNCHRONOUS :: \fIsendcounts(*)\fP, \fIsdispls(*),\fP
|
||||
\fIrecvcounts(*)\fP, \fIrdispls(*)\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN), ASYNCHRONOUS :: \fIsendtypes(*),\fP
|
||||
\fIrecvtypes(*)\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -19,13 +19,27 @@ int MPI_Ibarrier(MPI_Comm \fIcomm\fP, MPI_Request \fI*request\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_BARRIER(\fICOMM\fP,\fI IERROR\fP)
|
||||
INTEGER \fICOMM\fP,\fI IERROR\fP
|
||||
|
||||
MPI_IBARRIER(\fICOMM\fP, \fIREQUEST\fP, \fIIERROR\fP)
|
||||
INTEGER \fICOMM\fP, \fIREQUEST\fP, \fIIERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Barrier(\fIcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Ibarrier(\fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -21,7 +21,8 @@ int MPI_Ibcast(void \fI*buffer\fP, int\fI count\fP, MPI_Datatype\fI datatype\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_BCAST(\fIBUFFER\fP,\fI COUNT\fP, \fIDATATYPE\fP,\fI ROOT\fP,\fI COMM\fP,\fI IERROR\fP)
|
||||
<type> \fIBUFFER\fP(*)
|
||||
INTEGER \fICOUNT\fP,\fI DATATYPE\fP,\fI ROOT\fP,\fI COMM\fP,\fI IERROR\fP
|
||||
@ -30,6 +31,25 @@ MPI_IBCAST(\fIBUFFER\fP,\fI COUNT\fP, \fIDATATYPE\fP,\fI ROOT\fP,\fI COMM\fP, \f
|
||||
<type> \fIBUFFER\fP(*)
|
||||
INTEGER \fICOUNT\fP,\fI DATATYPE\fP,\fI ROOT\fP,\fI COMM\fP, \fIREQUEST\fP,\fI IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Bcast(\fIbuffer\fP, \fIcount\fP, \fIdatatype\fP, \fIroot\fP, \fIcomm\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..) :: \fIbuffer\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP, \fIroot\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Ibcast(\fIbuffer\fP, \fIcount\fP, \fIdatatype\fP, \fIroot\fP, \fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIbuffer\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP, \fIroot\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -19,11 +19,23 @@ int MPI_Bsend(const void \fI*buf\fP, int\fI count\fP, MPI_Datatype\fI datatype\f
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_BSEND(\fIBUF\fP,\fI COUNT\fP,\fIDATATYPE\fP,\fI DEST\fP,\fI TAG\fP,\fI COMM\fP,\fI IERROR\fP)
|
||||
<type> \fIBUF\fP(*)
|
||||
INTEGER \fICOUNT\fP,\fI DATATYPE\fP,\fI DEST\fP,\fI TAG\fP,\fI COMM\fP,\fI IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Bsend(\fIbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIdest\fP, \fItag\fP, \fIcomm\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP, \fIdest\fP, \fItag\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -19,13 +19,26 @@ int MPI_Bsend_init(const void \fI*buf\fP, int\fI count\fP, MPI_Datatype\fI datat
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_BSEND_INIT(\fIBUF\fP,\fI COUNT\fP, \fIDATATYPE\fP,\fI DEST\fP,\fI TAG\fP,\fI COMM\fP,\fI REQUEST\fP,
|
||||
\fIIERROR\fP)
|
||||
<type> \fIBUF\fP(\fI*\fP)
|
||||
INTEGER \fICOUNT\fP,\fI DATATYPE\fP, \fIDEST\fP,\fI TAG\fP,
|
||||
INTEGER \fICOMM\fP,\fI REQUEST\fP,\fI IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Bsend_init(\fIbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIdest\fP, \fItag\fP, \fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP, \fIdest\fP, \fItag\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,11 +17,21 @@ int MPI_Buffer_attach(void \fI*buf\fP, int\fI size\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_BUFFER_ATTACH(\fIBUF\fP,\fI SIZE\fP, \fIIERROR\fP)
|
||||
<type> \fIBUF\fP(\fI*\fP)
|
||||
INTEGER \fISIZE\fP,\fI IERROR \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Buffer_attach(\fIbuffer\fP, \fIsize\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIbuffer\fP
|
||||
INTEGER, INTENT(IN) :: \fIsize\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,11 +17,22 @@ int MPI_Buffer_detach(void \fI*buf\fP, int\fI *size\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_BUFFER_DETACH(\fIBUF\fP,\fI SIZE\fP, \fIIERROR\fP)
|
||||
<type> \fIBUF\fP(\fI*\fP)
|
||||
INTEGER \fISIZE\fP,\fI IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Buffer_detach(\fIbuffer_addr\fP, \fIsize\fP, \fIierror\fP)
|
||||
USE, INTRINSIC :: \fIISO_C_BINDING\fP, \fIONLY \fP
|
||||
TYPE(C_PTR), INTENT(OUT) :: \fIbuffer_addr\fP
|
||||
INTEGER, INTENT(OUT) :: \fIsize\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,19 @@ int MPI_Cancel(MPI_Request\fI *request\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CANCEL(\fIREQUEST\fP, \fIIERROR\fP)
|
||||
INTEGER \fIREQUEST\fP, \fIIERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cancel(\fIrequest\fP, \fIierror\fP)
|
||||
TYPE(MPI_Request), INTENT(IN) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,21 @@ int MPI_Cart_coords(MPI_Comm \fIcomm\fP, int\fI rank\fP, int\fI maxdims\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CART_COORDS(\fICOMM\fP,\fI RANK\fP,\fI MAXDIMS\fP,\fI COORDS\fP, \fIIERROR\fP)
|
||||
INTEGER \fICOMM\fP,\fI RANK\fP,\fI MAXDIMS\fP,\fI COORDS(\fI*\fP)\fP,\fI IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cart_coords(\fIcomm\fP, \fIrank\fP, \fImaxdims\fP, \fIcoords\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIrank\fP, \fImaxdims\fP
|
||||
INTEGER, INTENT(OUT) :: \fIcoords(maxdims)\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -19,12 +19,24 @@ int MPI_Cart_create(MPI_Comm\fI comm_old\fP, int\fI ndims\fP, const int\fI dims\
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CART_CREATE(\fICOMM_OLD\fP,\fI NDIMS\fP,\fI DIMS\fP,\fI PERIODS\fP,\fI REORDER\fP,
|
||||
\fICOMM_CART\fP,\fI IERROR\fP)
|
||||
INTEGER \fICOMM_OLD\fP,\fI NDIMS\fP,\fI DIMS\fP(*),\fI COMM_CART\fP,\fI IERROR\fP
|
||||
LOGICAL \fIPERIODS\fI(*),\fI REORDER\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cart_create(\fIcomm_old\fP, \fIndims\fP, \fIdims\fP, \fIperiods\fP, \fIreorder\fP, \fIcomm_cart\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm_old\fP
|
||||
INTEGER, INTENT(IN) :: \fIndims\fP, \fIdims(ndims)\fP
|
||||
LOGICAL, INTENT(IN) :: \fIperiods(ndims)\fP, \fIreorder\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fIcomm_cart\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,11 +18,23 @@ int MPI_Cart_get(MPI_Comm\fI comm\fP, int\fI maxdims\fP, int\fI dims\fP[], int\f
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CART_GET(\fICOMM\fP, \fIMAXDIMS\fP, \fIDIMS\fP, \fIPERIODS\fP, \fICOORDS\fP, \fIIERROR\fP)
|
||||
INTEGER \fICOMM\fP, \fIMAXDIMS\fP, \fIDIMS\fP(*), \fICOORDS\fP(*), \fIIERROR\fP
|
||||
LOGICAL \fIPERIODS\fP(*)
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cart_get(\fIcomm\fP, \fImaxdims\fP, \fIdims\fP, \fIperiods\fP, \fIcoords\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fImaxdims\fP
|
||||
INTEGER, INTENT(OUT) :: \fIdims(maxdims)\fP, \fIcoords(maxdims)\fP
|
||||
LOGICAL, INTENT(OUT) :: \fIperiods(maxdims)\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -19,11 +19,23 @@ int MPI_Cart_map(MPI_Comm \fIcomm\fP, int\fI ndims\fP, const int\fI dims\fP[],
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CART_MAP(\fICOMM, NDIMS, DIMS, PERIODS, NEWRANK, IERROR\fP)
|
||||
INTEGER \fICOMM, NDIMS, DIMS(*), NEWRANK, IERROR\fP
|
||||
LOGICAL \fIPERIODS\fP(*)
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cart_map(\fIcomm\fP, \fIndims\fP, \fIdims\fP, \fIperiods\fP, \fInewrank\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIndims\fP, \fIdims(ndims)\fP
|
||||
LOGICAL, INTENT(IN) :: \fIperiods(ndims)\fP
|
||||
INTEGER, INTENT(OUT) :: \fInewrank\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,21 @@ int MPI_Cart_rank(MPI_Comm \fIcomm\fP, int\fI coords\fP[], int\fI *rank\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CART_RANK(\fICOMM, COORDS, RANK, IERROR\fP)
|
||||
INTEGER \fICOMM, COORDS(*), RANK, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cart_rank(\fIcomm\fP, \fIcoords\fP, \fIrank\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIcoords(*)\fP
|
||||
INTEGER, INTENT(OUT) :: \fIrank\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,12 +18,23 @@ int MPI_Cart_shift(MPI_Comm \fIcomm\fP, int\fI direction\fP, int\fI disp\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CART_SHIFT(\fICOMM, DIRECTION, DISP, RANK_SOURCE,
|
||||
RANK_DEST, IERROR\fP)
|
||||
INTEGER \fICOMM, DIRECTION, DISP, RANK_SOURCE\fP
|
||||
INTEGER \fIRANK_DEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cart_shift(\fIcomm\fP, \fIdirection\fP, \fIdisp\fP, \fIrank_source\fP, \fIrank_dest\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIdirection\fP, \fIdisp\fP
|
||||
INTEGER, INTENT(OUT) :: \fIrank_source\fP, \fIrank_dest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,11 +18,22 @@ int MPI_Cart_sub(MPI_Comm \fIcomm\fP, const int\fI remain_dims\fP[], MPI_Comm\fI
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CART_SUB(\fICOMM, REMAIN_DIMS, COMM_NEW, IERROR\fP)
|
||||
INTEGER \fICOMM, COMM_NEW, IERROR\fP
|
||||
LOGICAL \fIREMAIN_DIMS\fP(*)
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cart_sub(\fIcomm\fP, \fIremain_dims\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
LOGICAL, INTENT(IN) :: \fIremain_dims(*)\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Cartdim_get(MPI_Comm\fI comm\fP, int\fI *ndims\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CARTDIM_GET(\fICOMM, NDIMS, IERROR\fP)
|
||||
INTEGER \fICOMM, NDIMS, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Cartdim_get(\fIcomm\fP, \fIndims\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(OUT) :: \fIndims\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,11 +18,20 @@ int MPI_Close_port(const char *\fIport_name\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_CLOSE_PORT(\fIPORT_NAME, IERROR\fP)
|
||||
CHARACTER*(*) \fIPORT_NAME\fP
|
||||
INTEGER \fIIERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Close_port(\fIport_name\fP, \fIierror\fP)
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIport_name\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,11 +18,24 @@ int MPI_Comm_accept(const char *\fIport_name\fP, MPI_Info \fIinfo\fP, int \fIroo
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_ACCEPT(\fIPORT_NAME, INFO, ROOT, COMM, NEWCOMM, IERROR\fP)
|
||||
CHARACTER*(*) \fIPORT_NAME\fP
|
||||
INTEGER \fIINFO, ROOT, COMM, NEWCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_accept(\fIport_name\fP, \fIinfo\fP, \fIroot\fP, \fIcomm\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIport_name\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
INTEGER, INTENT(IN) :: \fIroot\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -20,10 +20,20 @@ int MPI_Comm_call_errhandler(MPI_Comm \fIcomm\fP, int \fIerrorcode\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_CALL_ERRHANDLER(\fICOMM, ERRORCODE, IERROR\fP)
|
||||
INTEGER \fICOMM, ERRORCODE, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_call_errhandler(\fIcomm\fP, \fIerrorcode\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIerrorcode\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_compare(MPI_Comm \fIcomm1\fP, MPI_Comm\fI comm2\fP, int\fI *result\
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_COMPARE(\fICOMM1, COMM2, RESULT, IERROR\fP)
|
||||
INTEGER \fICOMM1, COMM2, RESULT, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_compare(\fIcomm1\fP, \fIcomm2\fP, \fIresult\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm1\fP, \fIcomm2\fP
|
||||
INTEGER, INTENT(OUT) :: \fIresult\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -19,11 +19,24 @@ int MPI_Comm_connect(const gchar *\fIport_name\fP, MPI_Info \fIinfo\fP, int \fIr
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_CONNECT(\fIPORT_NAME, INFO, ROOT, COMM, NEWCOMM, IERROR\fP)
|
||||
CHARACTER*(*) \fIPORT_NAME\fP
|
||||
INTEGER \fIINFO, ROOT, COMM, NEWCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_connect(\fIport_name\fP, \fIinfo\fP, \fIroot\fP, \fIcomm\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIport_name\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
INTEGER, INTENT(IN) :: \fIroot\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,21 @@ int MPI_Comm_create(MPI_Comm \fIcomm\fP, MPI_Group\fI group\fP, MPI_Comm\fI *new
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_CREATE(\fICOMM, GROUP, NEWCOMM, IERROR\fP)
|
||||
INTEGER \fICOMM, GROUP, NEWCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_create(\fIcomm\fP, \fIgroup\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Group), INTENT(IN) :: \fIgroup\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,11 +18,21 @@ int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function \fI*function\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_CREATE_ERRHANDLER(\fIFUNCTION, ERRHANDLER, IERROR\fP)
|
||||
EXTERNAL \fIFUNCTION\fP
|
||||
INTEGER \fIERRHANDLER, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_create_errhandler(\fIcomm_errhandler_fn\fP, \fIerrhandler\fP, \fIierror\fP)
|
||||
PROCEDURE(MPI_Comm_errhandler_function) :: \fIcomm_errhandler_fn\fP
|
||||
TYPE(MPI_Errhandler), INTENT(OUT) :: \fIerrhandler\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,22 @@ int MPI_Comm_create_group(MPI_Comm \fIcomm\fP, MPI_Group\fI group\fP, int\fI tag
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_CREATE_GROUP(\fICOMM, GROUP, TAG, NEWCOMM, IERROR\fP)
|
||||
INTEGER \fICOMM, GROUP, TAG, NEWCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_create_group(\fIcomm\fP, \fIgroup\fP, \fItag\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Group), INTENT(IN) :: \fIgroup\fP
|
||||
INTEGER, INTENT(IN) :: \fItag\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -20,7 +20,8 @@ int MPI_Comm_create_keyval(MPI_Comm_copy_attr_function
|
||||
.fi
|
||||
.SH Fortran Syntax (see FORTRAN 77 NOTES)
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_CREATE_KEYVAL(\fICOMM_COPY_ATTR_FN, COMM_DELETE_ATTR_FN,
|
||||
COMM_KEYVAL, EXTRA_STATE, IERROR\fP)
|
||||
|
||||
@ -28,6 +29,18 @@ MPI_COMM_CREATE_KEYVAL(\fICOMM_COPY_ATTR_FN, COMM_DELETE_ATTR_FN,
|
||||
INTEGER \fICOMM_KEYVAL, IERROR \fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fIEXTRA_STATE\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_create_keyval(\fIcomm_copy_attr_fn\fP, \fIcomm_delete_attr_fn\fP, \fIcomm_keyval\fP,
|
||||
\fIextra_state\fP, \fIierror\fP)
|
||||
PROCEDURE(MPI_Comm_copy_attr_function) :: \fIcomm_copy_attr_fn\fP
|
||||
PROCEDURE(MPI_Comm_delete_attr_function) :: \fIcomm_delete_attr_fn\fP
|
||||
INTEGER, INTENT(OUT) :: \fIcomm_keyval\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(IN) :: \fIextra_state\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_delete_attr(MPI_Comm \fIcomm\fP, int \fIcomm_keyval\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_DELETE_ATTR(\fICOMM, COMM_KEYVAL, IERROR\fP)
|
||||
INTEGER \fICOMM, COMM_KEYVAL, IERROR \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_delete_attr(\fIcomm\fP, \fIcomm_keyval\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIcomm_keyval\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,19 @@ int MPI_Comm_disconnect(MPI_Comm *\fIcomm\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_DISCONNECT(\fICOMM, IERROR\fP)
|
||||
INTEGER \fICOMM, IERROR \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_disconnect(\fIcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(INOUT) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_dup(MPI_Comm \fIcomm\fP, MPI_Comm\fI *newcomm\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_DUP(\fICOMM, NEWCOMM, IERROR\fP)
|
||||
INTEGER \fICOMM, NEWCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_dup(\fIcomm\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,21 @@ int MPI_Comm_dup_with_info(MPI_Comm \fIcomm\fP, MPI_Info \fIinfo\fP, MPI_Comm\fI
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_DUP_WITH_INFO(\fICOMM, INFO, NEWCOMM, IERROR\fP)
|
||||
INTEGER \fICOMM, INFO, NEWCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_dup_with_info(\fIcomm\fP, \fIinfo\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETER
|
||||
.ft R
|
||||
|
@ -17,10 +17,19 @@ int MPI_Comm_free(MPI_Comm *\fIcomm\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_FREE(\fICOMM, IERROR\fP)
|
||||
INTEGER \fICOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_free(\fIcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(INOUT) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,19 @@ int MPI_Comm_free_keyval(int *\fIcomm_keyval\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_FREE_KEYVAL(\fICOMM_KEYVAL, IERROR\fP)
|
||||
INTEGER \fICOMM_KEYVAL, IERROR \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_free_keyval(\fIcomm_keyval\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(INOUT) :: \fIcomm_keyval\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,12 +18,24 @@ int MPI_Comm_get_attr(MPI_Comm \fIcomm\fP, int \fIcomm_keyval\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax (see FORTRAN 77 NOTES)
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_GET_ATTR(\fICOMM, COMM_KEYVAL, ATTRIBUTE_VAL, FLAG, IERROR\fP)
|
||||
INTEGER \fICOMM, COMM_KEYVAL, IERROR \fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fIATTRIBUTE_VAL\fP
|
||||
LOGICAL \fIFLAG\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_get_attr(\fIcomm\fP, \fIcomm_keyval\fP, \fIattribute_val\fP, \fIflag\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIcomm_keyval\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(OUT) :: \fIattribute_val\fP
|
||||
LOGICAL, INTENT(OUT) :: \fIflag\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,20 @@ int MPI_Comm_get_errhandler(MPI_Comm \fIcomm\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_GET_ERRHANDLER(\fICOMM, ERRHANDLER, IERROR\fP)
|
||||
INTEGER \fICOMM, ERRHANDLER, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_get_errhandler(\fIcomm\fP, \fIerrhandler\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Errhandler), INTENT(OUT) :: \fIerrhandler\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_get_info(MPI_Comm \fIcomm\fP, MPI_Info \fI*info_used\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_GET_INFO(\fICOMM, INFO_USED, IERROR\fP)
|
||||
INTEGER \fICOMM, INFO_USED, IERROR \fP
|
||||
.
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_get_info(\fIcomm\fP, \fIinfo_used\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Info), INTENT(OUT) :: \fIinfo_used\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -17,11 +17,22 @@ int MPI_Comm_get_name(MPI_Comm \fIcomm\fP, char *\fIcomm_name\fP, int *\fIresult
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_GET_NAME(\fICOMM, COMM_NAME, RESULTLEN, IERROR\fP)
|
||||
INTEGER \fICOMM, RESULTLEN, IERROR \fP
|
||||
CHARACTER*(*) \fICOMM_NAME\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_get_name(\fIcomm\fP, \fIcomm_name\fP, \fIresultlen\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
CHARACTER(LEN=MPI_MAX_OBJECT_NAME), INTENT(OUT) :: \fIcomm_name\fP
|
||||
INTEGER, INTENT(OUT) :: \fIresultlen\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,19 @@ int MPI_Comm_get_parent(MPI_Comm *\fIparent\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_GET_PARENT(\fIPARENT, IERROR\fP)
|
||||
INTEGER \fIPARENT, IERROR \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_get_parent(\fIparent\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fIparent\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_group(MPI_Comm \fIcomm\fP, MPI_Group *\fIgroup\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_GROUP(\fICOMM, GROUP, IERROR\fP)
|
||||
INTEGER \fICOMM, GROUP, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_group(\fIcomm\fP, \fIgroup\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Group), INTENT(OUT) :: \fIgroup\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,21 @@ int MPI_Comm_idup(MPI_Comm \fIcomm\fP, MPI_Comm\fI *newcomm\fP, MPI_Request\fI *
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_IDUP(\fICOMM, NEWCOMM, REQUEST, IERROR\fP)
|
||||
INTEGER \fICOMM, NEWCOMM, REQUEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_idup(\fIcomm\fP, \fInewcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETER
|
||||
.ft R
|
||||
|
@ -19,10 +19,20 @@ int MPI_Comm_join(int \fIfd\fP, MPI_Comm *\fIintercomm\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_JOIN(\fIFD, INTERCOMM, IERROR\fP)
|
||||
INTEGER \fIFD, INTERCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_join(\fIfd\fP, \fIintercomm\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(IN) :: \fIfd\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fIintercomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_rank(MPI_Comm \fIcomm\fP, int\fI *rank\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_RANK(\fICOMM, RANK, IERROR\fP)
|
||||
INTEGER \fICOMM, RANK, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_rank(\fIcomm\fP, \fIrank\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(OUT) :: \fIrank\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_remote_group(MPI_Comm \fIcomm\fP, MPI_Group\fI *group\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_REMOTE_GROUP(\fICOMM, GROUP, IERROR\fP)
|
||||
INTEGER \fICOMM, GROUP, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_remote_group(\fIcomm\fP, \fIgroup\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Group), INTENT(OUT) :: \fIgroup\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_remote_size(MPI_Comm \fIcomm\fP, int\fI *size\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_REMOTE_SIZE(\fICOMM, SIZE, IERROR\fP)
|
||||
INTEGER \fICOMM, SIZE, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_remote_size(\fIcomm\fP, \fIsize\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(OUT) :: \fIsize\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,11 +17,22 @@ int MPI_Comm_set_attr(MPI_Comm \fIcomm\fP, int \fIcomm_keyval\fP, void *\fIattri
|
||||
.fi
|
||||
.SH Fortran Syntax (see FORTRAN 77 NOTES)
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SET_ATTR(\fICOMM, COMM_KEYVAL, ATTRIBUTE_VAL, IERROR\fP)
|
||||
INTEGER \fICOMM, COMM_KEYVAL, IERROR \fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fIATTRIBUTE_VAL\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_set_attr(\fIcomm\fP, \fIcomm_keyval\fP, \fIattribute_val\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIcomm_keyval\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(IN) :: \fIattribute_val\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,20 @@ int MPI_Comm_set_errhandler(MPI_Comm \fIcomm\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SET_ERRHANDLER(\fICOMM, ERRHANDLER, IERROR\fP)
|
||||
INTEGER \fICOMM, ERRHANDLER, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_set_errhandler(\fIcomm\fP, \fIerrhandler\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Errhandler), INTENT(IN) :: \fIerrhandler\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_set_info(MPI_Comm \fIcomm\fP, MPI_Info \fIinfo\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SET_INFO(\fICOMM, INFO, IERROR\fP)
|
||||
INTEGER \fICOMM, INFO, IERROR \fP
|
||||
.
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_set_info(\fIcomm\fP, \fIinfo\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -18,11 +18,21 @@ int MPI_Comm_set_name(MPI_Comm \fIcomm\fP, const char *\fIcomm_name\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SET_NAME(\fICOMM, COMM_NAME, IERROR\fP)
|
||||
INTEGER \fICOMM, IERROR \fP
|
||||
CHARACTER*(*) \fICOMM_NAME\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_set_name(\fIcomm\fP, \fIcomm_name\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIcomm_name\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Comm_size(MPI_Comm \fIcomm\fP, int *\fIsize\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SIZE(\fICOMM, SIZE, IERROR\fP)
|
||||
INTEGER \fICOMM, SIZE, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_size(\fIcomm\fP, \fIsize\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(OUT) :: \fIsize\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -20,7 +20,8 @@ int MPI_Comm_spawn(const char *\fIcommand\fP, char *\fIargv\fP[], int \fImaxproc
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SPAWN(\fICOMMAND, ARGV, MAXPROCS, INFO, ROOT, COMM,
|
||||
INTERCOMM, ARRAY_OF_ERRCODES, IERROR\fP)
|
||||
|
||||
@ -28,6 +29,20 @@ MPI_COMM_SPAWN(\fICOMMAND, ARGV, MAXPROCS, INFO, ROOT, COMM,
|
||||
INTEGER \fIINFO, MAXPROCS, ROOT, COMM, INTERCOMM,
|
||||
ARRAY_OF_ERRCODES(*), IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_spawn(\fIcommand\fP, \fIargv\fP, \fImaxprocs\fP, \fIinfo\fP, \fIroot\fP, \fIcomm\fP, \fIintercomm\fP,
|
||||
\fIarray_of_errcodes\fP, \fIierror\fP)
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIcommand\fP, \fIargv(*)\fP
|
||||
INTEGER, INTENT(IN) :: \fImaxprocs\fP, \fIroot\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fIintercomm\fP
|
||||
INTEGER :: \fIarray_of_errcodes(*)\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -21,7 +21,8 @@ int MPI_Comm_spawn_multiple(int \fIcount\fP, char *\fIarray_of_commands\fP[],
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SPAWN_MULTIPLE(\fICOUNT, ARRAY_OF_COMMANDS, ARRAY_OF_ARGV,
|
||||
ARRAY_OF_MAXPROCS, ARRAY_OF_INFO, ROOT, COMM, INTERCOMM,
|
||||
ARRAY_OF_ERRCODES, IERROR\fP)
|
||||
@ -29,6 +30,22 @@ MPI_COMM_SPAWN_MULTIPLE(\fICOUNT, ARRAY_OF_COMMANDS, ARRAY_OF_ARGV,
|
||||
COMM, INTERCOMM, ARRAY_OF_ERRCODES(*), IERROR\fP
|
||||
CHARACTER*(*) \fIARRAY_OF_COMMANDS\fP(*), \fIARRAY_OF_ARGV\fP(\fICOUNT\fP, *)
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_spawn_multiple(\fIcount\fP, \fIarray_of_commands\fP, \fIarray_of_argv\fP,
|
||||
\fIarray_of_maxprocs\fP, \fIarray_of_info\fP, \fIroot\fP, \fIcomm\fP, \fIintercomm,\fP
|
||||
\fIarray_of_errcodes\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP, \fIarray_of_maxprocs(*)\fP, \fIroot\fP
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIarray_of_commands(*)\fP
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIarray_of_argv(count\fP, \fI*)\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIarray_of_info(*)\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fIintercomm\fP
|
||||
INTEGER :: \fIarray_of_errcodes(*)\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,21 @@ int MPI_Comm_split(MPI_Comm \fIcomm\fP, int\fI color\fP, int\fI key\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SPLIT(\fICOMM, COLOR, KEY, NEWCOMM, IERROR\fP)
|
||||
INTEGER \fICOMM, COLOR, KEY, NEWCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_split(\fIcomm\fP, \fIcolor\fP, \fIkey\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIcolor\fP, \fIkey\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -19,10 +19,22 @@ int MPI_Comm_split_type(MPI_Comm \fIcomm\fP, int\fI split_type\fP, int\fI key\fP
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_SPLIT_TYPE(\fICOMM, SPLIT_TYPE, KEY, INFO, NEWCOMM, IERROR\fP)
|
||||
INTEGER \fICOMM, SPLIT_TYPE, KEY, INFO, NEWCOMM, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_split_type(\fIcomm\fP, \fIsplit_type\fP, \fIkey\fP, \fIinfo\fP, \fInewcomm\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIsplit_type\fP, \fIkey\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fInewcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -17,11 +17,21 @@ int MPI_Comm_test_inter(MPI_Comm \fIcomm\fP, int\fI *flag\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMM_TEST_INTER(\fICOMM, FLAG, IERROR\fP)
|
||||
INTEGER \fICOMM, IERROR\fP
|
||||
LOGICAL \fIFLAG \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Comm_test_inter(\fIcomm\fP, \fIflag\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
LOGICAL, INTENT(OUT) :: \fIflag\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -20,13 +20,28 @@ int MPI_Compare_and_swap(const void *\fIorigin_addr\fP, const void *\fIcompar_ad
|
||||
.fi
|
||||
.SH Fortran Syntax (see FORTRAN 77 NOTES)
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_COMPARE_AND_SWAP(\fIORIGIN_ADDR, COMPARE_ADDR, RESULT_ADDR, DATATYPE, TARGET_RANK,
|
||||
TARGET_DISP, WIN, IERROR\fP)
|
||||
<type> \fIORIGIN_ADDR\fP, \fICOMPARE_ADDR\fP, \fIRESULT_ADDR\fP(*)
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fITARGET_DISP\fP
|
||||
INTEGER \fIDATATYPE, TARGET_RANK, WIN, IERROR \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Compare_and_swap(\fIorigin_addr\fP, \fIcompare_addr\fP, \fIresult_addr\fP, \fIdatatype\fP,
|
||||
\fItarget_rank\fP, \fItarget_disp\fP, \fIwin\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIorigin_addr\fP, \fIcompare_addr\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIresult_addr\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
INTEGER, INTENT(IN) :: \fItarget_rank\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(IN) :: \fItarget_disp\fP
|
||||
TYPE(MPI_Win), INTENT(IN) :: \fIwin\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -17,10 +17,20 @@ int MPI_Dims_create(int \fInnodes\fP, int\fI ndims\fP, int\fI dims\fP[])
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_DIMS_CREATE(\fINNODES, NDIMS, DIMS, IERROR\fP)
|
||||
INTEGER \fINNODES, NDIMS, DIMS(*), IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Dims_create(\fInnodes\fP, \fIndims\fP, \fIdims\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(IN) :: \fInnodes\fP, \fIndims\fP
|
||||
INTEGER, INTENT(INOUT) :: \fIdims(ndims)\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -20,13 +20,28 @@ int MPI_Dist_graph_create(MPI_Comm \fIcomm_old\fP, int\fI n\fP, const int\fI sou
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_DIST_GRAPH_CREATE(\fICOMM_OLD, N, SOURCES, DEGREES, DESTINATIONS, WEIGHTS,
|
||||
INFO, REORDER, COMM_DIST_GRAPH, IERROR\fP)
|
||||
INTEGER \fICOMM_OLD, N, SOURCES(*), DEGRES(*), WEIGHTS(*), INFO\fP
|
||||
INTEGER \fICOMM_DIST_GRAPH, IERROR\fP
|
||||
LOGICAL \fIREORDER\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Dist_Graph_create(\fIcomm_old\fP, \fIn\fP, \fIsources\fP, \fIdegrees\fP, \fIdestinations\fP, \fIweights\fP,
|
||||
\fIinfo\fP, \fIreorder\fP, \fIcomm_dist_graph\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm_old\fP
|
||||
INTEGER, INTENT(IN) :: \fIn\fP, \fIsources(n)\fP, \fIdegrees(n)\fP, \fIdestinations(*)\fP
|
||||
INTEGER, INTENT(IN) :: \fIweights(*)\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
LOGICAL, INTENT(IN) :: reorder
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fIcomm_dist_graph\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -20,13 +20,29 @@ int MPI_Dist_graph_create_adjacent(MPI_Comm \fIcomm_old\fP, int\fI indegree\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_DIST_GRAPH_CREATE_ADJACENT(\fICOMM_OLD, INDEGREE, SOURCES, SOURCEWEIGHTS, OUTDEGREE,
|
||||
DESTINATIONS, DESTWEIGHTS, INFO, REORDER, COMM_DIST_GRAPH, IERROR\fP)
|
||||
INTEGER \fICOMM_OLD, INDEGREE, SOURCES(*), SOURCEWEIGHTS(*), OUTDEGREE, DESTINATIONS(*), DESTWEIGHTS(*), INFO\fP
|
||||
INTEGER \fICOMM_DIST_GRAPH, IERROR\fP
|
||||
LOGICAL \fIREORDER\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Dist_Graph_create_adjacent(\fIcomm_old\fP, \fIndegree\fP, \fIsources\fP, \fIsourceweights\fP,
|
||||
\fIoutdegree\fP, \fIdestinations\fP, \fIdestweights\fP, \fIinfo\fP, \fIreorder\fP,
|
||||
\fIcomm_dist_graph\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm_old\fP
|
||||
INTEGER, INTENT(IN) :: \fIindegree\fP, \fIsources(indegree)\fP, \fIoutdegree\fP, \fIdestinations(outdegree)\fP
|
||||
INTEGER, INTENT(IN) :: \fIsourceweights(*)\fP, \fIdestweights(*)\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
LOGICAL, INTENT(IN) :: reorder
|
||||
TYPE(MPI_Comm), INTENT(OUT) :: \fIcomm_dist_graph\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -19,12 +19,25 @@ int MPI_Dist_graph_neighbors(MPI_Comm \fIcomm\fP, int \fImaxindegree\fP, int \fI
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_DIST_GRAPH_NEIGHBORS(COMM, MAXINDEGREE, SOURCES, SOURCEWEIGHTS,
|
||||
MAXOUTDEGREE, DESTINATIONS, DESTWEIGHTS, IERROR)
|
||||
INTEGER COMM, MAXINDEGREE, SOURCES(*), SOURCEWEIGHTS(*), MAXOUTDEGREE,
|
||||
DESTINATIONS(*), DESTWEIGHTS(*), IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Dist_Graph_neighbors(\fIcomm\fP, \fImaxindegree\fP, \fIsources\fP, \fIsourceweights\fP,
|
||||
\fImaxoutdegree\fP, \fIdestinations\fP, \fIdestweights\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fImaxindegree\fP, \fImaxoutdegree\fP
|
||||
INTEGER, INTENT(OUT) :: \fIsources(maxindegree)\fP, \fIdestinations(maxoutdegree)\fP
|
||||
INTEGER :: sourceweights(*), destweights(*)
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -19,11 +19,22 @@ int MPI_Dist_graph_neighbors_count(MPI_Comm \fIcomm\fP, int\fI *indegree\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_DIST_GRAPH_NEIGHBORS_COUNT(\fICOMM, INDEGREE, OUTDEGREE, WEIGHTED, IERROR\fP)
|
||||
INTEGER \fICOMM, INDEGREE, OUTDEGREE, IERROR\fP
|
||||
LOGICAL \fIWEIGHTED\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Dist_graph_neighbors_count(\fIcomm\fP, \fIindegree\fP, \fIoutdegree\fP, \fIweighted\fP, \fIierror\fP)
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, INTENT(IN) :: \fIindegree\fP, \fIoutdegree\fP
|
||||
INTEGER, INTENT(OUT) :: \fIweighted\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -17,10 +17,19 @@ int MPI_Errhandler_free(MPI_Errhandler *\fIerrhandler\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ERRHANDLER_FREE(\fIERRHANDLER, IERROR\fP)
|
||||
INTEGER \fIERRHANDLER, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Errhandler_free(\fIerrhandler\fP, \fIierror\fP)
|
||||
TYPE(MPI_Errhandler), INTENT(INOUT) :: \fIerrhandler\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,10 +17,20 @@ int MPI_Error_class(int \fIerrorcode\fP, int\fI *errorclass\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ERROR_CLASS(\fIERRORCODE, ERRORCLASS, IERROR\fP)
|
||||
INTEGER \fIERRORCODE, ERRORCLASS, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Error_class(\fIerrorcode\fP, \fIerrorclass\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(IN) :: \fIerrorcode\fP
|
||||
INTEGER, INTENT(OUT) :: \fIerrorclass\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -17,11 +17,22 @@ int MPI_Error_string(int \fIerrorcode\fP, char\fI *string\fP, int\fI *resultlen\
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_ERROR_STRING(\fIERRORCODE, STRING, RESULTLEN, IERROR\fP)
|
||||
INTEGER \fIERRORCODE, RESULTLEN, IERROR\fP
|
||||
CHARACTER*(*) \fISTRING\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Error_string(\fIerrorcode\fP, \fIstring\fP, \fIresultlen\fP, \fIierror\fP)
|
||||
INTEGER, INTENT(IN) :: \fIerrorcode\fP
|
||||
CHARACTER(LEN=MPI_MAX_ERROR_STRING), INTENT(OUT) :: \fIstring\fP
|
||||
INTEGER, INTENT(OUT) :: \fIresultlen\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -25,7 +25,8 @@ int MPI_Iexscan(const void *\fIsendbuf\fP, void *\fIrecvbuf\fP, int \fIcount\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_EXSCAN(\fISENDBUF, RECVBUF, COUNT, DATATYPE, OP, COMM, IERROR\fP)
|
||||
<type> \fISENDBUF(*), RECVBUF(*)\fP
|
||||
INTEGER \fICOUNT, DATATYPE, OP, COMM, IERROR\fP
|
||||
@ -34,6 +35,29 @@ MPI_IEXSCAN(\fISENDBUF, RECVBUF, COUNT, DATATYPE, OP, COMM, REQUEST, IERROR\fP)
|
||||
<type> \fISENDBUF(*), RECVBUF(*)\fP
|
||||
INTEGER \fICOUNT, DATATYPE, OP, COMM, REQUEST, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Exscan(\fIsendbuf\fP, \fIrecvbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIop\fP, \fIcomm\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Op), INTENT(IN) :: \fIop\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
MPI_Iexscan(\fIsendbuf\fP, \fIrecvbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIop\fP, \fIcomm\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN), ASYNCHRONOUS :: \fIsendbuf\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIrecvbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Op), INTENT(IN) :: \fIop\fP
|
||||
TYPE(MPI_Comm), INTENT(IN) :: \fIcomm\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -20,13 +20,29 @@ int MPI_Fetch_and_op(const void *\fIorigin_addr\fP, void *\fIresult_addr\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax (see FORTRAN 77 NOTES)
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_FETCH_AND_OP(\fIORIGIN_ADDR, RESULT_ADDR, DATATYPE, TARGET_RANK,
|
||||
TARGET_DISP, OP, WIN, IERROR\fP)
|
||||
<type> \fIORIGIN_ADDR\fP, \fIRESULT_ADDR\fP(*)
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fITARGET_DISP\fP
|
||||
INTEGER \fIDATATYPE, TARGET_RANK, OP, WIN, IERROR \fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_Fetch_and_op(\fIorigin_addr\fP, \fIresult_addr\fP, \fIdatatype\fP, \fItarget_rank\fP,
|
||||
\fItarget_disp\fP, \fIop\fP, \fIwin\fP, \fIierror\fP)
|
||||
TYPE(*), DIMENSION(..), INTENT(IN) :: \fIorigin_addr\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIresult_addr\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
INTEGER, INTENT(IN) :: \fItarget_rank\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(IN) :: \fItarget_disp\fP
|
||||
TYPE(MPI_Op), INTENET(IN) :: \fIop\fP
|
||||
TYPE(MPI_Win), INTENT(IN) :: \fIwin\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -20,10 +20,20 @@ int MPI_File_call_errhandler(MPI_File \fIfh\fP, int \fIerrorcode\fP)
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_FILE_CALL_ERRHANDLER(\fIFH, ERRORCODE, IERROR\fP)
|
||||
INTEGER \fIFH, IERRORCODE, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_call_errhandler(\fIfh\fP, \fIerrorcode\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER, INTENT(IN) :: \fIerrorcode\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -21,6 +21,14 @@ C Syntax
|
||||
MPI_FILE_CLOSE(\fIFH\fP,\fI IERROR\fP)
|
||||
INTEGER FH, IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_close(\fIfh\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(INOUT) :: \fIfh\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,11 +18,21 @@ int MPI_File_create_errhandler(MPI_File_errhandler_function \fI*function\fP,
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_FILE_CREATE_ERRHANDLER(\fIFUNCTION, ERRHANDLER, IERROR\fP)
|
||||
EXTERNAL \fIFUNCTION\fP
|
||||
INTEGER \fIERRHANDLER, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_create_errhandler(\fIfile_errhandler_fn\fP, \fIerrhandler\fP, \fIierror\fP)
|
||||
PROCEDURE(MPI_File_errhandler_function) :: \fIfile_errhandler_fn\fP
|
||||
TYPE(MPI_Errhandler), INTENT(OUT) :: \fIerrhandler\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -23,6 +23,15 @@ C Syntax
|
||||
CHARACTER*(*) \fIFILENAME\fP
|
||||
INTEGER \fIINFO, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_delete(\fIfilename\fP, \fIinfo\fP, \fIierror\fP)
|
||||
CHARACTER(LEN=*), INTENT(IN) :: \fIfilename\fP
|
||||
TYPE(MPI_Info), INTENT(IN) :: \fIinfo\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -21,6 +21,15 @@ C Syntax
|
||||
MPI_FILE_GET_AMODE(\fIFH\fP,\fI AMODE\fP, \fI IERROR\fP)
|
||||
INTEGER FH, AMODE, IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_amode(\fIfh\fP, \fIamode\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER, INTENT(OUT) :: \fIamode\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -22,6 +22,15 @@ C Syntax
|
||||
INTEGER \FIFH, IERROR\FP
|
||||
LOGICAL \FIFLAG\FP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_atomicity(\fIfh\fP, \fIflag\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
LOGICAL, INTENT(OUT) :: \fIflag\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -23,6 +23,16 @@ C Syntax
|
||||
INTEGER \fIFH, IERROR\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET, DISP\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_byte_offset(\fIfh\fP, \fIoffset\fP, \fIdisp\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND), INTENT(IN) :: \fIoffset\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND), INTENT(OUT) :: \fIdisp\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -18,10 +18,20 @@ int MPI_File_get_errhandler(MPI_File \fIfile\fP, MPI_Errhandler\fI
|
||||
.fi
|
||||
.SH Fortran Syntax
|
||||
.nf
|
||||
INCLUDE 'mpif.h'
|
||||
USE MPI
|
||||
! or the older form: INCLUDE 'mpif.h'
|
||||
MPI_FILE_GET_ERRHANDLER(\fIFILE, ERRHANDLER, IERROR\fP)
|
||||
INTEGER \fIFILE, ERRHANDLER, IERROR\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_errhandler(\fIfile\fP, \fIerrhandler\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfile\fP
|
||||
TYPE(MPI_Errhandler), INTENT(OUT) :: \fIerrhandler\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
#include <mpi.h>
|
||||
|
@ -21,6 +21,15 @@ C Syntax
|
||||
MPI_FILE_GET_GROUP(\fIFH\fP,\fI GROUP\fP, \fI IERROR\fP)
|
||||
INTEGER FH, GROUP, IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_group(\fIfh\fP, \fIgroup\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
TYPE(MPI_Group), INTENT(OUT) :: \fIgroup\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -22,6 +22,15 @@ C Syntax
|
||||
MPI_FILE_GET_INFO(\fIFH\fP, \fIINFO_USED\fP, \fIIERROR\fP)
|
||||
INTEGER FH, INFO_USED, IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_info(\fIfh\fP, \fIinfo_used\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
TYPE(MPI_Info), INTENT(OUT) :: \fIinfo_used\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -22,6 +22,15 @@ C Syntax
|
||||
INTEGER \fIFH, IERROR\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_position(\fIfh\fP, \fIoffset\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND), INTENT(OUT) :: \fIoffset\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -22,6 +22,15 @@ C Syntax
|
||||
INTEGER \fIFH, IERROR\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_position_shared(\fIfh\fP, \fIoffset\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND), INTENT(OUT) :: \fIoffset\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -22,6 +22,15 @@ C Syntax
|
||||
INTEGER \fIFH, ERROR\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND) \fISIZE\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_size(\fIfh\fP, \fIsize\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND), INTENT(OUT) :: \fIsize\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -23,6 +23,16 @@ C Syntax
|
||||
INTEGER \fIFH, DATATYPE, IERROR\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND) \fIEXTENT\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_type_extent(\fIfh\fP, \fIdatatype\fP, \fIextent\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(OUT) :: \fIextent\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -26,6 +26,17 @@ C Syntax
|
||||
CHARACTER*(*) \fIDATAREP\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND) \fIDISP\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_get_view(\fIfh\fP, \fIdisp\fP, \fIetype\fP, \fIfiletype\fP, \fIdatarep\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND), INTENT(OUT) :: \fIdisp\fP
|
||||
TYPE(MPI_Datatype), INTENT(OUT) :: \fIetype\fP, \fIfiletype\fP
|
||||
CHARACTER(LEN=*), INTENT(OUT) :: \fIdatarep\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -23,6 +23,18 @@ C Syntax
|
||||
<type> BUF(*)
|
||||
INTEGER FH, COUNT, DATATYPE, REQUEST, IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_iread(\fIfh\fP, \fIbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -23,6 +23,18 @@ C Syntax
|
||||
<type> BUF(*)
|
||||
INTEGER FH, COUNT, DATATYPE, REQUEST, IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_iread_all(\fIfh\fP, \fIbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
TYPE(*), DIMENSION(..) :: \fIbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT/OUTPUT PARAMETER
|
||||
.ft R
|
||||
|
@ -25,6 +25,19 @@ C Syntax
|
||||
INTEGER \fIFH, COUNT, DATATYPE, REQUEST, IERROR\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_iread_at(\fIfh\fP, \fIoffset\fP, \fIbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND), INTENT(IN) :: \fIoffset\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
@ -25,6 +25,19 @@ C Syntax
|
||||
INTEGER \fIFH, COUNT, DATATYPE, REQUEST, IERROR\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND) \fIOFFSET\fP
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_iread_at_all(\fIfh\fP, \fIoffset\fP, \fIbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
INTEGER(KIND=MPI_OFFSET_KIND), INTENT(IN) :: offset
|
||||
TYPE(*), DIMENSION(..) :: \fIbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH INPUT PARAMETERS
|
||||
.ft R
|
||||
|
@ -23,6 +23,18 @@ C Syntax
|
||||
<type> BUF(*)
|
||||
INTEGER FH, COUNT, DATATYPE, REQUEST, IERROR
|
||||
|
||||
.fi
|
||||
.SH Fortran 2008 Syntax
|
||||
.nf
|
||||
USE mpi_f08
|
||||
MPI_File_iread_shared(\fIfh\fP, \fIbuf\fP, \fIcount\fP, \fIdatatype\fP, \fIrequest\fP, \fIierror\fP)
|
||||
TYPE(MPI_File), INTENT(IN) :: \fIfh\fP
|
||||
TYPE(*), DIMENSION(..), ASYNCHRONOUS :: \fIbuf\fP
|
||||
INTEGER, INTENT(IN) :: \fIcount\fP
|
||||
TYPE(MPI_Datatype), INTENT(IN) :: \fIdatatype\fP
|
||||
TYPE(MPI_Request), INTENT(OUT) :: \fIrequest\fP
|
||||
INTEGER, OPTIONAL, INTENT(OUT) :: \fIierror\fP
|
||||
|
||||
.fi
|
||||
.SH C++ Syntax
|
||||
.nf
|
||||
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче
Block a user