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 7910 for branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/OPA_SRC/LBC – NEMO

Ignore:
Timestamp:
2017-04-13T16:21:08+02:00 (7 years ago)
Author:
timgraham
Message:

All wrk_alloc removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_no_wrk_alloc/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90

    r7753 r7910  
    6363   USE lbcnfd         ! north fold treatment 
    6464   USE in_out_manager ! I/O manager 
    65    USE wrk_nemo       ! work arrays 
    6665 
    6766   IMPLICIT NONE 
     
    20692068      !! 
    20702069      INTEGER  ::   ierror, localcomm 
    2071       REAL(wp) , POINTER , DIMENSION(:) ::   zwork 
    2072       !!---------------------------------------------------------------------- 
    2073       ! 
    2074       CALL wrk_alloc(NUM , zwork) 
     2070      REAL(wp) , DIMENSION(NUM) ::   zwork 
     2071      !!---------------------------------------------------------------------- 
     2072      ! 
    20752073      localcomm = mpi_comm_opa 
    20762074      IF( PRESENT(kcom) )   localcomm = kcom 
     
    20782076      CALL mpi_allreduce( ptab, zwork, NUM, mpi_double_precision, mpi_max, localcomm, ierror ) 
    20792077      ptab = zwork 
    2080       CALL wrk_dealloc(NUM , zwork) 
    20812078      ! 
    20822079   END SUBROUTINE mppmax_real_multiple 
     
    24662463      ! 
    24672464      ! Since this is just an init routine and these arrays are of length jpnij 
    2468       ! then don't use wrk_nemo module - just allocate and deallocate. 
    24692465      ALLOCATE( kice(jpnij), zwork(jpnij), STAT=ierr ) 
    24702466      IF( ierr /= 0 ) THEN 
Note: See TracChangeset for help on using the changeset viewer.