Opened 11 months ago

Closed 9 months ago

#3102 closed help (answered)

Dump file cannot be read

Reported by: mtodt Owned by: um_support
Component: UM Model Keywords: start dump
Cc: Platform:
UM Version: 11.0

Description

Hi

My model run is crashing when using a particular start dump (that stems from u-ai718, and the suite is also based on u-ai718). The model doesn't fail with other start dumps. Is there a known flaw/issue that can lead the the below error message? Thanks in advance!

Cheers
Markus

FILE_MANAGER: Assigned : /work/n02/n02/wmcginty/ai718a.da19820101_00
FILE_MANAGER:          : Unit :  12 (portio)
OPEN:  File /work/n02/n02/wmcginty/ai718a.da19820101_00 to be Opened on Unit 12 Exists
OPEN:  Unable to Open File /work/n02/n02/wmcginty/ai718a.da19820101_00 for Read/Write
OPEN:  Claimed 4194304 Bytes (524288 Words) for Buffering
OPEN:  Buffer Address is 0x1aee8fc0
****************** IO Error Report ***********************************
Unit Generating error=   12
*** File states can be reported by setting diagnostic output levels **

????????????????????????????????????????????????????????????????????????????????
??????????????????????????????      WARNING       ??????????????????????????????
?  Warning code: -12
?  Warning from routine: io:file_open
?  Warning message: An error occurred opening a file
?  Warning from processor: 0
?  Warning number: 2
????????????????????????????????????????????????????????????????????????????????

IO: Failure to open file: /work/n02/n02/wmcginty/ai718a.da19820101_00

????????????????????????????????????????????????????????????????????????????????
???!!!???!!!???!!!???!!!???!!!       ERROR        ???!!!???!!!???!!!???!!!???!!!
?  Error code: 1
?  Error from routine: io:file_open
?  Error message: Failed to open file /work/n02/n02/wmcginty/ai718a.da19820101_00
?  Error from processor: 0
?  Error number: 3
????????????????????????????????????????????????????????????????????????????????

Change History (8)

comment:1 Changed 11 months ago by grenville

You are trying to reconfigure 'AINITIAL' into 'AINITIAL' ie you're trying to overwrite AINITIAL, which is owned by Willie — change astart to be a file to be created in your space

Grenville

comment:2 Changed 11 months ago by mtodt

But when I set astart to a file that doesn't exist yet, I get an error message as well.

FILE_MANAGER: Assigned : /work/n02/n02/mtodt/cylc-run/u-bp248/share/data/History_Data/bp248a.da19880901_00
FILE_MANAGER:          : Unit :  22 (portio)
OPEN:  File /work/n02/n02/mtodt/cylc-run/u-bp248/share/data/History_Data/bp248a.da19880901_00 to be Opened on Unit 22 does not Exist
OPEN:  **WARNING: FILE NOT FOUND
OPEN:  Ignored Request to Open File /work/n02/n02/mtodt/cylc-run/u-bp248/share/data/History_Data/bp248a.da19880901_00 for Reading
****************** IO Error Report ***********************************
Unit Generating error=   22
*** File states can be reported by setting diagnostic output levels **

????????????????????????????????????????????????????????????????????????????????
??????????????????????????????      WARNING       ??????????????????????????????
?  Warning code: -12
?  Warning from routine: io:file_open
?  Warning message: An error occurred opening a file
?  Warning from processor: 0
?  Warning number: 20
????????????????????????????????????????????????????????????????????????????????

IO: Failure to open file: /work/n02/n02/mtodt/cylc-run/u-bp248/share/data/History_Data/bp248a.da19880901_00
****************** IO Error Report ***********************************
Unit Generating error=   22
---File States --------------------------
---End File States ----------------------

????????????????????????????????????????????????????????????????????????????????
???!!!???!!!???!!!???!!!???!!!       ERROR        ???!!!???!!!???!!!???!!!???!!!
?  Error code: 1
?  Error from routine: io:file_open
?  Error message: Failed to open file /work/n02/n02/mtodt/cylc-run/u-bp248/share/data/History_Data/bp248a.da19880901_00
?  Error from processor: 0
?  Error number: 21
????????????????????????????????????????????????????????????????????????????????

comment:3 Changed 11 months ago by grenville

The reconfiguration is switched off - I thought you wanted to reconfigure /work/n02/n02/wmcginty/ai718a.da19820101_00 to run with. In which case set AINITIAL to work/n02/n02/wmcginty/ai718a.da19820101_00 and switch reconfiguration on.

Grenville

comment:4 Changed 11 months ago by mtodt

Hi Grenville

Apologies for reconfiguration not even being switched on! Seems like I confused myself with testing all the switches and flags.
I did as you suggested but atmos_main failed with the following error:

????????????????????????????????????????????????????????????????????????????????
???!!!???!!!???!!!???!!!???!!!       ERROR        ???!!!???!!!???!!!???!!!???!!!
?  Error code: 10
?  Error from routine: INITTIME
?  Error message:
?        Mismatch between model_basis_time read from namelist and validity time read
?        from dump fixed header.
?
?        model_basis_time    =   1982      1      1      0      0      0
?        fixhd validity time =   1982      9      1      0      0      0
?
?        If this is intentional disable this check by setting all elements of
?        namelist:nlstcall=model_basis_time to zero. Otherwise make adjustments to
?        either the namelist or dump to ensure that these two values match.
?
?        Please note, that if it is valid to do so for your job setup, you may change
?        the validity time of the dump using the reconfiguration namelist variables:
?        * namelist:headers=i_override_date_time
?        * namelist:headers=new_date_time
?
?        Please see the metadata help text associated with these two variables for
?        more information.
?  Error from processor: 0
?  Error number: 92
????????????????????????????????????????????????????????????????????????????????

I find this strange as AINITIAL is labelled ai718a.da19820101_00. Is there a way to check the header of this type of file? I can't find it using xconv. Moreover, job.out indicates that the date of the dump file is set to 1988-09-01:

READING UNIFIED MODEL DUMP ON UNIT 22
#####################################

UM_READDUMP : Dump field 468 switching from ppx_atm_ozone to ppx_atm_tzonal
Data successfully read
373446534 words read from unit 22
(Model data)
CLOSE: File /work/n02/n02/mtodt/cylc-run/u-bp248/share/data/History_Data/bp248a.da19820101_00 Closed on Unit 22
FILE_MANAGER: Released : Unit :  22 (portio)

...

Prognostic fields

Key to output - dump or other
Data stored on land/sea points
No of fields
Length of field before unpacking (==LBLREC)
Data type
STASH Code
Start of first field
Description
Validity time (yyyy:mm:dd:hh:mn:ss)
Forecast period
0   85  139968   1     2     1 U COMPNT OF WIND AFTER TIMESTEP        1988: 9: 1: 0: 0: 0   0
0   85  140400   1     3    86 V COMPNT OF WIND AFTER TIMESTEP        1988: 9: 1: 0: 0: 0   0
0   86  139968   1     4   171 THETA AFTER TIMESTEP                   1988: 9: 1: 0: 0: 0   0
1    1   52481   1     5   257 OROGRAPHIC GRADIENT  X COMPONENT       1988: 9: 1: 0: 0: 0   0
1    1   52481   1     6   258 OROGRAPHIC GRADIENT  Y COMPONENT       1988: 9: 1: 0: 0: 0   0
1    4   52481   1     9   259 SOIL MOISTURE CONTENT IN A LAYER       1988: 9: 1: 0: 0: 0   0
0   86  139968   1    10   263 SPECIFIC HUMIDITY AFTER TIMESTEP       1988: 9: 1: 0: 0: 0   0
...

May I have affected the file in previous run attempts when using a file for 1988-09-01?
Many thanks for your help!

Cheers
Markus

comment:5 Changed 11 months ago by grenville

Reset the date:

set i_override_date_time to 2 (override full date and time) and set new_date_time to 1988,9,1,0,0,0. Then re-run the reconfiguration.

Grenville

comment:6 Changed 11 months ago by mtodt

Is that just a way to circumvent the error or do I then need to run from 1988 instead of 1982? We want to have the longest simulation period we can get, ideally using the start dump as 1979 and run from there. What would I need to do for that?

comment:7 Changed 11 months ago by grenville

I don't think it matters much what the year is set to for a climate run - the month probably does matter more. Maybe check with PL.

Grenville

comment:8 Changed 9 months ago by ros

  • Resolution set to answered
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.