- Timestamp:
- Mar 12, 2014 10:29:42 AM (11 years ago)
- Location:
- palm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/mrun
r1295 r1304 22 22 # Current revisions: 23 23 # ------------------ 24 # ulimit option changed from -Ss to -s 24 25 # bugfix: missing "fi" in r1289 25 26 # … … 438 439 printf "\n -n node usage (shared/not_shared) depending on -h" 439 440 printf "\n -o OUTPUT control list \"\" " 440 printf "\n -O use OpenMP---"441 printf "\n -O threads per openMP task ---" 441 442 printf "\n -p software package list \"\" " 442 443 printf "\n -q queue \"$queue\" " … … 3433 3434 # INCREASE STACK SIZE TO UNLIMITED, BECAUSE OTHERWISE LARGE RUNS 3434 3435 # MAY ABORT 3435 ulimit - Ss unlimited3436 ulimit -s unlimited 3436 3437 printf "\n threads per task: $threads_per_task stacksize: unlimited" 3437 3438 fi -
palm/trunk/SOURCE/fft_xy.f90
r1258 r1304 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! openmp bugfix: work1 used in Temperton algorithm must be private 23 23 ! 24 24 ! Former revisions: … … 412 412 IF ( forward_fft ) THEN 413 413 414 !$OMP PARALLEL PRIVATE ( work, i, j, k )414 !$OMP PARALLEL PRIVATE ( work, work1, i, j, k ) 415 415 !$OMP DO 416 416 DO k = nzb_x, nzt_x … … 433 433 ELSE 434 434 435 !$OMP PARALLEL PRIVATE ( work, i, j, k )435 !$OMP PARALLEL PRIVATE ( work, work1, i, j, k ) 436 436 !$OMP DO 437 437 DO k = nzb_x, nzt_x … … 1036 1036 IF ( forward_fft ) THEN 1037 1037 1038 !$OMP PARALLEL PRIVATE ( work, i, j, k )1038 !$OMP PARALLEL PRIVATE ( work, work1, i, j, k ) 1039 1039 !$OMP DO 1040 1040 DO k = nzb_y, nzt_y … … 1057 1057 ELSE 1058 1058 1059 !$OMP PARALLEL PRIVATE ( work, i, j, k )1059 !$OMP PARALLEL PRIVATE ( work, work1, i, j, k ) 1060 1060 !$OMP DO 1061 1061 DO k = nzb_y, nzt_y -
palm/trunk/SOURCE/init_pegrid.f90
r1213 r1304 356 356 !-- 1. transposition z --> x 357 357 !-- This transposition is not neccessary in case of a 1d-decomposition along x 358 nys_x = nys 359 nyn_x = nyn 360 nny_x = nny 361 nnz_x = nz / pdims(1) 362 nzb_x = 1 + myidx * nnz_x 363 nzt_x = ( myidx + 1 ) * nnz_x 364 sendrecvcount_zx = nnx * nny * nnz_x 365 358 366 IF ( pdims(2) /= 1 ) THEN 359 360 nys_x = nys361 nyn_x = nyn362 nny_x = nny363 367 IF ( MOD( nz , pdims(1) ) /= 0 ) THEN 364 368 WRITE( message_string, * ) 'transposition z --> x:', & … … 367 371 CALL message( 'init_pegrid', 'PA0230', 1, 2, 0, 6, 0 ) 368 372 ENDIF 369 nnz_x = nz / pdims(1)370 nzb_x = 1 + myidx * nnz_x371 nzt_x = ( myidx + 1 ) * nnz_x372 sendrecvcount_zx = nnx * nny * nnz_x373 374 ELSE375 !376 !--- Setting of dummy values because otherwise variables are undefined in377 !--- the next step x --> y378 !--- WARNING: This case has still to be clarified!!!!!!!!!!!!379 nnz_x = 1380 nzb_x = 1381 nzt_x = 1382 nny_x = nny383 384 373 ENDIF 385 374 … … 403 392 !-- 3. transposition y --> z (ELSE: x --> y in case of 1D-decomposition 404 393 !-- along x) 394 nnx_z = nnx_y 395 nxl_z = nxl_y 396 nxr_z = nxr_y 397 nny_z = (ny+1) / pdims(1) 398 nys_z = myidx * nny_z 399 nyn_z = ( myidx + 1 ) * nny_z - 1 400 sendrecvcount_yz = nnx_y * nny_z * nnz_y 401 405 402 IF ( pdims(2) /= 1 ) THEN 406 403 ! … … 408 405 !-- This transposition is not neccessary in case of a 1d-decomposition 409 406 !-- along x, except that the uptream-spline method is switched on 410 nnx_z = nnx_y411 nxl_z = nxl_y412 nxr_z = nxr_y413 407 IF ( MOD( ny+1 , pdims(1) ) /= 0 ) THEN 414 408 WRITE( message_string, * ) 'transposition y --> z:', & … … 417 411 CALL message( 'init_pegrid', 'PA0232', 1, 2, 0, 6, 0 ) 418 412 ENDIF 419 nny_z = (ny+1) / pdims(1)420 nys_z = myidx * nny_z421 nyn_z = ( myidx + 1 ) * nny_z - 1422 sendrecvcount_yz = nnx_y * nny_z * nnz_y423 413 424 414 ELSE
Note: See TracChangeset
for help on using the changeset viewer.