⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpi-f90-interfaces.h.sh

📁 MPI stands for the Message Passing Interface. Written by the MPI Forum (a large committee comprising
💻 SH
📖 第 1 页 / 共 5 页
字号:
start MPI_File_get_size smalloutput_74 MPI_File_get_sizeend MPI_File_get_size#------------------------------------------------------------------------output_75() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, datatype, extent, ierr)  include 'mpif-config.h'  integer, intent(in) :: fh  integer, intent(in) :: datatype  integer(kind=MPI_ADDRESS_KIND), intent(out) :: extent  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_type_extent smalloutput_75 MPI_File_get_type_extentend MPI_File_get_type_extent#------------------------------------------------------------------------output_76() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, disp, etype, filetype, datarep&        , ierr)  include 'mpif-config.h'  integer, intent(in) :: fh  integer(kind=MPI_OFFSET_KIND), intent(out) :: disp  integer, intent(out) :: etype  integer, intent(out) :: filetype  character(len=*), intent(out) :: datarep  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_view smalloutput_76 MPI_File_get_viewend MPI_File_get_view#------------------------------------------------------------------------output_77() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(fh, buf, count, datatype, request&        , ierr)  integer, intent(inout) :: fh  ${type}, intent(out) :: buf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, intent(out) :: request  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_File_iread mediumfor rank in $allranksdo  case "$rank" in  0)  dim=''  ;  esac  case "$rank" in  1)  dim=', dimension(*)'  ;  esac  case "$rank" in  2)  dim=', dimension(1,*)'  ;  esac  case "$rank" in  3)  dim=', dimension(1,1,*)'  ;  esac  case "$rank" in  4)  dim=', dimension(1,1,1,*)'  ;  esac  case "$rank" in  5)  dim=', dimension(1,1,1,1,*)'  ;  esac  case "$rank" in  6)  dim=', dimension(1,1,1,1,1,*)'  ;  esac  case "$rank" in  7)  dim=', dimension(1,1,1,1,1,1,*)'  ;  esac  output_77 MPI_File_iread ${rank} CH "character${dim}"  output_77 MPI_File_iread ${rank} L "logical${dim}"  for kind in $ikinds  do    output_77 MPI_File_iread ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_77 MPI_File_iread ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_77 MPI_File_iread ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_File_iread#------------------------------------------------------------------------output_78() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(fh, offset, buf, count, datatype, &        request, ierr)  include 'mpif-config.h'  integer, intent(in) :: fh  integer(kind=MPI_OFFSET_KIND), intent(in) :: offset  ${type}, intent(out) :: buf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, intent(out) :: request  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_File_iread_at mediumfor rank in $allranksdo  case "$rank" in  0)  dim=''  ;  esac  case "$rank" in  1)  dim=', dimension(*)'  ;  esac  case "$rank" in  2)  dim=', dimension(1,*)'  ;  esac  case "$rank" in  3)  dim=', dimension(1,1,*)'  ;  esac  case "$rank" in  4)  dim=', dimension(1,1,1,*)'  ;  esac  case "$rank" in  5)  dim=', dimension(1,1,1,1,*)'  ;  esac  case "$rank" in  6)  dim=', dimension(1,1,1,1,1,*)'  ;  esac  case "$rank" in  7)  dim=', dimension(1,1,1,1,1,1,*)'  ;  esac  output_78 MPI_File_iread_at ${rank} CH "character${dim}"  output_78 MPI_File_iread_at ${rank} L "logical${dim}"  for kind in $ikinds  do    output_78 MPI_File_iread_at ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_78 MPI_File_iread_at ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_78 MPI_File_iread_at ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_File_iread_at#------------------------------------------------------------------------output_79() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(fh, buf, count, datatype, request&        , ierr)  integer, intent(inout) :: fh  ${type}, intent(out) :: buf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, intent(out) :: request  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_File_iread_shared mediumfor rank in $allranksdo  case "$rank" in  0)  dim=''  ;  esac  case "$rank" in  1)  dim=', dimension(*)'  ;  esac  case "$rank" in  2)  dim=', dimension(1,*)'  ;  esac  case "$rank" in  3)  dim=', dimension(1,1,*)'  ;  esac  case "$rank" in  4)  dim=', dimension(1,1,1,*)'  ;  esac  case "$rank" in  5)  dim=', dimension(1,1,1,1,*)'  ;  esac  case "$rank" in  6)  dim=', dimension(1,1,1,1,1,*)'  ;  esac  case "$rank" in  7)  dim=', dimension(1,1,1,1,1,1,*)'  ;  esac  output_79 MPI_File_iread_shared ${rank} CH "character${dim}"  output_79 MPI_File_iread_shared ${rank} L "logical${dim}"  for kind in $ikinds  do    output_79 MPI_File_iread_shared ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_79 MPI_File_iread_shared ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_79 MPI_File_iread_shared ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_File_iread_shared#------------------------------------------------------------------------output_80() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(fh, buf, count, datatype, request&        , ierr)  integer, intent(inout) :: fh  ${type}, intent(in) :: buf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, intent(out) :: request  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_File_iwrite mediumfor rank in $allranksdo  case "$rank" in  0)  dim=''  ;  esac  case "$rank" in  1)  dim=', dimension(*)'  ;  esac  case "$rank" in  2)  dim=', dimension(1,*)'  ;  esac  case "$rank" in  3)  dim=', dimension(1,1,*)'  ;  esac  case "$rank" in  4)  dim=', dimension(1,1,1,*)'  ;  esac  case "$rank" in  5)  dim=', dimension(1,1,1,1,*)'  ;  esac  case "$rank" in  6)  dim=', dimension(1,1,1,1,1,*)'  ;  esac  case "$rank" in  7)  dim=', dimension(1,1,1,1,1,1,*)'  ;  esac  output_80 MPI_File_iwrite ${rank} CH "character${dim}"  output_80 MPI_File_iwrite ${rank} L "logical${dim}"  for kind in $ikinds  do    output_80 MPI_File_iwrite ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_80 MPI_File_iwrite ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_80 MPI_File_iwrite ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_File_iwrite#------------------------------------------------------------------------output_81() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(fh, offset, buf, count, datatype, &        request, ierr)  include 'mpif-config.h'  integer, intent(inout) :: fh  integer(kind=MPI_OFFSET_KIND), intent(in) :: offset  ${type}, intent(in) :: buf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, intent(out) :: request  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_File_iwrite_at mediumfor rank in $allranksdo  case "$rank" in  0)  dim=''  ;  esac  case "$rank" in  1)  dim=', dimension(*)'  ;  esac  case "$rank" in  2)  dim=', dimension(1,*)'  ;  esac  case "$rank" in  3)  dim=', dimension(1,1,*)'  ;  esac  case "$rank" in  4)  dim=', dimension(1,1,1,*)'  ;  esac  case "$rank" in  5)  dim=', dimension(1,1,1,1,*)'  ;  esac  case "$rank" in  6)  dim=', dimension(1,1,1,1,1,*)'  ;  esac  case "$rank" in  7)  dim=', dimension(1,1,1,1,1,1,*)'  ;  esac  output_81 MPI_File_iwrite_at ${rank} CH "character${dim}"  output_81 MPI_File_iwrite_at ${rank} L "logical${dim}"  for kind in $ikinds  do    output_81 MPI_File_iwrite_at ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_81 MPI_File_iwrite_at ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_81 MPI_File_iwrite_at ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_File_iwrite_at#------------------------------------------------------------------------output_82() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(fh, buf, count, datatype, request&        , ierr)  integer, intent(inout) :: fh  ${type}, intent(in) :: buf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, intent(out) :: request  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_File_iwrite_shared mediumfor rank in $allranksdo  case "$rank" in  0)  dim=''  ;  esac  case "$rank" in  1)  dim=', dimension(*)'  ;  esac  case "$rank" in  2)  dim=', dimension(1,*)'  ;  esac  case "$rank" in  3)  dim=', dimension(1,1,*)'  ;  esac  case "$rank" in  4)  dim=', dimension(1,1,1,*)'  ;  esac  case "$rank" in  5)  dim=', dimension(1,1,1,1,*)'  ;  esac  case "$rank" in  6)  dim=', dimension(1,1,1,1,1,*)'  ;  esac  case "$rank" in  7)  dim=', dimension(1,1,1,1,1,1,*)'  ;  esac  output_82 MPI_File_iwrite_shared ${rank} CH "character${dim}"  output_82 MPI_File_iwrite_shared ${rank} L "logical${dim}"  for kind in $ikinds  do    output_82 MPI_File_iwrite_shared ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_82 MPI_File_iwrite_shared ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_82 MPI_File_iwrite_shared ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_File_iwrite_shared#------------------------------------------------------------------------output_83() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(comm, filename, amode, info, fh&        , ierr)  integer, intent(in) :: comm  character(len=*), intent(in) :: filename  integer, intent(in) :: amode  integer, intent(in) :: info  integer, intent(out) :: fh  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_open smalloutput_83 MPI_File_openend MPI_File_open#------------------------------------------------------------------------output_84() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, size, ierr)  include 'mpif-config.h'  integer, intent(inout) :: fh  integer(kind=MPI_OFFSET_KIND), intent(in) :: size  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_preallocate smalloutput_84 MPI_File_preallocateend MPI_File_preallocate#------------------------------------------------------------------------output_85() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(fh, buf, count, datatype, status&        , ierr)  include 'mpif-config.h'  integer, intent(inout) :: fh  ${type}, intent(out) :: buf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, dimension(MPI_STATUS_SIZE), intent(out) :: status  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_File_read mediumfor rank in $allranksdo  case "$rank" in  0)  dim=''  ;  esac  case "$rank" in  1)  dim=', dimension(*)'  ;  esac  case "$rank" in  2)  dim=', dimension(1,*)'  ;  esac  case "$rank" in  3)  dim=', dimension(1,1,*)'  ;  esac  case "$rank" in  4)  dim=', dimension(1,1,1,*)'  ;  esac  case "$rank" in  5)  dim=', dimension(1,1,1,1,*)'  ;  esac  case "$rank" in  6)  dim=', dimension(1,1,1,1,1,*)'  ;  esac  case "$rank" in  7)  dim=', dimension(1,1,1,1,1,1,*)'  ;  esac  output_85 MPI_File_read ${rank} CH "character${dim}"  output_85 MPI_File_read ${rank} L "logical${dim}"  for kind in $ikinds  do    output_85 MPI_File_read ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_85 MPI_File_read ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_85 MPI_File_read ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_File_read#------------------------------------------------------------------------output_86() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(fh, buf, count, datatype, status&        , ierr)  include 'mpif-config.h'  integer, intent(inout) :: fh  ${type}, intent(out) :: buf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, dimension(MPI_STATUS_SIZE), intent(out) :: status  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_File_read_all mediumfor rank in $allranksdo  case "$rank" in  0)  dim=''  ;  esac  case "$rank" in  1)  dim=', dimension(*)'  ;  esac  case "$rank" in  2)  dim=', dimension(1,*)'  ;  esac  case "$rank" in  3)  dim=', dimension(1,1,*)'  ;  esac  case "$rank" in  4)  dim=', dimension(1,1,1,*)'  ;  esac  case "$rank" in  5)  dim=', dimension(1,1,1,1,*)'  ;  esac  case "$rank" in  6)  dim=', dimension(1,1,1,1,1,*)'  ;  esac  case "$rank" in  7)  dim=', dimension(1,1,1,1,1,1,*)'  ;  esac  output_86 MPI_File_read_all ${rank} CH "character${dim}"  output_86 MPI_File_read_all ${rank} L "logical${dim}"  for kind in $ikinds  do    output_86 MPI_File_read_all ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_86 MPI_File_read_all ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_86 MPI_File_read_all ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_File_read_all#------------------------------------------------------------------------output_87() {    if test "$output" = "0"; then        return 0    fi  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -