I ran ROMs with such an error,
    READ_CONTACT - inconsistent grid order, Lm =  103   102
                    in input file:
     Found Error: 05   Line: 198      Source: ROMS/Utility/inp_par.F
     Found Error: 05   Line: 118      Source: ROMS/Drivers/nl_ocean.h
     Elapsed CPU time (seconds):
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
     Dynamic and Automatic memory (MB) usage for Grid 01:  85x63x20  tiling:
    2x2
         tile          Dynamic        Automatic            USAGE    
    MPI-Buffers
            0             3.60             1.90             5.50           
    0.00
            1             3.60             1.90             5.50           
    0.00
            2             3.60             1.90             5.50           
    0.00
            3             3.60             1.90             5.50           
    0.00
          SUM            14.42             7.60            22.02           
    0.00
     Dynamic and Automatic memory (MB) usage for Grid 02:  111x72x20  tiling:
    2x2
         tile          Dynamic        Automatic            USAGE    
    MPI-Buffers
            0             0.00             2.81             2.81           
    0.00
            1             0.00             2.81             2.81           
    0.00
            2             0.00             2.81             2.81           
    0.00
            3             0.00             2.81             2.81           
    0.00
          SUM             0.00            11.24            11.24           
    0.00
     Dynamic and Automatic memory (MB) usage for Grid 03:  103x75x20  tiling:
    2x2
         tile          Dynamic        Automatic            USAGE    
    MPI-Buffers
            0             0.00           329.96           329.96           
    0.00
            1             0.00       1182243.89       1182243.89           
    0.00
            2             0.00           330.37           330.37           
    0.00
            3             0.00             2.72             2.72           
    0.00
          SUM             0.00       1182906.93       1182906.94           
    0.00
     Dynamic and Automatic memory (MB) usage for Grid 04:  105x75x20  tiling:
    2x2
         tile          Dynamic        Automatic            USAGE    
    MPI-Buffers
            0             0.00             2.77             2.77           
    0.00
            1             0.00             2.77             2.77           
    0.00
            2             0.00             2.77             2.77           
    0.00
            3             0.00             2.77             2.77           
    0.00
          SUM             0.00            11.07            11.08           
    0.00
        TOTAL            14.43       1182936.85       1182951.27           
    0.00
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
     ROMS/TOMS - Output NetCDF summary for Grid 01:
     ROMS/TOMS - Output NetCDF summary for Grid 02:
     ROMS/TOMS - Output NetCDF summary for Grid 03:
     ROMS/TOMS - Output NetCDF summary for Grid 04:
     Found Error: 05   Line: 443      Source: ROMS/Utility/close_io.F
     ROMS/TOMS - Configuration error ..... exit_flag:   5
     ERROR: Illegal model configuration.
    using the Contact form at "Ocean Modeling Discussion".
			
			
									
									
						Error in ROMS execution
- 
				DYB20200202
- Posts: 1
- Joined: Wed Apr 06, 2022 5:59 pm
- Location: Lanzhou University of Technology
Re: Error in ROMS execution
Check your .in file. ROMS is telling you that you don't have a consistent order of values for Lm (and probably others). In your case, since you have 4 grids (Ngrids = 4), there should be 4 values, separated by spaces that correspond to your 4 grids in order. The values should be Lm for grid 1, grid 2, grid 3, then grid 4 (85 111 103 105). The same order (grid1 grid2 grid3 grid4) will need to be followed for many values in your .in file.