Поиск по:www.parallel.ru -
Поискать по всем серверам
На этой странице приведены все страницы сервера www.parallel.ru ,которые мы индексируем. Показаны документы 341 - 360 из 1317.
Упорядочить по:
URL
|
дате изменения
341. Example #4 | PARALLEL.RU - Информационно-аналитический центр по параллельным
... Example #4 . ... main(int argc, char **argv) { int me; MPI_Request request[2]; MPI_Status status[2]; MPI_Group MPI_GROUP_WORLD, subgroup; int ranks[] = {2, 4, 6, 8}; MPI_Comm the_comm; .. ... MPI_Comm_create(MPI_COMM_WORLD, subgroup, &the_comm); . ... MPI_UNDEFINED) { MPI_Irecv(buff1, count, MPI_DOUBLE, MPI_ANY_SOURCE, TAG_ARBITRARY, the_comm, request); MPI_Isend(buff2, count, MPI_DOUBLE, (me+1)%4, TAG_ARBITRARY, the_comm, request+1); } . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node108.html -- 17.2 Кб -- 09.04.2016
Похожие документы
Похожие документы
342. (Approximate) Current Practice #3 | PARALLEL.RU - Информационно-аналитический
... Approximate) Current Practice #3 . Up: Motivating Examples Next: Example #4 Previous: Current Practice #2 . main(int argc, char **argv) { int me, count, count2; void *send_buf, *recv_buf, *send_buf2, *recv_buf2; MPI_Group MPI_GROUP_WORLD, grprem; MPI_Comm commslave; static int ranks[] = {0}; .. MPI_Init(&argc, &argv); MPI_Comm_group(MPI_COMM_WORLD, &MPI_GROUP_WORLD); MPI_Comm_rank(MPI_COMM_WORLD, &me); /* local */ . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node107.html -- 17.6 Кб -- 09.04.2016
Похожие документы
Похожие документы
343. Library Example #1 | PARALLEL.RU - Информационно-аналитический центр по
... Library Example #1 . Up: Motivating Examples Next: Library Example #2 Previous: Example #4 . ... void init_user_lib(MPI_Comm comm, user_lib_t **handle) { user_lib_t *save; . ... void user_start_op(user_lib_t *handle, void *data) { MPI_Irecv( ..., handle->comm, &(handle -> irecv_handle) ); MPI_Isend( ..., handle->comm, &(handle -> isend_handle) ); } User communication clean-up code: . ... void uninit_user_lib(user_lib_t *handle) { MPI_Comm_free(&(handle -> comm)); free(handle); } . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node109.html -- 17.5 Кб -- 09.04.2016
Похожие документы
Похожие документы
344. Current Practice #2 | PARALLEL.RU - Информационно-аналитический центр по
... Current Practice #2 . Up: Motivating Examples Next: (Approximate) Current Practice #3 Previous: Current Practice #1 . main(int argc, char **argv) { int me, count; void *data; .. MPI_Init(&argc, &argv); MPI_Comm_rank(MPI_COMM_WORLD, &me); . if(me == 0) { /* get input, create buffer ``data'' */ .. MPI_Bcast(data, count, MPI_BYTE, 0, MPI_COMM_WORLD); .. ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node106.html -- 16.3 Кб -- 09.04.2016
Похожие документы
Похожие документы
345. Fortran Bindings for Process Topologies | PARALLEL.RU -
... Fortran Bindings for Process Topologies . Up: Language Binding Next: Fortran Bindings for Environmental Inquiry Previous: Fortran Bindings for Groups, Contexts, etc. MPI_CART_CREATE(COMM_OLD, NDIMS, DIMS, PERIODS, REORDER, COMM_CART, IERROR) . INTEGER COMM_OLD, NDIMS, DIMS(*), COMM_CART, IERROR . ... MPI_DIMS_CREATE(NNODES, NDIMS, DIMS, IERROR) . INTEGER NNODES, NDIMS, DIMS(*), IERROR . MPI_GRAPH_CREATE(COMM_OLD, NNODES, INDEX, EDGES, REORDER, COMM_GRAPH, IERROR) . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node179.html -- 18.1 Кб -- 09.04.2016
Похожие документы
Похожие документы
346. C Bindings for Groups, Contexts, and Communicators | PARALLEL.RU -
... C Bindings for Groups, Contexts, and Communicators . ... int MPI_Group_size(MPI_Group group, int *size) . int MPI_Group_rank(MPI_Group group, int *rank) . int MPI_Group_translate_ranks (MPI_Group group1, int n, int *ranks1, MPI_Group group2, int *ranks2) . int MPI_Group_compare(MPI_Group group1,MPI_Group group2, int *result) . int MPI_Comm_group(MPI_Comm comm, MPI_Group *group) . ... int MPI_Group_incl(MPI_Group group, int n, int *ranks, MPI_Group *newgroup) . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node172.html -- 18.6 Кб -- 09.04.2016
Похожие документы
Похожие документы
347. Library Example #2 | PARALLEL.RU - Информационно-аналитический центр по
... Library Example #2 . Up: Motivating Examples Next: Inter-Communication Previous: Library Example #1 . ... main(int argc, char **argv) { int ma, mb; MPI_Group MPI_GROUP_WORLD, group_a, group_b; MPI_Comm comm_a, comm_b; . static int list_a[] = {0, 1}; #if defined(EXAMPLE_2B) | defined(EXAMPLE_2C) static int list_b[] = {0, 2 ,3}; #else/* EXAMPLE_2A */ static int list_b[] = {0, 2}; #endif int size_list_a = sizeof(list_a)/sizeof(int); int size_list_b = sizeof(list_b)/sizeof(int); .. ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node110.html -- 19.7 Кб -- 09.04.2016
Похожие документы
Похожие документы
348. Current Practice #1 | PARALLEL.RU - Информационно-аналитический центр по
... Current Practice #1 . Up: Motivating Examples Next: Current Practice #2 Previous: Motivating Examples . Example #1a: . main(int argc, char **argv) { int me, size; .. MPI_Init ( &argc, &argv ); MPI_Comm_rank (MPI_COMM_WORLD, &me); MPI_Comm_size (MPI_COMM_WORLD, &size); . ... Example #1b (supposing that size is even): . ... MPI_Comm_rank(MPI_COMM_WORLD, &me); /* local */ MPI_Comm_size(MPI_COMM_WORLD, &size); /* local */ . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node105.html -- 17.2 Кб -- 09.04.2016
Похожие документы
Похожие документы
349. Basic Statements | PARALLEL.RU - Информационно-аналитический центр по
... Basic Statements . Up: Formalizing the Loosely Synchronous Model Next: Models of Execution Previous: Formalizing the Loosely Synchronous Model . When a caller passes a communicator (that contains a context and group) to a callee, that communicator must be free of side effects throughout execution of the subprogram: there should be no active operations on that communicator that might involve the process. ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node122.html -- 16.9 Кб -- 09.04.2016
Похожие документы
Похожие документы
350. Formalizing the Loosely Synchronous Model | PARALLEL.RU -
... Formalizing the Loosely Synchronous Model . Up: Groups, Contexts, and Communicators Next: Basic Statements Previous: Attributes Example . In this section, we make further statements about the loosely synchronous model, with particular attention to intra-communication. ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node121.html -- 16.1 Кб -- 09.04.2016
Похожие документы
Похожие документы
351. Fortran Bindings for Environmental Inquiry | PARALLEL.RU -
... Fortran Bindings for Environmental Inquiry . Up: Language Binding Next: Fortran Bindings for Profiling Previous: Fortran Bindings for Process Topologies . MPI_GET_PROCESSOR_NAME(NAME, RESULTLEN, IERROR) . ... INTEGER RESULTLEN, IERROR . MPI_ERRHANDLER_CREATE(FUNCTION, HANDLER, IERROR) . ... INTEGER ERRHANDLER, IERROR . MPI_ERRHANDLER_SET(COMM, ERRHANDLER, IERROR) . INTEGER COMM, ERRHANDLER, IERROR . MPI_ERRHANDLER_GET(COMM, ERRHANDLER, IERROR) . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node180.html -- 17.1 Кб -- 09.04.2016
Похожие документы
Похожие документы
352. C Bindings for Collective Communication | PARALLEL.RU -
... C Bindings for Collective Communication . Up: Language Binding Next: C Bindings for Groups, Contexts, and Communicators Previous: C bindings for Point-to-Point Communication . int MPI_Barrier(MPI_Comm comm ) . int MPI_Bcast(void* buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm ) . int MPI_Gather(void* sendbuf, int sendcount, MPI_Datatype sendtype, void* recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node171.html -- 18.2 Кб -- 09.04.2016
Похожие документы
Похожие документы
353. Topology Constructors | PARALLEL.RU - Информационно-аналитический центр по
. Перейти к основному содержанию . Главная . ? Документы . ? Topology Constructors . Up: Process Topologies Next: Cartesian Constructor Previous: Overview of the Functions . Up: Process Topologies Next: Cartesian Constructor Previous: Overview of the Functions . Return to MPI Standard Index . Return to MPI home page . О Сервере . Что нового? . Компьютеры . Технологии . Исследования . Метакомпьютинг . Информация . Конференции . Центры . История . Россия . Новости . Общение . Наш сервис . Поиск .
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node132.html -- 15.9 Кб -- 09.04.2016
Похожие документы
Похожие документы
354. Attributes Example | PARALLEL.RU - Информационно-аналитический центр по
... Attributes Example . ... Efficient_Collective_Op (comm, .. MPI_Comm comm; { gop_stuff_type *gop_stuff; MPI_Group group; int foundflag; . ... Third, store gop_stuff as the attribute value */ MPI_Attr_put ( comm, gop_key, gop_stuff); } /* Then, in any case, use contents of *gop_stuff to do the global op .. ... gop_stuff_destructor (comm, keyval, gop_stuff, extra) MPI_Comm comm; int keyval; gop_stuff_type *gop_stuff; void *extra; { if (keyval != gop_key) { /* abort -- programming error */ } . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node120.html -- 18.9 Кб -- 09.04.2016
Похожие документы
Похожие документы
355. Inter-Communication Examples | PARALLEL.RU - Информационно-аналитический центр
... Inter-Communication Examples . ... Therefore, group 0 requires one inter-communicator, group 1 requires two inter-communicators, and group 2 requires 1 inter-communicator. main(int argc, char **argv) { MPI_Comm myComm; /* intra-communicator of local sub-group */ MPI_Comm myFirstComm; /* inter-communicator */ MPI_Comm mySecondComm; /* second inter-communicator (group 1 only) */ int membershipKey; int rank; . ... Build inter-communicators. ... int buffer[10], rank; int local_leader = 0; . ... Центры ....
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node114.html -- 30.9 Кб -- 09.04.2016
Похожие документы
Похожие документы
356. Inter-Communication | PARALLEL.RU - Информационно-аналитический центр по
... Inter-Communication . ... All point-to-point communication described thus far has involved communication between processes that are members of the same group. ... An inter-communication is a point-to-point communication between processes in different groups. The group containing a process that initiates an inter-communication operation is called the ``local group,'' that is, the sender in a send and the receiver in a receive. ... An inter-communicator cannot be used for collective communication. ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node111.html -- 22.3 Кб -- 09.04.2016
Похожие документы
Похожие документы
357. Motivating Examples | PARALLEL.RU - Информационно-аналитический центр по
... Motivating Examples . Up: Groups, Contexts, and Communicators Next: Current Practice #1 Previous: Communicator Destructors . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node104.html -- 15.9 Кб -- 09.04.2016
Похожие документы
Похожие документы
358. Caching | PARALLEL.RU - Информационно-аналитический центр по параллельным
... Caching . ... MPI provides a ``caching'' facility that allows an application to attach arbitrary pieces of information, called attributes , to communicators. ... pass information between calls by associating it with an MPI intra- or inter-communicator, . quickly retrieve that information, and . be guaranteed that out-of-date information is never retrieved, even if the communicator is freed and its handle subsequently reused by MPI. ... Return to MPI Standard Index . ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node118.html -- 17.2 Кб -- 09.04.2016
Похожие документы
Похожие документы
359. An Application Example | PARALLEL.RU - Информационно-аналитический центр по
... An Application Example . Up: Process Topologies Next: MPI Environmental Management Previous: Low-level topology functions . The example in figure An Application Example shows how the grid definition and inquiry functions can be used in an application program. ... In each relaxation step each process computes new values for the solution grid function at all points owned by the process. Then the values at inter-process boundaries have to be exchanged with neighboring processes. ... Центры . ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node140.html -- 17.1 Кб -- 09.04.2016
Похожие документы
Похожие документы
360. Models of Execution | PARALLEL.RU - Информационно-аналитический центр по
... Models of Execution . Up: Formalizing the Loosely Synchronous Model Next: Static communicator allocation Previous: Basic Statements . In the loosely synchronous model, transfer of control to a parallel procedure is effected by having each executing process invoke the procedure. ... We say that a parallel procedure is active in a process if the process belongs to a group that may collectively execute the procedure, and some member of that group is currently executing the procedure code. ...
[
Сохраненная копия
]
Ссылки http://www.parallel.ru/docs/mpi1.1/node123.html -- 23.0 Кб -- 09.04.2016
Похожие документы
Похожие документы