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

Using threads : modif for xios_initialize

Location:
XIOS/dev/branch_yushan/src/node
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/node/axis.hpp

    r927 r1072  
    167167         static bool initializeTransformationMap(std::map<StdString, ETranformationType>& m); 
    168168         static std::map<StdString, ETranformationType> transformationMapList_; 
     169         // #pragma omp threadprivate(transformationMapList_) 
     170 
    169171         static bool dummyTransformationMapList_; 
     172         //#pragma omp threadprivate(dummyTransformationMapList_) 
    170173 
    171174         DECLARE_REF_FUNC(Axis,axis) 
  • XIOS/dev/branch_yushan/src/node/compute_connectivity_domain.hpp

    r934 r1072  
    6060      static CTransformation<CDomain>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
     63       
    6264  }; // class CComputeConnectivityDomain 
    6365 
  • XIOS/dev/branch_yushan/src/node/context.hpp

    r1053 r1072  
    209209         // Context root 
    210210         static shared_ptr<CContextGroup> root; 
     211         // #pragma omp threadprivate(root) 
    211212 
    212213         // Determine context on client or not 
  • XIOS/dev/branch_yushan/src/node/domain.hpp

    r953 r1072  
    213213         static std::map<StdString, ETranformationType> transformationMapList_; 
    214214         static bool _dummyTransformationMapList; 
     215         //#pragma omp threadprivate(_dummyTransformationMapList) 
    215216 
    216217         DECLARE_REF_FUNC(Domain,domain) 
  • XIOS/dev/branch_yushan/src/node/expand_domain.hpp

    r935 r1072  
    6060      static CTransformation<CDomain>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
     63       
    6264  }; // class CExpandDomain 
    6365 
  • XIOS/dev/branch_yushan/src/node/extract_axis_to_scalar.hpp

    r960 r1072  
    6060      static CTransformation<CScalar>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
    6263  }; // class CExtractAxisToScalar 
    6364 
  • XIOS/dev/branch_yushan/src/node/extract_domain_to_axis.hpp

    r895 r1072  
    6060      static CTransformation<CAxis>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
    6263  }; // class CExtractDomainToAxis 
    6364 
  • XIOS/dev/branch_yushan/src/node/generate_rectilinear_domain.hpp

    r836 r1072  
    6060      static CTransformation<CDomain>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
    6263  }; // class CGenerateRectilinearDomain 
    6364 
  • XIOS/dev/branch_yushan/src/node/interpolate_axis.hpp

    r836 r1072  
    6262      static CTransformation<CAxis>* create(const StdString& id, xml::CXMLNode* node); 
    6363      static bool _dummyRegistered; 
     64      //#pragma omp threadprivate(_dummyRegistered) 
     65       
    6466  }; // class CInterpolateAxis 
    6567 
  • XIOS/dev/branch_yushan/src/node/interpolate_domain.hpp

    r1037 r1072  
    6060      static CTransformation<CDomain>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
    6263  }; // class CInterpolateDomain 
    6364 
  • XIOS/dev/branch_yushan/src/node/inverse_axis.hpp

    r836 r1072  
    5959      static CTransformation<CAxis>* create(const StdString& id, xml::CXMLNode* node); 
    6060      static bool _dummyRegistered; 
     61      //#pragma omp threadprivate(_dummyRegistered) 
    6162 
    6263  }; // class CInverseAxis 
  • XIOS/dev/branch_yushan/src/node/reduce_axis_to_scalar.hpp

    r888 r1072  
    5959      static CTransformation<CScalar>* create(const StdString& id, xml::CXMLNode* node); 
    6060      static bool _dummyRegistered; 
     61      //#pragma omp threadprivate(_dummyRegistered) 
    6162  }; // class CReduceAxisToScalar 
    6263 
  • XIOS/dev/branch_yushan/src/node/reduce_domain_to_axis.hpp

    r895 r1072  
    6060      static CTransformation<CAxis>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
    6263  }; // class CReduceDomainToAxis 
    6364 
  • XIOS/dev/branch_yushan/src/node/reduce_domain_to_scalar.hpp

    r976 r1072  
    6060      static CTransformation<CScalar>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
    6263  }; // class CReduceDomainToScalar 
    6364 
  • XIOS/dev/branch_yushan/src/node/scalar.hpp

    r888 r1072  
    8989           static std::map<StdString, ETranformationType> transformationMapList_; 
    9090           static bool dummyTransformationMapList_; 
     91           //#pragma omp threadprivate(dummyTransformationMapList_) 
    9192 
    9293 
  • XIOS/dev/branch_yushan/src/node/transformation.hpp

    r934 r1072  
    3535      typedef std::map<ETranformationType, CreateTransformationCallBack> CallBackMap; 
    3636      static CallBackMap* transformationCreationCallBacks_; 
     37      //#pragma omp threadprivate(transformationCreationCallBacks_) 
    3738 
    3839      static bool registerTransformation(ETranformationType transType, CreateTransformationCallBack createFn); 
  • XIOS/dev/branch_yushan/src/node/zoom_axis.hpp

    r836 r1072  
    6060      static CTransformation<CAxis>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
    6263  }; // class CZoomAxis 
    6364 
  • XIOS/dev/branch_yushan/src/node/zoom_domain.hpp

    r836 r1072  
    6060      static CTransformation<CDomain>* create(const StdString& id, xml::CXMLNode* node); 
    6161      static bool _dummyRegistered; 
     62      //#pragma omp threadprivate(_dummyRegistered) 
     63       
    6264  }; // class CZoomDomain 
    6365 
Note: See TracChangeset for help on using the changeset viewer.