Changeset 2073 for palm/trunk
- Timestamp:
- Nov 30, 2016 2:34:05 PM (8 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/flow_statistics.f90
r2038 r2073 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! openmp bugfix: large scale forcing calculations cannot be executed thread 23 ! parallel 23 24 ! 24 25 ! Former revisions: … … 1228 1229 1229 1230 ENDIF 1231 !$OMP END PARALLEL 1230 1232 1231 1233 ! … … 1273 1275 ENDIF 1274 1276 1275 1277 !$OMP PARALLEL PRIVATE( i, j, k, tn ) 1278 !$ tn = omp_get_thread_num() 1276 1279 IF ( land_surface ) THEN 1277 1280 !$OMP DO -
palm/trunk/SOURCE/header.f90
r2051 r2073 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! small bugfix concerning output of scalar profiles 23 23 ! 24 24 ! Former revisions: … … 1221 1221 DO WHILE ( s_vertical_gradient_level_ind(i) /= -9999 ) 1222 1222 1223 WRITE (coor_chr,'(E8.1,4X)') s_init( q_vertical_gradient_level_ind(i))1223 WRITE (coor_chr,'(E8.1,4X)') s_init(s_vertical_gradient_level_ind(i)) 1224 1224 temperatures = TRIM( temperatures ) // ' ' // TRIM( coor_chr ) 1225 1225 -
palm/trunk/SOURCE/poismg_mod.f90
r2038 r2073 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! change of openmp directives in restrict 23 23 ! 24 24 ! Former revisions: … … 431 431 !-- No wall treatment 432 432 !$OMP PARALLEL PRIVATE (i,j,k,ic,jc,kc,km1,kp1) 433 !$OMP DO SCHEDULE( STATIC ) 433 434 DO ic = nxl_mg(l), nxr_mg(l) 434 435 i = 2*ic 435 !$OMP DO SCHEDULE( STATIC )436 436 DO jc = nys_mg(l), nyn_mg(l) 437 437 ! … … 465 465 ENDDO 466 466 ENDDO 467 !$OMP ENDDO nowait468 467 ENDDO 468 !$OMP ENDDO 469 469 !$OMP END PARALLEL 470 470 -
palm/trunk/SOURCE/pres.f90
r2038 r2073 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! openmp bugfix for calculation of new divergence 23 23 ! 24 24 ! Former revisions: … … 809 809 810 810 !$OMP PARALLEL PRIVATE (i,j,k) FIRSTPRIVATE(threadsum) REDUCTION(+:localsum) 811 #if defined( __ibm ) 811 812 !$OMP DO SCHEDULE( STATIC ) 812 #if defined( __ibm )813 813 DO i = nxl, nxr 814 814 DO j = nys, nyn … … 825 825 ENDDO 826 826 #else 827 !$OMP DO SCHEDULE( STATIC ) 827 828 !$acc kernels present( d, ddzw, rflags_s_inner, u, v, w ) 828 829 !$acc loop collapse( 3 ) … … 841 842 ! 842 843 !-- Compute possible PE-sum of divergences for flow_statistics 844 !$OMP DO SCHEDULE( STATIC ) 843 845 !$acc parallel loop collapse(3) present( d ) reduction(+:threadsum) 844 846 DO i = nxl, nxr -
palm/trunk/SOURCE/surface_layer_fluxes_mod.f90
r2038 r2073 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! openmp bugfix for lookup method 23 23 ! 24 24 ! Former revisions: … … 685 685 ELSEIF ( TRIM( most_method ) == 'lookup' ) THEN 686 686 687 !$OMP PARALLEL DO PRIVATE( k, z_mo ) 687 !$OMP PARALLEL DO PRIVATE( k, z_mo ) FIRSTPRIVATE( l_bnd ) LASTPRIVATE( l_bnd ) 688 688 !# WARNING: does not work on GPU so far because of DO WHILE construct 689 689 !!!!!!$acc kernels loop
Note: See TracChangeset
for help on using the changeset viewer.