New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 6748 for branches/2016/dev_r6519_HPC_4/NEMOGCM/NEMO/OPA_SRC/SBC/sbcana.F90 – NEMO

Ignore:
Timestamp:
2016-06-28T11:53:56+02:00 (8 years ago)
Author:
mocavero
Message:

GYRE hybrid parallelization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6519_HPC_4/NEMOGCM/NEMO/OPA_SRC/SBC/sbcana.F90

    r6140 r6748  
    203203      ztrp= - 40.e0        ! retroaction term on heat fluxes (W/m2/K) 
    204204      zconv = 3.16e-5      ! convertion factor: 1 m/yr => 3.16e-5 mm/s 
     205!$OMP PARALLEL DO schedule(static) private(jj, ji, t_star) 
    205206      DO jj = 1, jpj 
    206207         DO ji = 1, jpi 
     
    238239 
    239240      ! freshwater (mass flux) and update of qns with heat content of emp 
     241!$OMP PARALLEL WORKSHARE 
    240242      emp (:,:) = emp(:,:) - zsumemp * tmask(:,:,1)        ! freshwater flux (=0 in domain average) 
    241243      sfx (:,:) = 0.0_wp                                   ! no salt flux 
    242244      qns (:,:) = qns(:,:) - emp(:,:) * sst_m(:,:) * rcp   ! evap and precip are at SST 
    243  
     245!$OMP END PARALLEL WORKSHARE 
    244246 
    245247      ! ---------------------------- ! 
     
    267269      ztau_sais = 0.015 
    268270      ztaun = ztau - ztau_sais * COS( (ztime - ztimemax) / (ztimemin - ztimemax) * rpi ) 
     271!$OMP PARALLEL DO schedule(static) private(jj, ji) 
    269272      DO jj = 1, jpj 
    270273         DO ji = 1, jpi 
     
    278281      ! module of wind stress and wind speed at T-point 
    279282      zcoef = 1. / ( zrhoa * zcdrag )  
     283!$OMP PARALLEL DO schedule(static) private(jj, ji, ztx, zty, zmod) 
    280284      DO jj = 2, jpjm1 
    281285         DO ji = fs_2, fs_jpim1   ! vect. opt. 
Note: See TracChangeset for help on using the changeset viewer.