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

Changeset 478


Ignore:
Timestamp:
2006-06-19T15:17:31+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_bugfix_046 : SM + CT : add lines when using AGRIF tool and iom module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/iom.F90

    r472 r478  
    5050      jpmax_digits  =  5       ! maximum number of digits in the file name to reference the cpu number 
    5151  
     52!$AGRIF_DO_NOT_TREAT 
    5253   INTEGER :: iom_init = 0 
    5354 
     
    6566   END TYPE flio_file 
    6667   TYPE(flio_file), DIMENSION(flio_max_files)   :: iom_file ! array containing the info for all opened files 
     68!$AGRIF_END_DO_NOT_TREAT 
    6769 
    6870   !!---------------------------------------------------------------------- 
     
    108110      IF( .NOT.llok ) THEN                         ! try to complete the name with the suffix only 
    109111         clname = TRIM(cdname)//TRIM(clsuffix) 
     112#if defined key_agrif 
     113         if ( .NOT. Agrif_Root() ) clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) 
     114#endif                 
    110115         INQUIRE( FILE = clname, EXIST = llok ) 
    111116         IF( .NOT.llok ) THEN                      ! try to complete the name with both cpu number and suffix 
     
    113118            clcpu  = trim(adjustl(clcpu)) 
    114119            clname = trim(cdname)//"_" 
     120#if defined key_agrif 
     121            if ( .NOT. Agrif_Root() ) clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) 
     122#endif                 
    115123            icnt = 0 
    116124            INQUIRE( FILE = trim(clname)//trim(clcpu)//trim(clsuffix), EXIST = llok )  
Note: See TracChangeset for help on using the changeset viewer.