Changeset 2078


Ignore:
Timestamp:
03/10/21 13:22:12 (3 years ago)
Author:
ymipsl
Message:

bug fix when checking event synchronisation
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/context_client.cpp

    r1639 r2078  
    9898      if (CXios::checkEventSync) 
    9999      { 
    100         int typeId, classId, typeId_in, classId_in, timeLine_out; 
     100        int typeId, classId, typeId_in, classId_in ; 
     101        size_t timeLine_out; 
    101102        typeId_in=event.getTypeId() ; 
    102103        classId_in=event.getClassId() ; 
    103104//        MPI_Allreduce(&timeLine,&timeLine_out, 1, MPI_UINT64_T, MPI_SUM, intraComm) ; // MPI_UINT64_T standardized by MPI 3 
    104         MPI_Allreduce(&timeLine,&timeLine_out, 1, MPI_LONG_LONG_INT, MPI_SUM, intraComm) ;  
     105        MPI_Allreduce(&timeLine,&timeLine_out, 1, MPI_UNSIGNED_LONG_LONG, MPI_SUM, intraComm) ;  
    105106        MPI_Allreduce(&typeId_in,&typeId, 1, MPI_INT, MPI_SUM, intraComm) ; 
    106107        MPI_Allreduce(&classId_in,&classId, 1, MPI_INT, MPI_SUM, intraComm) ; 
Note: See TracChangeset for help on using the changeset viewer.