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/io/netCdfInterface.cpp

    r1146 r1149  
    128128int CNetCdfInterface::close(int ncId) 
    129129{ 
    130   int status = nc_close(ncId); 
     130  int status = NC_NOERR; 
     131  //#pragma omp critical (_netcdf) 
     132  #pragma omp master 
     133  { 
     134  status = nc_close(ncId); 
    131135  if (NC_NOERR != status) 
    132136  { 
     
    139143    throw CNetCdfException(e); 
    140144  } 
    141  
     145  } 
    142146  return status; 
    143147} 
Note: See TracChangeset for help on using the changeset viewer.