Changes between Version 1 and Version 2 of ticket/1851/General


Ignore:
Timestamp:
2017-02-21T16:40:45+01:00 (4 years ago)
Author:
frrh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ticket/1851/General

    v1 v2  
    44Using -Rb for both NEMO and CICE code compilation we find: 
    55 
    6    * TOP_SRC/MEDUSA/sms_medusa.F90 doesn't compile - ierr is OOB - it needs 
    7 to be declared with a dimension of 8.  
     6   * TOP_SRC/MEDUSA/sms_medusa.F90 doesn't compile - ierr is OOB - it needs to be declared with a dimension of 8.  
    87 
    98 
    10    *  lib-4961 : WARNING  
     9   * CICE generates: 
     10{{{ 
     11  lib-4961 : WARNING  
    1112  Subscript -330 is out of range for dimension 2 for array 
    1213  'array_g' at line 2206 in file 'ice_gather_scatter.F90' with bounds 1:332. 
    1314 
    14 ARRAY_G 2nd index is OOB in; 
     15   ARRAY_G 2nd index is OOB in; 
    1516 
    1617              msg_buffer(i,j) = ARRAY_G(this_block%i_glob(i)+nghost,& 
    1718                                      this_block%j_glob(j)+nghost) 
     19}}} 
     20   Heaven knows why we have a negative number here!? 
    1821 
    19 Heaven knows why we have a negative number here!? 
     22   This doesn't cause a failure because its an OOB read. I suspect it would cause a failure if it was an OOB write.  
    2023 
    21 This doesn't cause a failure because its an OOB read. I suspect it would cause a 
    22 failure if it was an OOB write.  
    23  
    24    *  lib-4213 : UNRECOVERABLE library error  
     24   *  We then get: 
     25{{{ 
     26  lib-4213 : UNRECOVERABLE library error  
    2527  A pointer or allocatable array in an I/O list has not been associated 
    2628  or allocated. 
    2729 
    28 Encountered during a namelist WRITE to unit 27 
    29 Fortran unit 27 is connected to a sequential formatted text file: 
    30   "output.namelist.pis" 
    31  
     30   Encountered during a namelist WRITE to unit 27 
     31   Fortran unit 27 is connected to a sequential formatted text file: 
     32     "output.namelist.pis" 
     33}}} 
    3234 
    3335   *  trcnam_medusa.F90 has a section where it's initialising variables from the  
     
    3638      jdms_input  = 3 
    3739 
    38 why? 
    39 jdms_model is not initialised at all - is the 2nd occurrence supposed to refer 
    40 to that? 
     40   why? 
     41   jdms_model is not initialised at all - is the 2nd occurrence supposed to refer to that? 
    4142 
    42 jq10 is not initialised. 
     43   jq10 is not initialised. 
    4344 
    44 Some variables are declared twice in natbio. e.g. 
    45 vsed, xhr  
     45   Some variables are declared twice in natbio. e.g. vsed, xhr  
    4646 
    47    *  Writing of natbio causes the above error. Suggesting something in that  
    48 namelist is unset.  
    49 Skipping that, we get a similar error writing natroam! 
    50 Skip that and natopt seems to be OK but it's the only one of the three namelists 
    51 that is.  
    52 The model then goes on to complete (and completes a 2nd 1-day cycle OK).  
     47   *  Writing of natbio causes the above error. Suggesting something in that namelist is unset.  
     48      Skipping that, we get a similar error writing natroam! 
     49      Skip that and natopt seems to be OK but it's the only one of the three namelists that is.  
     50      The model then goes on to complete (and completes a 2nd 1-day cycle OK).  
    5351 
    54 Checking job.err, the only warning we have is the one about the ARRAY_G 
    55 reference in CICE. This is present in both the NRUN and teh CRUN (why wouldn't 
    56 it be?) 
     52   * The code also refers to a namelist named "nammeddia", but we have no such namelist. Our namelists refer to something called "nammedia" (only one "d") Presumably that's a typo. JP says this is not currently used in our configurations (if it was, it would crash looking for a missing namelist!)   
    5753 
     54 
     55   * Checking job.err, the only warning we have is the one about the ARRAY_G reference in CICE.  
     56     This is present in both the NRUN and teh CRUN (why wouldn't it be?) 
     57 
     58 
     59So we have a number of things to do: 
     60 
     611) Correct ierr dimension to 8 in sms_medusa.F90 
     622) Remove duplicate variable declarations in natbio 
     633) Ensure missing fields are given default values in natbio 
     644) Replace the 2nd occurrence of jdms_input with jdms_model, presumbaly 
     655) Investigate why the namelist writes fail. 
     66