Changeset 478
- Timestamp:
- 2006-06-19T15:17:31+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/iom.F90
r472 r478 50 50 jpmax_digits = 5 ! maximum number of digits in the file name to reference the cpu number 51 51 52 !$AGRIF_DO_NOT_TREAT 52 53 INTEGER :: iom_init = 0 53 54 … … 65 66 END TYPE flio_file 66 67 TYPE(flio_file), DIMENSION(flio_max_files) :: iom_file ! array containing the info for all opened files 68 !$AGRIF_END_DO_NOT_TREAT 67 69 68 70 !!---------------------------------------------------------------------- … … 108 110 IF( .NOT.llok ) THEN ! try to complete the name with the suffix only 109 111 clname = TRIM(cdname)//TRIM(clsuffix) 112 #if defined key_agrif 113 if ( .NOT. Agrif_Root() ) clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) 114 #endif 110 115 INQUIRE( FILE = clname, EXIST = llok ) 111 116 IF( .NOT.llok ) THEN ! try to complete the name with both cpu number and suffix … … 113 118 clcpu = trim(adjustl(clcpu)) 114 119 clname = trim(cdname)//"_" 120 #if defined key_agrif 121 if ( .NOT. Agrif_Root() ) clname = TRIM(Agrif_CFixed())//'_'//TRIM(clname) 122 #endif 115 123 icnt = 0 116 124 INQUIRE( FILE = trim(clname)//trim(clcpu)//trim(clsuffix), EXIST = llok )
Note: See TracChangeset
for help on using the changeset viewer.