178 | | [TBD: repeat process for SI3, TOP, PISCES etc.] |
| 178 | Full marks for Clem though since repeating this process for ICE: |
| 179 | {{{#!bash |
| 180 | for f in `find ./ICE -name '*.[Fh]90'` |
| 181 | do |
| 182 | echo "! "$f >> pseudo_nml_ice_ref |
| 183 | perl nemo_list_nmls.pl $f >> pseudo_nml_ice_ref |
| 184 | done |
| 185 | python nemo_nml_check.py -c ../cfgs/SHARED/namelist_ice_ref -r pseudo_nml_ice_ref |
| 186 | python nemo_nml_check.py -r ../cfgs/SHARED/namelist_ice_ref -c pseudo_nml_ice_ref |
| 187 | }}} |
| 188 | finds no mismatches |
| 189 | |
| 190 | For TOP we have to be more selective about which directories to search when building the pseudo file: |
| 191 | {{{#!bash |
| 192 | for f in `find -f ./TOP ./TOP/TRP -name '*.[Fh]90' -depth 1` |
| 193 | do |
| 194 | echo "! "$f >> pseudo_nml_top_ref |
| 195 | perl nemo_list_nmls.pl $f >> pseudo_nml_top_ref |
| 196 | done |
| 197 | }}} |
| 198 | and the following potential issues are flagged: |
| 199 | {{{ |
| 200 | python nemo_nml_check.py -c ../cfgs/SHARED/namelist_top_ref -r pseudo_nml_top_ref |
| 201 | No match for: sn_trcdta(1) in namtrc_dta (at line no. 61 ) |
| 202 | No match for: ln_trdmld_trc_restart in namtrc_trd (at line no. 124 ) |
| 203 | No match for: ln_trdmld_trc_instant in namtrc_trd (at line no. 125 ) |
| 204 | No match for: ln_trdtrc( 1) in namtrc_trd (at line no. 126 ) |
| 205 | No match for: ln_trdtrc( 2) in namtrc_trd (at line no. 127 ) |
| 206 | No match for: ln_trdtrc(23) in namtrc_trd (at line no. 128 ) |
| 207 | |
| 208 | |
| 209 | python nemo_nml_check.py -r ../cfgs/SHARED/namelist_top_ref -c pseudo_nml_top_ref |
| 210 | No match for: sn_trcobc in namtrc_bc (at line no. 4 ) |
| 211 | No match for: rn_trofac in namtrc_bc (at line no. 5 ) |
| 212 | No match for: sn_trcsbc in namtrc_bc (at line no. 7 ) |
| 213 | No match for: rn_trsfac in namtrc_bc (at line no. 8 ) |
| 214 | No match for: sn_trccbc in namtrc_bc (at line no. 10 ) |
| 215 | No match for: rn_trcfac in namtrc_bc (at line no. 11 ) |
| 216 | No match for: sn_tri_tracer in namtrc_ice (at line no. 25 ) |
| 217 | No match for: sn_tracer in namtrc (at line no. 48 ) |
| 218 | No match for: ln_trdmxl_trc_restart in namtrc_trd (at line no. 59 ) |
| 219 | No match for: ln_trdmxl_trc_instant in namtrc_trd (at line no. 60 ) |
| 220 | No match for: cn_trdrst_trc_in in namtrc_trd (at line no. 61 ) |
| 221 | No match for: cn_trdrst_trc_out in namtrc_trd (at line no. 62 ) |
| 222 | No match for: ln_trdtrc in namtrc_trd (at line no. 63 ) |
| 223 | No match for: sn_trcdta in namtrc_dta (at line no. 67 ) |
| 224 | No match for: rn_trfac in namtrc_dta (at line no. 69 ) |
| 225 | }}} |
| 226 | |
| 227 | and finally for PISCES: |
| 228 | |
| 229 | {{{#!bash |
| 230 | for f in `find ./TOP/PISCES -name '*.[Fh]90'` |
| 231 | do |
| 232 | echo "! "$f >> pseudo_nml_pisces_ref |
| 233 | perl nemo_list_nmls.pl $f >> pseudo_nml_pisces_ref |
| 234 | done |
| 235 | }}} |
| 236 | {{{ |
| 237 | python nemo_nml_check.py -c ../cfgs/SHARED/namelist_pisces_ref -r pseudo_nml_pisces_ref |
| 238 | No match for: mprat2 in namp5zmort (at line no. 199 ) |
| 239 | No match for: xpref2p in namp5zmes (at line no. 233 ) |
| 240 | |
| 241 | python nemo_nml_check.py -r ../cfgs/SHARED/namelist_pisces_ref -c pseudo_nml_pisces_ref |
| 242 | No match for: mpratd in namp5zmort (at line no. 357 ) |
| 243 | No match for: xpref2n in namp5zmes (at line no. 398 ) |
| 244 | }}} |
| 245 | |
| 246 | |