Ignore:
Timestamp:
10/10/12 20:56:09 (12 years ago)
Author:
Eric.Larour
Message:

CHG: replaced instances of MPI_COMM_WORLD in modules with IssmComm::GetComm()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/TimeAdaptx/TimeAdaptx.cpp

    r12470 r13590  
    3333        /*Figure out minimum across the cluster: */
    3434        #ifdef _HAVE_MPI_
    35         MPI_Reduce (&min_dt,&node_min_dt,1,MPI_DOUBLE,MPI_MIN,0,MPI_COMM_WORLD );
    36         MPI_Bcast(&node_min_dt,1,MPI_DOUBLE,0,MPI_COMM_WORLD);
     35        MPI_Reduce (&min_dt,&node_min_dt,1,MPI_DOUBLE,MPI_MIN,0,IssmComm::GetComm() );
     36        MPI_Bcast(&node_min_dt,1,MPI_DOUBLE,0,IssmComm::GetComm());
    3737        min_dt=node_min_dt;
    3838        #endif
Note: See TracChangeset for help on using the changeset viewer.