Ignore:
Timestamp:
Jul 11, 2014, 4:15:06 PM (10 years ago)
Author:
milmd
Message:

LMDZ.GENERIC. OpenMP directives added in generic physic. When running in pure OpenMP or hybrid OpenMP/MPI, may have some bugs with condense_cloud and wstats routines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/interpolateN2N2.F90

    r878 r1315  
    4343  logical firstcall
    4444
    45   save wn_arr, temp_arr, abs_arr
     45  save wn_arr, temp_arr, abs_arr !read by master
    4646
    4747  character*100 dt_file
     
    7070     dt_file=TRIM(datadir)//'/continuum_data/N2-N2_2011.cia'
    7171
     72!$OMP MASTER
    7273     open(33,file=dt_file,form='formatted',status='old',iostat=ios)
    7374     if (ios.ne.0) then        ! file not found
     
    100101     endif
    101102     close(33)
     103!$OMP END MASTER
     104!$OMP BARRIER
    102105
    103106     print*,'interpolateN2N2: At wavenumber ',wn,' cm^-1'
Note: See TracChangeset for help on using the changeset viewer.