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/TRA/traldf.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/TRA/traldf.F90

    r6352 r6748  
    6565      IF( l_trdtra )   THEN                    !* Save ta and sa trends 
    6666         CALL wrk_alloc( jpi,jpj,jpk,   ztrdt, ztrds )  
     67!$OMP PARALLEL WORKSHARE 
    6768         ztrdt(:,:,:) = tsa(:,:,:,jp_tem)  
    6869         ztrds(:,:,:) = tsa(:,:,:,jp_sal) 
     70!$OMP END PARALLEL WORKSHARE 
    6971      ENDIF 
    7072      ! 
     
    8183      ! 
    8284      IF( l_trdtra )   THEN                    !* save the horizontal diffusive trends for further diagnostics 
     85!$OMP PARALLEL WORKSHARE 
    8386         ztrdt(:,:,:) = tsa(:,:,:,jp_tem) - ztrdt(:,:,:) 
    8487         ztrds(:,:,:) = tsa(:,:,:,jp_sal) - ztrds(:,:,:) 
     88!$OMP END PARALLEL WORKSHARE 
    8589         CALL trd_tra( kt, 'TRA', jp_tem, jptra_ldf, ztrdt ) 
    8690         CALL trd_tra( kt, 'TRA', jp_sal, jptra_ldf, ztrds ) 
Note: See TracChangeset for help on using the changeset viewer.