Ignore:
Timestamp:
12/07/17 16:56:23 (6 years ago)
Author:
yushan
Message:

unify type : MPI_Datatype MPI_Aint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/src_ep_dev/ep_reduce.cpp

    r1295 r1365  
    241241    ::MPI_Aint datasize, lb; 
    242242 
    243     ::MPI_Type_get_extent(static_cast< ::MPI_Datatype>(datatype), &lb, &datasize); 
     243    ::MPI_Type_get_extent(*(static_cast< ::MPI_Datatype*>(datatype)), &lb, &datasize); 
    244244 
    245245    bool is_master = (ep_rank_loc==0 && mpi_rank != root_mpi_rank ) || ep_rank == root; 
Note: See TracChangeset for help on using the changeset viewer.