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

📄 mpi-f90-interfaces.h.sh

📁 MPI stands for the Message Passing Interface. Written by the MPI Forum (a large committee comprising
💻 SH
📖 第 1 页 / 共 5 页
字号:
EOF}start MPI_Comm_size smalloutput_51 MPI_Comm_sizeend MPI_Comm_size#------------------------------------------------------------------------output_52() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(comm, color, key, newcomm, ierr)  integer, intent(in) :: comm  integer, intent(in) :: color  integer, intent(in) :: key  integer, intent(out) :: newcomm  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Comm_split smalloutput_52 MPI_Comm_splitend MPI_Comm_split#------------------------------------------------------------------------output_53() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(comm, flag, ierr)  integer, intent(inout) :: comm  logical, intent(in) :: flag  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Comm_test_inter smalloutput_53 MPI_Comm_test_interend MPI_Comm_test_inter#------------------------------------------------------------------------output_54() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(nnodes, ndims, dims, ierr)  integer, intent(in) :: nnodes  integer, intent(in) :: ndims  integer, dimension(*), intent(inout) :: dims  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Dims_create smalloutput_54 MPI_Dims_createend MPI_Dims_create#------------------------------------------------------------------------output_55() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(function, errhandler, ierr)  external :: function  integer, intent(out) :: errhandler  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Errhandler_create smalloutput_55 MPI_Errhandler_createend MPI_Errhandler_create#------------------------------------------------------------------------output_56() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(errhandler, ierr)  integer, intent(inout) :: errhandler  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Errhandler_free smalloutput_56 MPI_Errhandler_freeend MPI_Errhandler_free#------------------------------------------------------------------------output_57() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(comm, errhandler, ierr)  integer, intent(in) :: comm  integer, intent(out) :: errhandler  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Errhandler_get smalloutput_57 MPI_Errhandler_getend MPI_Errhandler_get#------------------------------------------------------------------------output_58() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(comm, errhandler, ierr)  integer, intent(in) :: comm  integer, intent(in) :: errhandler  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Errhandler_set smalloutput_58 MPI_Errhandler_setend MPI_Errhandler_set#------------------------------------------------------------------------output_59() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(errorcode, errorclass, ierr)  integer, intent(in) :: errorcode  integer, intent(out) :: errorclass  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Error_class smalloutput_59 MPI_Error_classend MPI_Error_class#------------------------------------------------------------------------output_60() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(errorcode, string, resultlen, ierr)  integer, intent(in) :: errorcode  character(len=*), intent(out) :: string  integer, intent(out) :: resultlen  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_Error_string smalloutput_60 MPI_Error_stringend MPI_Error_string#------------------------------------------------------------------------output_61() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    rank=$2    type=$4    proc="$1$2D$3"    cat <<EOFsubroutine ${proc}(sendbuf, recvbuf, count, datatype, op, &        comm, ierr)  ${type}, intent(in) :: sendbuf  ${type}, intent(out) :: recvbuf  integer, intent(in) :: count  integer, intent(in) :: datatype  integer, intent(in) :: op  integer, intent(in) :: comm  integer, intent(out) :: ierrend subroutine ${proc}EOF}start MPI_Exscan largefor 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_61 MPI_Exscan ${rank} CH "character${dim}"  output_61 MPI_Exscan ${rank} L "logical${dim}"  for kind in $ikinds  do    output_61 MPI_Exscan ${rank} I${kind} "integer*${kind}${dim}"  done  for kind in $rkinds  do    output_61 MPI_Exscan ${rank} R${kind} "real*${kind}${dim}"  done  for kind in $ckinds  do    output_61 MPI_Exscan ${rank} C${kind} "complex*${kind}${dim}"  donedoneend MPI_Exscan#------------------------------------------------------------------------output_62() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, errorcode, ierr)  integer, intent(in) :: fh  integer, intent(in) :: errorcode  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_call_errhandler smalloutput_62 MPI_File_call_errhandlerend MPI_File_call_errhandler#------------------------------------------------------------------------output_63() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, ierr)  integer, intent(inout) :: fh  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_close smalloutput_63 MPI_File_closeend MPI_File_close#------------------------------------------------------------------------output_64() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(function, errhandler, ierr)  external :: function  integer, intent(out) :: errhandler  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_create_errhandler smalloutput_64 MPI_File_create_errhandlerend MPI_File_create_errhandler#------------------------------------------------------------------------output_65() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(filename, info, ierr)  character(len=*), intent(in) :: filename  integer, intent(in) :: info  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_delete smalloutput_65 MPI_File_deleteend MPI_File_delete#------------------------------------------------------------------------output_66() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, amode, ierr)  integer, intent(in) :: fh  integer, intent(out) :: amode  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_amode smalloutput_66 MPI_File_get_amodeend MPI_File_get_amode#------------------------------------------------------------------------output_67() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, flag, ierr)  integer, intent(in) :: fh  logical, intent(out) :: flag  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_atomicity smalloutput_67 MPI_File_get_atomicityend MPI_File_get_atomicity#------------------------------------------------------------------------output_68() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, offset, disp, ierr)  include 'mpif-config.h'  integer, intent(in) :: fh  integer(kind=MPI_OFFSET_KIND), intent(in) :: offset  integer(kind=MPI_OFFSET_KIND), intent(out) :: disp  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_byte_offset smalloutput_68 MPI_File_get_byte_offsetend MPI_File_get_byte_offset#------------------------------------------------------------------------output_69() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(file, errhandler, ierr)  integer, intent(in) :: file  integer, intent(out) :: errhandler  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_errhandler smalloutput_69 MPI_File_get_errhandlerend MPI_File_get_errhandler#------------------------------------------------------------------------output_70() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, group, ierr)  integer, intent(in) :: fh  integer, intent(out) :: group  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_group smalloutput_70 MPI_File_get_groupend MPI_File_get_group#------------------------------------------------------------------------output_71() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, info_used, ierr)  integer, intent(in) :: fh  integer, intent(out) :: info_used  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_info smalloutput_71 MPI_File_get_infoend MPI_File_get_info#------------------------------------------------------------------------output_72() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, offset, ierr)  include 'mpif-config.h'  integer, intent(in) :: fh  integer(kind=MPI_OFFSET_KIND), intent(out) :: offset  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_position smalloutput_72 MPI_File_get_positionend MPI_File_get_position#------------------------------------------------------------------------output_73() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, offset, ierr)  include 'mpif-config.h'  integer, intent(in) :: fh  integer(kind=MPI_OFFSET_KIND), intent(out) :: offset  integer, intent(out) :: ierrend subroutine ${procedure}EOF}start MPI_File_get_position_shared smalloutput_73 MPI_File_get_position_sharedend MPI_File_get_position_shared#------------------------------------------------------------------------output_74() {    if test "$output" = "0"; then        return 0    fi    procedure=$1    cat <<EOFsubroutine ${procedure}(fh, size, ierr)  include 'mpif-config.h'  integer, intent(in) :: fh  integer(kind=MPI_OFFSET_KIND), intent(out) :: size  integer, intent(out) :: ierrend subroutine ${procedure}EOF}

⌨️ 快捷键说明

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