Ignore:
Timestamp:
10/10/12 23:06:05 (12 years ago)
Author:
Eric.Larour
Message:

CHG: more changes to switch from MPI_COMM_WORLD to IssmComm::GetComm()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/Container/Constraints.cpp ΒΆ

    r12365 r13604  
    4949        /*figure out total number of constraints combining all the cpus (no clones here)*/
    5050        #ifdef _HAVE_MPI_
    51                 MPI_Reduce(&localconstraints,&numberofconstraints,1,MPI_INT,MPI_SUM,0,MPI_COMM_WORLD );
    52                 MPI_Bcast(&numberofconstraints,1,MPI_INT,0,MPI_COMM_WORLD);
     51                MPI_Reduce(&localconstraints,&numberofconstraints,1,MPI_INT,MPI_SUM,0,IssmComm::GetComm() );
     52                MPI_Bcast(&numberofconstraints,1,MPI_INT,0,IssmComm::GetComm());
    5353        #else
    5454                numberofconstraints=localconstraints;
Note: See TracChangeset for help on using the changeset viewer.