Ignore:
Timestamp:
03/14/17 19:12:25 (7 years ago)
Author:
yushan
Message:

Using threads : modif for xios_initialize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/io/netCdf_cf_constant.hpp

    r782 r1072  
    1616  static const StdString XIOS_CF_coordinates; 
    1717  static const StdString XIOS_CF_bounds; 
     18 
     19  #pragma omp threadprivate(XIOS_CF_units, XIOS_CF_standard_name, XIOS_CF_coordinates, XIOS_CF_bounds) 
    1820}; 
    1921const StdString CCFKeywords::XIOS_CF_units("units"); 
     
    2729  static const std::set<StdString> XIOS_CF_Longitude_units; 
    2830 
     31  // #pragma omp threadprivate(XIOS_CF_Latitude_units, XIOS_CF_Longitude_units) 
     32 
    2933private: 
    3034  CCFConvention(); 
Note: See TracChangeset for help on using the changeset viewer.