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 2313 – NEMO

Changeset 2313


Ignore:
Timestamp:
2010-10-25T17:19:12+02:00 (14 years ago)
Author:
rblod
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/LIM_SRC_3/limdia.F90

    r2287 r2313  
    1919   USE in_out_manager 
    2020   USE par_ice         ! ice parameters 
     21   USE sbc_ice         ! 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 
     29   USE dom_oce 
     30   USE lib_mpp 
    2731 
    2832   IMPLICIT NONE 
     
    7579   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    7680   !!---------------------------------------------------------------------- 
     81 
    7782 
    7883CONTAINS 
     
    445450      INTEGER  ::   jv   ,     &  ! dummy loop indice 
    446451         &          ntot ,     & 
    447          &          ndeb 
     452         &          ndeb ,     & 
     453         &          irecl 
    448454 
    449455      REAL(wp) ::   zxx0, zxx1    ! temporary scalars 
    450456 
    451457      CHARACTER(len=jpchinf) ::   titinf 
     458      CHARACTER(len=50)      ::   clname 
    452459      !!------------------------------------------------------------------- 
    453460 
     
    573580 
    574581      ! opening  "ice_evolu" file 
    575       CALL ctl_opn( numevo_ice, 'ice.evolu', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 
     582      IF ( lk_mpp ) THEN 
     583         WRITE(clname,FMT="('ice.evolu_',I4.4)") narea-1 
     584      ELSE 
     585         clname = 'ice.evolu' 
     586      END IF 
     587      irecl = ( jpchinf + 1 ) * nvinfo  
     588      CALL ctl_opn( numevo_ice, clname, 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL',    & 
     589         &         irecl, numout, .TRUE., narea ) 
    576590 
    577591      !- ecriture de 2 lignes d''entete : 
Note: See TracChangeset for help on using the changeset viewer.