[MITgcm-devel] fortran namelist syntax & gfortran

Jean-Michel Campin jmc at ocean.mit.edu
Thu Dec 1 09:39:09 EST 2005


Hello Ed,

I have 2 remarks:

1) with a fresh version of the code, on faulks, I did:
testreport -of ../tools/build_options/linux_ia32_pgf77+authors_fc3 -t aim.5l_cs

and get a nice double pass (in tr_out.txt) for both aim.5l_cs & aim.5l_cs.thSI
but the 2nd test (aim.5l_cs.thSI) is in fact not doing well:

aim.5l_cs/tr_run.thSI/run.log :
> running ... PGFIO-F-248/namelist read/unit=11/illegal subscript or substring specification.
>  File name = /tmp/FTNkaaaaflkaB    formatted, sequential access   record = 4
>  In source file diagnostics_readparms.f, at line number 1794
> make: *** [output.txt] Error 1

and aim.5l_cs/tr_run.thSI/output.txt ends shortly with:
(PID.TID 0000.0001) S/R DIAGNOSTICS_READPARMS, read namelist "diagnostics_list": start

My impression is that we have a problem in testreport with 
multiple tests.

2) You changed back some of the namelist but not all of them.
(I attached here the result of the command:
egrep '1:' */input*/data* | grep -v 'Header' )
I would prefer to have only 1 type of namelist (as it was before
Nov 24), instead of a mix of different syntax, some working with 
one compiler but not with an other, and some with just the reverse.
>From my point of view, this is just a pain to maintain.

Thanks,

Jean-Michel
-------------- next part --------------
aim.5l_cs/input/data.diagnostics:   fields(1:3,1) = 'ETAN    ','ETANSQ  ','DETADT2 ',
aim.5l_cs/input/data.diagnostics:   levels(1:5,2) = 1.,2.,3.,4.,5.,
aim.5l_cs/input/data.diagnostics:   fields(1:17,2) = 'UVEL    ','VVEL    ','WVEL    ','THETA   ','SALT    ',
aim.5l_cs/input/data.diagnostics:   fields(1:20,3) = 'UFLUX   ', 'VFLUX   ',
aim.5l_cs/input/data.diagnostics:   levels(1:5,4) = 1.,2.,3.,4.,5.,
aim.5l_cs/input/data.diagnostics:   fields(1:9,4) = 'RELHUM  ', 'DIABT   ', 'DIABQ   ',
aim.5l_cs/input/data.diagnostics: stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
aim.5l_cs/input/data.diagnostics: stat_fields(1:4,4)= 'LdSnowH ', 'GrdSurfT', 'GrdTemp ', 'GrdWater',
aim.5l_cs/input.thSI/data.diagnostics:   fields(1:3,1) = 'ETAN    ','ETANSQ  ','DETADT2 ',
aim.5l_cs/input.thSI/data.diagnostics:   levels(1:5,2) = 1.,2.,3.,4.,5.,
aim.5l_cs/input.thSI/data.diagnostics:   fields(1:17,2) = 'UVEL    ','VVEL    ','WVEL    ','THETA   ','SALT    ',
aim.5l_cs/input.thSI/data.diagnostics:   fields(1:20,3) = 'UFLUX   ', 'VFLUX   ',
aim.5l_cs/input.thSI/data.diagnostics:   levels(1:5,4) = 1.,2.,3.,4.,5.,
aim.5l_cs/input.thSI/data.diagnostics:   fields(1:9,4) = 'RELHUM  ', 'DIABT   ', 'DIABQ   ',
aim.5l_cs/input.thSI/data.diagnostics:   fields(1:11,5) = 'SI_Fract', 'SI_Thick', 'SI_SnowH',
aim.5l_cs/input.thSI/data.diagnostics: stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
aim.5l_cs/input.thSI/data.diagnostics: stat_fields(1:4,4)= 'LdSnowH ', 'GrdSurfT', 'GrdTemp ', 'GrdWater',
aim.5l_cs/input.thSI/data.diagnostics: stat_fields(1:6,5)= 'SI_Fract', 'SI_Thick', 'SI_SnowH',
dic_example/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
dome/input/data.diagnostics:#  levels(1:3,1) = 1.,3.,5.,
dome/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
fizhi-cs-32x32x10/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
fizhi-cs-aqualev10/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
fizhi-gridalt-hs/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
global_ocean.cs32x15/input/data.diagnostics:   fields(1:12,1) = 'ETAN    ','ETANSQ  ','DETADT2 ','PHIBOT  ','PHIBOTSQ',
global_ocean.cs32x15/input/data.diagnostics:   fields(1:15,2) = 'UVEL    ','VVEL    ','WVEL    ','PHIHYD  ',
global_ocean.cs32x15/input/data.diagnostics:#  levels(1:12,3) = 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13.,
global_ocean.cs32x15/input/data.diagnostics:   fields(1:6,3) = 'DRHODR  ','RHOAnoma','CONVADJ ',
global_ocean.cs32x15/input/data.diagnostics:   fields(1:8,4) = 'ADVx_TH ','ADVy_TH ','ADVr_TH ',
global_ocean.cs32x15/input/data.diagnostics: stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
global_with_exf/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
hs94.cs-32x32x5/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
lab_sea/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
MLAdjust/input.0.leith/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
MLAdjust/input.0.leithD/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
MLAdjust/input.0.smag/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
MLAdjust/input.1.leith/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
MLAdjust/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',
natl_box/input/data.diagnostics:#stat_fields(1:5,1)= 'ETAN    ','UVEL    ','VVEL    ','WVEL    ', 'THETA   ',


More information about the MITgcm-devel mailing list