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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.