Ignore:
Timestamp:
2020-06-24T15:23:31+02:00 (15 months ago)
Author:
andmirek
Message:

Ticket #2482: fixes after testing with ifort

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_mirror_SI3_GPU/src/OCE/DYN/dynldf_lap_blp.F90

    r13149 r13153  
    2525   PUBLIC dyn_ldf_lap  ! called by dynldf.F90 
    2626   PUBLIC dyn_ldf_blp  ! called by dynldf.F90 
     27 
     28   REAL(wp), ALLOCATABLE, DIMENSION(:, :, :) :: zulap, zvlap 
     29   REAL(wp), ALLOCATABLE, DIMENSION(:, :) :: zcur, zdiv 
    2730 
    2831   !! * Substitutions 
     
    5558      REAL(wp) ::   zsign        ! local scalars 
    5659      REAL(wp) ::   zua, zva     ! local scalars 
    57       REAL(wp), DIMENSION(jpi,jpj) ::   zcur, zdiv 
    58 !     REAL(wp), ALLOCATABLE, DIMENSION(:, :) :: zcur, zdiv 
     60!     REAL(wp), DIMENSION(jpi,jpj) ::   zcur, zdiv 
    5961      !!---------------------------------------------------------------------- 
    6062      ! 
     
    6567            WRITE(numout,*) '~~~~~~~ ' 
    6668         ENDIF 
    67 !        ALLOCATE(zcur(jpi,jpj), zdiv(jpi,jpj)) 
     69         IF(kpass == 1) ALLOCATE(zcur(jpi,jpj), zdiv(jpi,jpj)) 
    6870      ENDIF 
    6971      ! 
     
    127129      ! 
    128130!     REAL(wp), DIMENSION(jpi,jpj,jpk) ::   zulap, zvlap   ! laplacian at u- and v-point 
    129       REAL(wp), ALLOCATABLE, DIMENSION(:, :, :) :: zulap, zvlap 
    130131      !!---------------------------------------------------------------------- 
    131132      ! 
Note: See TracChangeset for help on using the changeset viewer.