Перейти к основному содержанию

PARALLEL.RU - Информационно-аналитический центр по параллельным вычислениям

Example using MPI_BCAST

Example using MPI_BCAST


Up: Broadcast Next: Gather Previous: Broadcast


  
 

Broadcast 100 ints from process 0 to every process in the group.

MPI_Comm comm; 
    int array[100]; 
    int root=0; 
    ... 
    MPI_Bcast( array, 100, MPI_INT, root, comm); 
As in many of our example code fragments, we assume that some
of the variables (such as comm in the above) have been assigned
appropriate values.



Up: Broadcast Next: Gather Previous: Broadcast


Return to MPI Standard Index
Return to MPI home page

  • О Сервере
  • Что нового?
  • Компьютеры
  • Технологии
  • Исследования
  • Метакомпьютинг
  • Информация
  • Конференции
  • Центры
  • История
  • Россия
  • Новости
  • Наш сервис
  • ЦКП

Форма поиска

Читать Telegram