New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 7571 for branches/UKMO/dev_r5518_MEDUSA_optim_MG_MS_RH/NEMOGCM/NEMO/TOP_SRC/TRP/trcldf.F90 – NEMO

Ignore:
Timestamp:
2017-01-17T11:33:49+01:00 (7 years ago)
Author:
frrh
Message:

Commit first phase of changes - these work OK in a UKESM vn0.5
suite employing the GO6 package branch at:

branches/UKMO/dev_r5518_GO6_package@7206

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_MEDUSA_optim_MG_MS_RH/NEMOGCM/NEMO/TOP_SRC/TRP/trcldf.F90

    r7570 r7571  
    5858      INTEGER            :: jn 
    5959      CHARACTER (len=22) :: charout 
    60       REAL(wp), POINTER, DIMENSION(:,:,:,:) ::   ztrtrd 
     60      REAL(wp), ALLOCATABLE, DIMENSION(:,:,:,:) ::   ztrtrd 
    6161      !!---------------------------------------------------------------------- 
    6262      ! 
     
    6868 
    6969      IF( l_trdtrc )  THEN 
    70          CALL wrk_alloc( jpi, jpj, jpk, jptra, ztrtrd ) 
     70         ALLOCATE( ztrtrd(1:jpi, 1:jpj, 1:jpk, 1:jptra)) 
    7171         ztrtrd(:,:,:,:)  = tra(:,:,:,:) 
    7272      ENDIF 
     
    107107           CALL trd_tra( kt, 'TRC', jn, jptra_ldf, ztrtrd(:,:,:,jn) ) 
    108108        END DO 
    109         CALL wrk_dealloc( jpi, jpj, jpk, jptra, ztrtrd ) 
     109        DEALLOCATE( ztrtrd ) 
    110110      ENDIF 
    111111      !                                          ! print mean trends (used for debugging) 
Note: See TracChangeset for help on using the changeset viewer.