Changeset 369 for XIOS/trunk/src/interface/fortran_attr/ifile_attr.F90
- Timestamp:
- 10/16/12 13:04:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/fortran_attr/ifile_attr.F90
r326 r369 12 12 13 13 SUBROUTINE xios(set_file_attr) & 14 ( file_id, description, enabled, name, name_suffix, output_freq, output_level, split_freq, sync_freq &15 , type )14 ( file_id, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq & 15 , sync_freq, type ) 16 16 17 17 IMPLICIT NONE … … 25 25 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: output_freq 26 26 INTEGER , OPTIONAL, INTENT(IN) :: output_level 27 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 27 28 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq 28 29 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq … … 31 32 CALL xios(get_file_handle)(file_id,file_hdl) 32 33 CALL xios(set_file_attr_hdl_) & 33 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, split_freq, sync_freq &34 , type )34 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq & 35 , sync_freq, type ) 35 36 36 37 END SUBROUTINE xios(set_file_attr) 37 38 38 39 SUBROUTINE xios(set_file_attr_hdl) & 39 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, split_freq, sync_freq &40 , type )40 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq & 41 , sync_freq, type ) 41 42 42 43 IMPLICIT NONE … … 49 50 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: output_freq 50 51 INTEGER , OPTIONAL, INTENT(IN) :: output_level 52 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access 51 53 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq 52 54 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq … … 54 56 55 57 CALL xios(set_file_attr_hdl_) & 56 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, split_freq, sync_freq &57 , type )58 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq & 59 , sync_freq, type ) 58 60 59 61 END SUBROUTINE xios(set_file_attr_hdl) 60 62 61 63 SUBROUTINE xios(set_file_attr_hdl_) & 62 ( file_hdl, description_, enabled_, name_, name_suffix_, output_freq_, output_level_, split_freq_ &63 , s ync_freq_, type_ )64 ( file_hdl, description_, enabled_, name_, name_suffix_, output_freq_, output_level_, par_access_ & 65 , split_freq_, sync_freq_, type_ ) 64 66 65 67 IMPLICIT NONE … … 72 74 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: output_freq_ 73 75 INTEGER , OPTIONAL, INTENT(IN) :: output_level_ 76 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: par_access_ 74 77 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: split_freq_ 75 78 CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: sync_freq_ … … 101 104 ENDIF 102 105 106 IF (PRESENT(par_access_)) THEN 107 CALL cxios_set_file_par_access(file_hdl%daddr, par_access_, len(par_access_)) 108 ENDIF 109 103 110 IF (PRESENT(split_freq_)) THEN 104 111 CALL cxios_set_file_split_freq(file_hdl%daddr, split_freq_, len(split_freq_)) … … 118 125 119 126 SUBROUTINE xios(get_file_attr) & 120 ( file_id, description, enabled, name, name_suffix, output_freq, output_level, split_freq, sync_freq &121 , type )127 ( file_id, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq & 128 , sync_freq, type ) 122 129 123 130 IMPLICIT NONE … … 131 138 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: output_freq 132 139 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 140 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 133 141 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq 134 142 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq … … 137 145 CALL xios(get_file_handle)(file_id,file_hdl) 138 146 CALL xios(get_file_attr_hdl_) & 139 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, split_freq, sync_freq &140 , type )147 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq & 148 , sync_freq, type ) 141 149 142 150 END SUBROUTINE xios(get_file_attr) 143 151 144 152 SUBROUTINE xios(get_file_attr_hdl) & 145 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, split_freq, sync_freq &146 , type )153 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq & 154 , sync_freq, type ) 147 155 148 156 IMPLICIT NONE … … 155 163 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: output_freq 156 164 INTEGER , OPTIONAL, INTENT(OUT) :: output_level 165 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access 157 166 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq 158 167 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq … … 160 169 161 170 CALL xios(get_file_attr_hdl_) & 162 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, split_freq, sync_freq &163 , type )171 ( file_hdl, description, enabled, name, name_suffix, output_freq, output_level, par_access, split_freq & 172 , sync_freq, type ) 164 173 165 174 END SUBROUTINE xios(get_file_attr_hdl) 166 175 167 176 SUBROUTINE xios(get_file_attr_hdl_) & 168 ( file_hdl, description_, enabled_, name_, name_suffix_, output_freq_, output_level_, split_freq_ &169 , s ync_freq_, type_ )177 ( file_hdl, description_, enabled_, name_, name_suffix_, output_freq_, output_level_, par_access_ & 178 , split_freq_, sync_freq_, type_ ) 170 179 171 180 IMPLICIT NONE … … 178 187 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: output_freq_ 179 188 INTEGER , OPTIONAL, INTENT(OUT) :: output_level_ 189 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: par_access_ 180 190 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: split_freq_ 181 191 CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: sync_freq_ … … 207 217 ENDIF 208 218 219 IF (PRESENT(par_access_)) THEN 220 CALL cxios_get_file_par_access(file_hdl%daddr, par_access_, len(par_access_)) 221 ENDIF 222 209 223 IF (PRESENT(split_freq_)) THEN 210 224 CALL cxios_get_file_split_freq(file_hdl%daddr, split_freq_, len(split_freq_))
Note: See TracChangeset
for help on using the changeset viewer.