Changeset 0654f4c


Ignore:
Timestamp:
09/28/18 16:07:15 (6 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master, pympi
Children:
abca157
Parents:
e7b1f5b
git-author:
Hal Finkel <hfinkel@…> (09/28/18 16:07:15)
git-committer:
Hal Finkel <hfinkel@…> (09/28/18 16:07:15)
Message:

fix SZ init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GenericIO.cxx

    reeacdad r0654f4c  
    533533        int FilterIdx = 0; 
    534534        if (Vars[i].LCI.Mode != LossyCompressionInfo::LCModeNone) { 
     535#ifdef _OPENMP 
     536#pragma omp master 
     537  { 
     538#endif 
     539         if (!sz_initialized) { 
     540           SZ_Init(NULL); 
     541           sz_initialized = true; 
     542         } 
     543 
     544#ifdef _OPENMP 
     545  } 
     546#endif 
    535547          int SZDT = GetSZDT(Vars[i]); 
    536548          if (SZDT == -1) 
     
    589601         blosc_init(); 
    590602         blosc_initialized = true; 
    591        } 
    592  
    593        if (!sz_initialized) { 
    594          SZ_Init(NULL); 
    595          sz_initialized = true; 
    596603       } 
    597604 
Note: See TracChangeset for help on using the changeset viewer.