Changeset 1103 for palm/trunk/SOURCE


Ignore:
Timestamp:
Feb 20, 2013 2:15:53 AM (12 years ago)
Author:
raasch
Message:

small bugfixes; mrun and subjob scripts are made bash compatible; further adjustments for lckyuh

Location:
palm/trunk/SOURCE
Files:
2 edited

Legend:

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

    r1093 r1103  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! Bugfix: turbulent inflow must not require cyclic fill in restart runs
    2323!
    2424! Former revisions:
     
    34363436!
    34373437!-- Turbulent inflow requires that 3d arrays have been cyclically filled with
    3438 !-- data from prerun
    3439     IF ( turbulent_inflow  .AND.  initializing_actions /= 'cyclic_fill' )  THEN
     3438!-- data from prerun in the first main run
     3439    IF ( turbulent_inflow  .AND.  initializing_actions /= 'cyclic_fill'  .AND. &
     3440         initializing_actions /= 'read_restart_data' )  THEN
    34403441       message_string = 'turbulent_inflow = .T. requires ' // &
    34413442                        'initializing_actions = ''cyclic_fill'' '
  • palm/trunk/SOURCE/poisfft.f90

    r1093 r1103  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! tri, ar, and ar1 arguments in tridia-routines (2d) are removed because they
     23! sometimes cause segmentation faults with intel 12.1 compiler
    2324!
    2425! Former revisions:
     
    370371       DO  j = nys_z, nyn_z
    371372          IF ( j <= nnyh )  THEN
    372              CALL maketri( tri, j )
     373             CALL maketri( j )
    373374          ELSE
    374              CALL maketri( tri, ny+1-j )
     375             CALL maketri( ny+1-j )
    375376          ENDIF
    376           CALL split( tri )
    377           CALL substi( ar, ar1, tri, j )
     377          CALL split
     378          CALL substi( j )
    378379       ENDDO
    379380!$OMP  END PARALLEL
     
    381382!
    382383!--    First y-level.
    383        CALL maketri( tri, nys_z )
    384        CALL split( tri )
    385        CALL substi( ar, ar1, tri, 0 )
     384       CALL maketri( nys_z )
     385       CALL split
     386       CALL substi( 0 )
    386387
    387388!
    388389!--    Further y-levels.
    389390       DO  j = 1, nnyh - 1
    390           CALL maketri( tri, j )
    391           CALL split( tri )
    392           CALL substi( ar, ar1, tri, j )
    393           CALL substi( ar, ar1, tri, ny+1-j )
     391          CALL maketri( j )
     392          CALL split
     393          CALL substi( j )
     394          CALL substi( ny+1-j )
    394395       ENDDO
    395        CALL maketri( tri, nnyh )
    396        CALL split( tri )
    397        CALL substi( ar, ar1, tri, nnyh+nys )
     396       CALL maketri( nnyh )
     397       CALL split
     398       CALL substi( nnyh+nys )
    398399#endif
    399400
    400401    CONTAINS
    401402
    402        SUBROUTINE maketri( tri, j )
     403       SUBROUTINE maketri( j )
    403404
    404405!------------------------------------------------------------------------------!
     
    416417          REAL    ::  a, c
    417418          REAL    ::  ll(nxl_z:nxr_z)
    418           REAL    ::  tri(5,nxl_z:nxr_z,0:nz-1)
    419419
    420420
     
    476476
    477477
    478        SUBROUTINE substi( ar, ar1, tri, j )
     478       SUBROUTINE substi( j )
    479479
    480480!------------------------------------------------------------------------------!
     
    487487
    488488          INTEGER ::  i, j, k
    489           REAL    ::  ar1(nxl_z:nxr_z,0:nz-1)
    490           REAL    ::  tri(5,nxl_z:nxr_z,0:nz-1)
    491 #if defined( __parallel )
    492           REAL    ::  ar(nxl_z:nxr_z,nys_z:nyn_z,1:nz)
    493 #else
    494           REAL    ::  ar(1:nz,nys_z:nyn_z,nxl_z:nxr_z)
    495 #endif
    496489
    497490!
     
    559552
    560553
    561        SUBROUTINE split( tri )
     554       SUBROUTINE split
    562555
    563556!------------------------------------------------------------------------------!
     
    568561
    569562          INTEGER ::  i, k
    570           REAL    ::  tri(5,nxl_z:nxr_z,0:nz-1)
    571563
    572564!
Note: See TracChangeset for help on using the changeset viewer.