Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

'ERROR: trcdata_init: failed to allocate x array' in SE case

James King

James King
Member
Hi all,

I've come across an error which I haven't seen before and which hasn't been discussed in the forums elsewhere. This is a MUSICA case running the FCnudged compset in CESM2.2.2. The case compiles and submits as normal, but crashes fairly quickly when loading in emissions files. Below is the relevant output from the atm log:

srf_emis_inti: n_emis_files = 87
(GETFIL): attempting to find local file CAMS-GLOB-ANT_Glb_ne0np4.UK_JAK_ne30x16_SO2_anthro-ag-ship-res_surface_v3.1_c20240607.nc
(GETFIL): using /work/n02/n02/jking/cesm/MUSICA_REPO/ne0np4.UK_JAK_ne30x16/CAMS_data/CAMS-GLOB-ANT_Glb_ne0np4.UK_JAK_ne30x16_SO2_anthro-ag-ship-res_surface_v3.1_c20240607.nc
trcdata_init: data type: CYCLICAL file: /work/n02/n02/jking/cesm/MUSICA_REPO/ne0np4.UK_JAK_ne30x16/CAMS_data/CAMS-GLOB-ANT_Glb_ne0np4.UK_JAK_ne30x16_SO2_anthro-ag-ship-res_surface_v3.1_c20240607.nc
(GETFIL): attempting to find local file CAMS-GLOB-ANT_Glb_ne0np4.UK_JAK_ne30x16_SO2_anthro-ag-ship-res_surface_v3.1_c20240607.nc
(GETFIL): using /work/n02/n02/jking/cesm/MUSICA_REPO/ne0np4.UK_JAK_ne30x16/CAMS_data/CAMS-GLOB-ANT_Glb_ne0np4.UK_JAK_ne30x16_SO2_anthro-ag-ship-res_surface_v3.1_c20240607.nc
open_trc_datafile: /work/n02/n02/jking/cesm/MUSICA_REPO/ne0np4.UK_JAK_ne30x16/CAMS_data/CAMS-GLOB-ANT_Glb_ne0np4.UK_JAK_ne30x16_SO2_anthro-ag-ship-res_surface_v3.1_c20240607.nc
trcdata_init: file%ps allocation error = 5014
ERROR: trcdata_init: failed to allocate x array


I'm not sure what this is - it looks like either some kind of memory error, or some objection to the properties of that input file. Said file looks fine to me, having the expected variables and dimensions, including (crucially) the same number of 'ncol' as the SE grid on which I'm trying to run the case, so I'm not sure what I'm missing.

Any advice is as ever much appreciated.

James
 

yhanw

Yuhan
New Member
Hello James,
I encountered exactly the same error and found your thread here. Do you happen to have any updates? I'd appreciate it if you can share any clues.
Thanks!
Yuhan
 
Vote Upvote 0 Downvote
Top