/[escript]/trunk/escript/src/Data.cpp
ViewVC logotype

Diff of /trunk/escript/src/Data.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2746 by lgao, Tue Nov 17 05:13:51 2009 UTC revision 2747 by lgao, Tue Nov 17 05:19:59 2009 UTC
# Line 2073  Data::calc_minGlobalDataPoint(int& ProcN Line 2073  Data::calc_minGlobalDataPoint(int& ProcN
2073    int lowProc = 0;    int lowProc = 0;
2074    double *globalMins = new double[get_MPISize()*2+1];    double *globalMins = new double[get_MPISize()*2+1];
2075    int error;    int error;
 printf("before gather %d\n", numSamples);  
2076    error = MPI_Gather (next, 2, MPI_DOUBLE, globalMins, 2, MPI_DOUBLE, 0, get_MPIComm() );    error = MPI_Gather (next, 2, MPI_DOUBLE, globalMins, 2, MPI_DOUBLE, 0, get_MPIComm() );
 printf("after gather\n");  
2077    
2078    if( get_MPIRank()==0 ){    if( get_MPIRank()==0 ){
2079      for (lowProc=0; lowProc<get_MPISize(); lowProc++)      for (lowProc=0; lowProc<get_MPISize(); lowProc++)

Legend:
Removed from v.2746  
changed lines
  Added in v.2747

  ViewVC Help
Powered by ViewVC 1.1.26