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 2310 for trunk – NEMO

Changeset 2310 for trunk


Ignore:
Timestamp:
2010-10-25T16:52:59+02:00 (13 years ago)
Author:
rblod
Message:

Add lim_dia changes for mpp on the trunk (LIM3 only), see ticket #741

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limdia.F90

    r1715 r2310  
    1919   USE in_out_manager 
    2020   USE par_ice         ! ice parameters 
     21   USE ice_oce         ! ice variables 
     22   USE daymod 
    2123   USE dom_ice 
    2224   USE ice 
     
    2527   USE dom_oce 
    2628   USE sbc_oce         ! Surface boundary condition: ocean fields 
    27  
     29   USE dom_oce 
     30   USE lib_mpp 
    2831   IMPLICIT NONE 
    2932   PRIVATE 
     
    445448      INTEGER  ::   jv   ,     &  ! dummy loop indice 
    446449         &          ntot ,     & 
    447          &          ndeb 
     450         &          ndeb ,     & 
     451         &          irecl 
    448452 
    449453      REAL(wp) ::   zxx0, zxx1    ! temporary scalars 
    450454 
    451455      CHARACTER(len=jpchinf) ::   titinf 
     456      CHARACTER(len=50)      ::   clname 
    452457      !!------------------------------------------------------------------- 
    453458 
     
    573578 
    574579      ! opening  "ice_evolu" file 
    575       CALL ctl_opn( numevo_ice, 'ice.evolu', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 
     580      IF ( lk_mpp ) THEN 
     581         WRITE(clname,FMT="('ice.evolu_',I4.4)") narea-1 
     582      ELSE 
     583         clname = 'ice.evolu' 
     584      END IF 
     585      irecl = ( jpchinf + 1 ) * nvinfo  
     586      CALL ctlopn( numevo_ice, clname, 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL',    & 
     587         &         irecl, numout, narea, 1 ) 
    576588 
    577589      !- ecriture de 2 lignes d''entete : 
Note: See TracChangeset for help on using the changeset viewer.