int MPIAPI MPI_Group_free( _Inout_ MPI_Group *group ); 參數群組 群組為免費。傳回值傳回成功時 MPI_SUCCESS。 否則,傳回值是錯誤碼。在Fortran 中,傳回值會儲存在 IERROR 參數中。FortranFORTRAN 複製 MPI_GROUP_FREE(GROUP, IERROR) INTEGER GROUP, IERROR 規格...
2.Int MPI_group_free(MPI_Group *group) INOUT group释放进程组并返回MPI_Group_NULL 调用MPI_Group_free之后,任何关于此进程组的操作都视为无效 3.Int MPI_Group_size(MPI_Group group,int *size) IN Group进程组 OUT size进程组中的进程个数 如果进程组是MPI_Group_Empty,则返回值size为0 4.Int MPI_...
intMPI_Group_excl(MPI_Group old_group,intcount,int*nonmembers, MPI_Group *new_group)MPI_Group old_group : 旧进程组;intcount : nonmembers数组中元素的个数;int*nonmembers : 旧进程组中不需要放入新进程组的进程的编号; MPI_Group *new_group : 新进程组; group_free (通讯组的释放) group_compa...
MPI_Group_incl (group, n, ranks, &newgroup);// L178MPI_Group_excl (group, n, ranks, &newgroup);externintranges[][3]; MPI_Group_range_incl (group, n, ranges, &newgroup);// L181MPI_Group_range_excl (group, n, ranges, &newgroup); MPI_Group_free (&group); MPI_Comm_size (c...
MPI_Group_free(&world); MPI_Finalize();return0; } 开发者ID:adevress,项目名称:MPICH-BlueGene,代码行数:95,代码来源:scatter.c 示例2: main ▲点赞 7▼ intmain(intargc,char**argv){intrank;intworld_size;/* * Initialization */intthread_support;if(MPI_Init_thread(&argc, &argv, MPI_THREA...
此函式可讓使用者使用單一函式呼叫來擷取進程排名。 否則,必須使用MPI_Comm_group函式建立暫存群組、使用MPI_Group_rank函式取得群組中的排名,然後使用MPI_Group_free函式釋放暫存群組。 規格需求 產品 HPC Pack 2012 MS-MPI 可轉散發套件、HPC Pack 2008 R2 MS-MPI 可轉散發套件、HPC Pack 2008 MS-MPI 可轉...
MPI_Comm_remote_group MPI_Comm_remote_size MPI_Comm_size MPI_Comm_split MPI_Comm_test_inter MPI_Dims_create MPI_Errhandler_create MPI_Errhandler_free MPI_Errhandler_get MPI_Errhandler_set MPI_Error_class MPI_Error_string MPI_File_close MPI_File_delete MPI_File_get_amode...
MPI笔记 1.数据类型 MPI_Status 状态类型 MPI_Aint 地址偏移类型 MPI_Datatype 数据类型 MPI_Comm 通信域类型 MPI_Group 组类型 MPI_Op 归约操作类型 MPI_Request MPI_Errhandler MPI_Copy_function MPI_Delete_function MPI_User_function 2.MPI预定义的与C一致的数据类型 附加的数据类型:...
(world_group,"tag.parprog",MPI_INFO_NULL,MPI_ERRORS_ARE_FATAL,&world_comm);MPI_Comm_rank(world_comm,&rank);MPI_Comm_size(world_comm,&size);printf("Hello World from rank \%d of \%d",rank,size);MPI_Group_free(&world_group);MPI_Comm_free(&world_comm);MPI_Session_finalize(&session...
By MPI Editor|January 23rd, 2023|Free Downloads| Lean and Green Manufacturing (Infographic) Please submit the following information to receive your free download. Read More 6 12, 2022 By MPI Editor|December 6th, 2022|Free Downloads| Preparing for Change: Security (Infographic) Please submit...