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/ICB/icbini.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/ICB/icbini.F90

    r5215 r6748  
    8585      first_width (:) = SQRT(  rn_initial_mass(:) / ( rn_LoW_ratio * rn_rho_bergs * rn_initial_thickness(:) )  ) 
    8686      first_length(:) = rn_LoW_ratio * first_width(:) 
    87  
     87!$OMP PARALLEL WORKSHARE 
    8888      berg_grid%calving      (:,:)   = 0._wp 
    8989      berg_grid%calving_hflx (:,:)   = 0._wp 
     
    9595      src_calving            (:,:)   = 0._wp 
    9696      src_calving_hflx       (:,:)   = 0._wp 
    97  
     97!$OMP END PARALLEL WORKSHARE 
    9898      !                          ! domain for icebergs 
    9999      IF( lk_mpp .AND. jpni == 1 )   CALL ctl_stop( 'icbinit: having ONE processor in x currently does not work' ) 
     
    108108      nicbfldproc(:) = -1 
    109109 
     110!$OMP PARALLEL DO schedule(static) private(jj, ji) 
    110111      DO jj = 1, jpj 
    111112         DO ji = 1, jpi 
     
    218219         CALL flush(numicb) 
    219220      ENDIF 
    220        
     221!$OMP PARALLEL WORKSHARE       
    221222      src_calving     (:,:) = 0._wp 
    222223      src_calving_hflx(:,:) = 0._wp 
    223  
     224!$OMP END PARALLEL WORKSHARE 
    224225      ! assign each new iceberg with a unique number constructed from the processor number 
    225226      ! and incremented by the total number of processors 
Note: See TracChangeset for help on using the changeset viewer.