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/ThicknessAcrossGradientx/ThicknessAcrossGradientx.cpp

    r13073 r13590  
    2828        /*Sum all J from all cpus of the cluster:*/
    2929        #ifdef _HAVE_MPI_
    30         MPI_Reduce (&J,&J_sum,1,MPI_DOUBLE,MPI_SUM,0,MPI_COMM_WORLD );
    31         MPI_Bcast(&J_sum,1,MPI_DOUBLE,0,MPI_COMM_WORLD);
     30        MPI_Reduce (&J,&J_sum,1,MPI_DOUBLE,MPI_SUM,0,IssmComm::GetComm() );
     31        MPI_Bcast(&J_sum,1,MPI_DOUBLE,0,IssmComm::GetComm());
    3232        J=J_sum;
    3333        #endif
Note: See TracChangeset for help on using the changeset viewer.