Ignore:
Timestamp:
05/31/17 10:51:06 (7 years ago)
Author:
yushan
Message:

bug fixed in mpi_comm_split. Key needs to be specifify.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan_merged/src/node/field.cpp

    r1134 r1149  
    2626namespace xios{ 
    2727 
    28    /// ////////////////////// Définitions ////////////////////// /// 
     28   /// ////////////////////// Dfinitions ////////////////////// /// 
    2929 
    3030   CField::CField(void) 
     
    691691     CContext* context = CContext::getCurrent(); 
    692692     solveOnlyReferenceEnabledField(doSending2Server); 
     693     int myRank; 
     694     MPI_Comm_rank(context->client->intraComm, &myRank); 
    693695 
    694696     if (!areAllReferenceSolved) 
     
    711713     if (context->hasClient) 
    712714     { 
     715       MPI_Barrier(context->client->intraComm); 
     716       printf("Proc %d enters function\n", myRank); 
    713717       solveTransformedGrid(); 
     718       MPI_Barrier(context->client->intraComm); 
     719       printf("Proc %d exits function\n", myRank); 
    714720     } 
    715721 
Note: See TracChangeset for help on using the changeset viewer.