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

Cam history file has bad values, while cpl history has good values

nicolenATginsburg

Nicole K Neumann
New Member
Run completes with ATM errors at the end of the run, and Cam history files have bad values, while cpl history file has good values.



For example, here are the values for PSL from CAM and CPL.

Cam:

float PSL(time, lat, lon) ;

PSL:units = "Pa" ;

PSL:long_name = "Sea level pressure" ;

PSL:cell_methods = "time: mean" ;

-5.92869, 7.776887, -5.92869, 7.776887, -5.92869, 7.776887, -5.92869,

7.776887, -5.92869, 7.776887, -5.92869, 7.776887, -5.92869, 7.776887,

...

-0.2475135, 7.775828, 1.303051e-12, 7.775809, 3.526543e-22, 7.775792,

-8.828553e-14, 7.775779, 1.189465e+23, 7.775765, 1.51897e+31, 7.775751,

-2.094252e-39, 7.775737, -3.187481e+20, 7.775726, 1.249801e-29, 7.775719,

7.717534e-17, 7.775713, -5.761883e-36, 7.775712, 9.63559e-27, 7.775712,

-1.81538e+24, 7.775712, 9.908441e-41, 7.775712, 2.283258e+34, 7.775713,

-1.084744e-13, 7.775715, 1.394186e+29, 7.775718, -3.58599e+15, 7.775722,

-1.945867e+16, 7.775726, -4.129056e+18, 7.775732, -1.400224e+15,

7.775738, -2.687036e-17, 7.775746, -8.600102e+09, 7.775757, 2.483449e+11,

7.775771, -1.302046e+17, 7.775788, 7.30877e-32, 7.775808, -3.454912e+10,

7.77583, -1.746326e-35, 7.775856, -6.974364e-14, 7.775884, 8.275652e-05,

7.775914, 8.216959e+35, 7.775945, -1.026513e+19, 7.775979, -1.205153e-24,

7.776014, -213.8838, 7.776051, -8.235451e-15, 7.77609, 2.409902e+31,

7.776131, -4.423682e+22, 7.776175, 2.721311e-11, 7.776221, 0.1818345,

7.776268, -1.813536e+08, 7.77632, -1.759373e-06, 7.776371, -3338.726,

7.776423, 9.027232e-05, 7.776473, 1.773901e-36, 7.776522, 3.019264e-13,


CPL:

double a2x_Sa_pslv(time, a2x_ny, a2x_nx) ;

a2x_Sa_pslv:_FillValue = 1.e+30 ;

a2x_Sa_pslv:units = "Pa" ;

a2x_Sa_pslv:long_name = "Sea level pressure" ;

a2x_Sa_pslv:standard_name = "air_pressure_at_sea_level" ;

a2x_Sa_pslv:internal_dname = "a2x_ax" ;

101938.125419003, 101938.125419003, 101938.125419003, 101938.125419003,

101938.125419003, 101938.125419003, 101938.125419003, 101938.125419003,

...

101777.114081499, 101783.430945425, 101788.458593344, 101791.263333731,

101792.819357162, 101794.162175482, 101795.648383807, 101797.107450191,

101798.258718207, 101799.265414352, 101800.886768978, 101803.23031079,

101806.574731783, 101810.404380601, 101814.293483587, 101817.992617524,

101822.187584546, 101826.927000413, 101832.133242043, 101838.218493853,

101845.939986428, 101854.956868883, 101864.776344966, 101875.042923609,

101886.035141523, 101897.240491434, 101909.06042378, 101921.03290822,

101932.326922289, 101942.067836067, 101949.508251893, 101955.873870038,

101962.130896177, 101968.762995403, 101974.995874386, 101981.071510291,

101987.804659774, 101994.372498533, 102000.969135356, 102007.77550018,

I get this atm run time error at the end of the run
QNEG3 from D_P_COUPLING:num_a1 Min. mixing ratio violated at 226620637 points. Worst = 0.5E-08
QNEG3 from D_P_COUPLING:num_a4 Min. mixing ratio violated at 536980862 points. Worst = 0.1E-04
QNEG3 from zm_conv_tend:CLDLIQ Min. mixing ratio violated at 28 points. Worst = -0.3E-11
QNEG3 from zm_conv_tend:RAINQM Min. mixing ratio violated at 20 points. Worst = -0.7E-08
QNEG3 from nucleatei:num_a3 Min. mixing ratio violated at 2404 points. Worst = 0.7E-05
QNEG3 from ndrop:num_a1 Min. mixing ratio violated at 20708 points. Worst = 0.3E-05
QNEG3 from ndrop:num_a2 Min. mixing ratio violated at 100913 points. Worst = 0.9E-05
QNEG3 from ndrop:num_a3 Min. mixing ratio violated at 74245 points. Worst = 0.9E-05
QNEG3 from ndrop:num_a4 Min. mixing ratio violated at 339626512 points. Worst = 0.1E-04
QNEG3 from cldwat:num_a1 Min. mixing ratio violated at 20708 points. Worst = 0.3E-05
QNEG3 from cldwat:num_a2 Min. mixing ratio violated at 100913 points. Worst = 0.9E-05
QNEG3 from cldwat:num_a3 Min. mixing ratio violated at 74245 points. Worst = 0.9E-05
QNEG3 from cldwat:num_a4 Min. mixing ratio violated at 339626512 points. Worst = 0.1E-04
QNEG3 from aero_model_wetdep:num_a1 Min. mixing ratio violated at 487865108 points. Worst = 0.1E-04
QNEG3 from aero_model_wetdep:num_a2 Min. mixing ratio violated at 599446366 points. Worst = 0.1E-04
QNEG3 from aero_model_wetdep:num_a3 Min. mixing ratio violated at 487855 points. Worst = 0.1E-04
QNEG3 from convtran2:num_a1 Min. mixing ratio violated at 8513 points. Worst = -0.2E+03
QNEG3 from convtran2:num_a2 Min. mixing ratio violated at 6148 points. Worst = 0.1E-04
QNEG3 from convtran2:num_a3 Min. mixing ratio violated at 14451 points. Worst = 0.9E-05
QNEG3 from convtran2:num_a4 Min. mixing ratio violated at 103725231 points. Worst = 0.9E-05
QNEG3 from vertical diffusion:num_a1 Min. mixing ratio violated at 28590047 points. Worst = 0.1E-04
QNEG3 from vertical diffusion:num_a2 Min. mixing ratio violated at 45093526 points. Worst = 0.1E-04
QNEG3 from vertical diffusion:num_a3 Min. mixing ratio violated at 16495 points. Worst = 0.1E-04
QNEG3 from vertical diffusion:num_a4 Min. mixing ratio violated at 252925085 points. Worst = 0.1E-04
QNEG3 from aero_model_drydep:num_a1 Min. mixing ratio violated at 594783685 points. Worst = 0.1E-04
QNEG3 from aero_model_drydep:num_a2 Min. mixing ratio violated at 808601661 points. Worst = 0.1E-04
QNEG3 from aero_model_drydep:num_a3 Min. mixing ratio violated at 1574812 points. Worst = 0.8E-05
QNEG3 from aero_model_drydep:num_a4 Min. mixing ratio violated at ********* points. Worst = 0.7E-05
 

Attachments

  • CaseStatus.txt
    13.6 KB · Views: 0
  • version.txt
    8.5 KB · Views: 0

nicolenATginsburg

Nicole K Neumann
New Member
I also get an atm build warning
err:

cat: Srcfiles: No such file or directory
/burg/crew/projects/CESM2.2/components/cam/src/physics/cam/cmparray_mod.F90(380): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
666 format('cmp3d: ', a10, 3(1x, i4), 3(1x, e20.14))
---------------------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/physics/cam/cmparray_mod.F90(455): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
666 format('chksum: ', a8, 1x, e20.14, 6(1x, i4))
--------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/physics/pumas/micro_pumas_data.F90(179): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [SELF]
subroutine MGPacker_finalize(self)
-----------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/utils/pilgrim/mod_comm.F90(3048): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [Q1OUT]
subroutine mp_sendirr_r4 ( comm, send_bl, recv_bl, q1in, q1out, q2in, q2out, &
---------------------------------------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/chemistry/pp_trop_mam4/mo_prod_loss.F90(7): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [PROD]
subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/chemistry/pp_trop_mam4/mo_prod_loss.F90(7): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [LOSS]
subroutine exp_prod_loss( prod, loss, y, rxt, het_rates )
--------------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/utils/wrap_mpi.F90(1242): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [WIN]
subroutine mpiwincreate(base,size,comm,win)
------------------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/physics/cam/cldwat.F90(984): remark #7713: This statement function has not been used. [HEAVY]
real(r8) heavy, heavym, a1, a2, heavyp, heavymp
------------^
/burg/crew/projects/CESM2.2/components/cam/src/physics/cam/cldwat.F90(984): remark #7713: This statement function has not been used. [HEAVYM]
real(r8) heavy, heavym, a1, a2, heavyp, heavymp
-------------------^
/burg/crew/projects/CESM2.2/components/cam/src/physics/cam/cldwat.F90(984): remark #7713: This statement function has not been used. [HEAVYP]
real(r8) heavy, heavym, a1, a2, heavyp, heavymp
-----------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/chemistry/mozart/mo_aurora.F90(43): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [QO2P]
qo2p, qop, qn2p, qnp, pmid, &
--------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/chemistry/mozart/mo_aurora.F90(43): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [QOP]
qo2p, qop, qn2p, qnp, pmid, &
--------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/chemistry/mozart/mo_aurora.F90(43): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [QN2P]
qo2p, qop, qn2p, qnp, pmid, &
-------------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/chemistry/mozart/mo_aurora.F90(43): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [QNP]
qo2p, qop, qn2p, qnp, pmid, &
-------------------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/chemistry/mozart/mo_aurora.F90(79): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [AUR_HRATE]
aur_hrate, cpair, pmid, lchnk, calday, &
---------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/physics/cam/unicon_cam.F90(845): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [OUT]
pbuf, ptend, out)
----------------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/physics/cam/unicon_cam.F90(800): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [Q]
subroutine unicon_init_cnst(name, latvals, lonvals, mask, q)
----------------------------------------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/dynamics/fv/stepon.F90(472): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [DYN_IN]
subroutine stepon_final(dyn_in, dyn_out)
------------------------^
/burg/crew/projects/CESM2.2/components/cam/src/dynamics/fv/stepon.F90(472): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [DYN_OUT]
subroutine stepon_final(dyn_in, dyn_out)
--------------------------------^
 

nicolenATginsburg

Nicole K Neumann
New Member
Here is my porting/machine information
 

Attachments

  • Macros_make.txt
    2.6 KB · Views: 0
  • env_mach_specific.txt
    1.7 KB · Views: 0
  • env_build.txt
    14.6 KB · Views: 1

nicolenATginsburg

Nicole K Neumann
New Member
CAM history had float values while CPL had doubles. In user_nl_cam the variable ndens can be used to set the cam output as 4-byte (ndens = 2, default) or 8-byte (ndens = 1). I googled is 8-byte a double and the first thing I saw was "why is 8-byte always double". After changing the Cam namelist option, I now have reasonable data in the cam history files.
 
Top