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

FATAL ERROR: Empty stream

ucas_qs

qiushi Zhang
Member
Hello, everyone. I cp $CCSMROOT/models/ocn/pop2/input_templates/gx1v7_tavg_contents to $CASE/SourceMods/src.pop/ and comment out unnecessary streams (only retain stream 1, which is h.). And I modified the tavg_nml in pop_in the $CASE/run/ to delete unnecessary output stream. Then I run case.setup --reset and case.build,and submit it. But there were errors :
POP aborting...
FATAL ERROR: Empty stream

------------------------------------------------------------------------
application called MPI_Abort(MPI_COMM_WORLD, 0) - process 553
------------------------------------------------------------------------

I looked at the gx1v7_tavg_contents in $CASE/run/ and found that the other streams in it were not commented out. And the the tavg_nml in pop_in the $CASE/run/ are still five output streams. I don't understand what's going on. Are my changes overridden at build time? However, if this is the case, it is equivalent to nothing has been changed. Why is an error reported? Previous runs were successful. Thanks for your reply.
 

mlevy

Michael Levy
CSEG and Liaisons
Staff member
Yes, pop_in is overwritten every time the model is built or run. You can change what is in the namelist by modifying user_nl_pop in your case directory. &tavg_nml is tricky, though, because it is generated by running ocn.base.tavg.csh and other c-shell scripts. The simplest fix would be to set n_tavg_streams = 1 and ltavg_ignore_extra_streams = .true. in user_nl_marbl, but you could also copy ocn.base.tavg.csh into SourceMods and modify the stream definitions there.
 

ucas_qs

qiushi Zhang
Member
Yes, pop_in is overwritten every time the model is built or run. You can change what is in the namelist by modifying user_nl_pop in your case directory. &tavg_nml is tricky, though, because it is generated by running ocn.base.tavg.csh and other c-shell scripts. The simplest fix would be to set n_tavg_streams = 1 and ltavg_ignore_extra_streams = .true. in user_nl_marbl, but you could also copy ocn.base.tavg.csh into SourceMods and modify the stream definitions there.
Thank you for your reply. If I set n_tavg_streams = 1 and ltavg_ignore_extra_streams = .true. in user_nl_pop , do I need to cp $CCSMROOT/models/ocn/pop2/input_templates/gx1v7_tavg_contents to $CASE/SourceMods/src.pop/ and comment out unnecessary streams (only retain stream 1, which is h.) ?
 

mlevy

Michael Levy
CSEG and Liaisons
Staff member
Nope, you do not need gx1v7_tavg_contents in SourceMods; POP will ignore anything requested in streams 2 or 3 so you don't need to comment them out.
 

ucas_qs

qiushi Zhang
Member
Nope, you do not need gx1v7_tavg_contents in SourceMods; POP will ignore anything requested in streams 2 or 3 so you don't need to comment them out.
Thanks, Mlevy. It's very helpful to me. I have another question. Are the terms about ocean heat budget in POP directly outputed in historical files? What's more, do you have a specific description of the calculation of heat budget in POP?
 

ucas_qs

qiushi Zhang
Member
Nope, you do not need gx1v7_tavg_contents in SourceMods; POP will ignore anything requested in streams 2 or 3 so you don't need to comment them out.
Hello, Mlevy. I'm running case BHISTcmip6 with a resolution of f19_ g17, my scientific questions don't need marine ecology, so I run ./xmlchange OCN_TRACER_MODULES= iage and ./xmlchange CCSM_ BGC = CO2A (Reference for this website, https://bb.cgd.ucar.edu/cesm/threads/pop-aborting-ocean-tracer-module-problem-in-b1850-run.4831/). And then, I run ./case.setup --reset and ./case.build ,and submit the case. Then, the model reported an error
POP aborting...
chl_option==model, but model_chlorophyll is not registered

I look at pop_in the run directory, the "ecosys_ on" is .false. How can I close the ecological module correctly? Another problem, if I make the variables in / buildconf/popconf/ecosys_ tavg_contents commented out, and then run /case.build and submit the case. Will the variables related to ecology not be output in tavg finally? Looking forward to your reply. Thank you very much.
 
Top