Ignore:
Timestamp:
Sep 30, 2020 10:27:40 PM (4 years ago)
Author:
pavelkrc
Message:

Fixes and optimizations of OpenMP parallelization, formatting of OpenMP directives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/timestep.f90

    r4564 r4717  
    2020! Current revisions:
    2121! -----------------
    22 ! 
    23 ! 
     22!
     23!
    2424! Former revisions:
    2525! -----------------
    2626! $Id$
     27! Fixes and optimizations of OpenMP parallelization, formatting of OpenMP
     28! directives (J. Resler)
     29!
     30! 4564 2020-06-12 14:03:36Z raasch
    2731! Vertical nesting method of Huq et al. (2019) removed
    2832!
    2933! 4540 2020-05-18 15:23:29Z raasch
    3034! File re-formatted to follow the PALM coding standard
    31 !
    3235!
    3336! 4444 2020-03-05 15:59:50Z raasch
     
    308311       ENDDO
    309312
    310        !$OMP PARALLEL private(i,j,k) reduction(MIN: dt_diff_l)
    311        !$OMP DO
     313       !$OMP PARALLEL DO private(i,j,k) reduction(MIN: dt_diff_l)
    312314       !$ACC PARALLEL LOOP COLLAPSE(3) PRIVATE(i,j,k) &
    313315       !$ACC COPY(dt_diff_l) REDUCTION(MIN: dt_diff_l) &
     
    321323          ENDDO
    322324       ENDDO
    323        !$OMP END PARALLEL
    324325#if defined( __parallel )
    325326       IF ( collective_wait )  CALL MPI_BARRIER( comm2d, ierr )
Note: See TracChangeset for help on using the changeset viewer.