Changes between Version 6 and Version 7 of MpiKernels

Show
Ignore:
Timestamp:
02/28/12 16:03:40 (13 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MpiKernels

    v6 v7  
    1313* Any MUSCLE API routine may be **ONLY** called by the rank 0 process. If you need any parameters to be available for the all MPI processes use `MPI_Bcast` function as in provided  example: 
    1414{{{ 
    15  MPI_Bcast(deltaE, 1, MPI_DOUBLE, 0, MPI_COMM_WORLD) 
    16 }}} 
    17  
     15#!C 
     16void Ring_Broadcast_Params(double *deltaE, double *maxE) 
     17{ 
     18        assert( MPI_Bcast(deltaE, 1, MPI_DOUBLE, 0, MPI_COMM_WORLD) == MPI_SUCCESS); 
     19        assert( MPI_Bcast(maxE, 1, MPI_DOUBLE, 0, MPI_COMM_WORLD) == MPI_SUCCESS); 
     20} 
     21}}}} 
    1822=== MPI implementation === 
    1923