Skip to content
Failed

Changes

Summary

  1. Moving stats call for uprcp and vprcp to after they are calculated. This fixes the silhs restart test. But does not seem to fix the E3SM or CAM tests that are still failing. (details)
  2. Changing wp2thvp, rtpthvp, thlpthvp, and cloud_frac to have an (details)
  3. When the PDF is in the "post" position, a handful of PDF parameters (details)
  4. Changing rcm to be global in pbuf, so that it can be saved to the restart file. This appears to fix the cam_global_regression test. larson-group/sys_admin#763 (details)
  5. Cleaning up some pdf_param related code. (details)
  6. Adding 2D version of zt2zm and zm2zt to clubb_api (details)
  7. Making clubb_intr use 2D versions of zm2zt and zt2zm. larson-group/cam#972 (details)
  8. Fixing bug in error code printing. And clubb now handles a range of latitudes and longitudes, so the error print out must reflect that. larson-group/clubb#972 (details)
  9. Changing cam_global_regression_gfortran_test to cam_global_ERP_Ln9_gfortran_test. (details)
  10. Pushing loop into solve_xm_wpxp_with_single_lhs (#986) (details)
  11. Adding backwards compatibility parameters to runscript. larson-group/cam#984 (details)
  12. Refactoring to remove need for global stats scratch variables. (#988) (details)
  13. Gunthers branch (#989) (details)
  14. Fixing small bug that breaks runs with scalars. (details)
  15. Adds a blank line in order to note that (details)
  16. Implementations of smooth min, max and heaviside function. Added G-Unit tests (details)
  17. Bug fixes to get head of clubb working with CAM (details)
  18. Making subcol_silhs not use clubb_intr as much. larson-group/cam#145 (details)
  19. Making setup_pdf_parameters accept ngrdcols size arrays of stats and grid types. (details)
  20. Making setup_pdf_parameters accept ngrdcols size arrays of stats and grid types. This is BIT_CHANGING for Ncnm and precip_frac since this was being done incorrectly before. larson-group/cam#129 (details)
  21. Forgot two small changes. larson-group/cam#129 (details)
  22. Making precip fracs allocate the proper number of columns. This allows us to finally remove all the data copies in setup_pdf_parameters. larson-group/cam#129 (details)
  23. Removing need for data copies. larson-group/cam#129 (details)
  24. Changing column loop index from j to i. larson-group/cam#129 (details)
  25. Set sclr_dim back to zero and removed parenthesis from advance_clubb_core call (details)
  26. Making compatible with latest clubb change. (details)
  27. Removing data copies that we don't need anymore. This still runs correctly on GPUs. (details)
  28. Making clip_transform_silhs_output use an array of gr. This is how it should have been once the column loop was pushed down into it, but at the time clubb was using gr through a use statement making that not possible. (details)
  29. No more need for these data copies anymore now that pdf_params is allocated with ngrdcol rather than pcols. (details)
  30. Removing unused sclr_tol declaration. larson-group/cam#145 (details)
  31. Changed ifdefs so code builds when CLUBB_SGS is false (details)
  32. BIT_CHANGING:7e8ad492b0e42efda4bc0e45f96ff6471d702c2e (details)
  33. Adds a blank line to trigger git merge with E3SM (details)
  34. This should fix the problem Kate is experiencing. The bug is only exposed when using multiple threads, and this is a workaround, we should still remove the grid setup functionality from setup_clubb_core. I wasn't able to get the run to finish since cam also crashes with multiple threads due to clubb stats, but it get passed the grid allocation thread error. (details)
  35. Removes a blank line in order to trigger merge with E3SM (details)
  36. Pushing column loop into xm_wpxp_clipping_and_stats and monotonic_turbulent_flux_limit. This essentially completes advance_xm_wpxp for now. larson-group/clubb#972 (details)
  37. Replacing the i loop iterator for scalars with sclr. (details)
  38. Pushing loop into advance_xp2_wpxp. (details)
  39. Moving the lhs_dp1 calculation to outside of xp2_xpyp_lhs. This gives us more flexibility, since we want to pass lhs_dp1 into xp2_xpyp_implicit_stats. (details)
  40. Moving the lmm_stepping and stats calls to immediately after calls to xp2_xpyp_solve. This is because xp2_xpyp_implicit_stats saves things that are saved by scratch variables, and these scratch variables are set by the lhs and rhs setup calls. So for the multiple lhs routine, we need to save the scratch variables immediately after these calls before overwriting them by calling lhs and rhs again for a different variable. Since the stats also saves the variable were solving for, we also have to move the lmm_stepping to before this call. (details)
  41. Removing need for stats scratch variables by passing lhs terms to save through agument lists. This makes everything better in every way. (details)
  42. Adding slicing for some lhs arrays being saved in stats. This was causing bit changing in a few lhs terms when run in multicolumn. (details)
  43. Changing names of dp1 variables for up2 and vp2. Surrounding where they're set to be within a l_stats_samp. (details)
  44. RESOLVED:7cdd1f8a1e444a6a01168c331f18419d67527785 the differences commit 7cdd1f8 caused were from moving the xp2_xpyp_implicit_stats into the solve routines in advance_xp2_xpyp. This is because the stats scratch variables (that have been removed) were causing us to save the rtpthlp version of lhs_dp1 into the rtp2 and thlp2, but now we are saving the correct ones. I've confirmed that the only differences in the output are rtp2_dp1 and thlp2_dp1. This problem is not present when we solve with a single lhs, but the backwards compatible flag set forces us into the solve with multiple, so the other test did not detect any bit changes. (details)
  45. I added l_relax_clipping to CLUBB's config flags. (details)
  46. Added l_enable_relaxed_clipping to the CAM-CLUBB code. (details)
  47. Added a3_coef_min to the list of CLUBB's tunable parameter and then (details)
  48. I added CLUBB's new tunable parameter a3_coef_min to the CAM-CLUBB code. (details)
  49. Adding camClubbCodeCopy.bash to the jenkins directory for testing Clubb changes. larson-group/sys_admin#768 (details)
  50. Added idiot-proofing to print a warning message when l_diag_Lscale_from_tau (details)
  51. Updating the call to setup_clubb_core_api in accordance with new (details)
  52. Adding in Jenkinsfile to test and changing file and folder name. (details)
  53. Changing syntax to load and run Jenkinsfile. (details)
  54. Fixing errors in previous change to allow script to work. (details)
  55. Adding in temp arguments for testing. (details)
  56. I added the code for the l_linearize_pbl_winds flag that was originally (details)
  57. Trying scripted Pipeline syntax rather than Declarative syntax to test loading and running our current pipelines. (details)
  58. Removing incorrect function calls for a Scripted pipeline. (details)
  59. Adding in parameters for full runs. (details)
  60. Added code to interface with the latest version of CLUBB. (details)
  61. Adding _pert arrays to other advance_clubb_core call. (details)
  62. Adding in a git clone step to the Cam Clubb Copy test. (details)
  63. Trying out git command rather than checkout for cloning. (details)
  64. Adding correct scm command and removed redundant run commond from end. (details)
  65. Adding space because commit 26b7e8f8d7007f78d655b8fc15045015ce8d4790 fixed the jenkins test that were failing, but did not include the proper resolving messages. RESOLVED:7046396a59f73087323f04b267cd8614ff1653f2 RESOLVED:30559bb00c20ce8a8c21242272f6d16cecb12b45 RESOLVED:970b880d9144efe00ce9d6fa34bcd49a493ac65b RESOLVED:633e158c8e6d5818b39963e6836ef71c1489faf9 RESOLVED:4ae233813e39a8bc7e3b58e600c0f71103fff8b3 (details)
  66. Gunthers branch (#996) (details)
  67. Various simple changes to improve performance. All bit-for-bit. (details)
  68. Pushing loop into calc_stability_correction. (details)
  69. Adding in comments to explaining the technical tricks and methods in each jenkins file so it is clear what they do and why they are there. (details)
  70. Small bug fix. (details)
  71. Another similar small bug fix. (details)
  72. Gunthers branch (#999) (details)
  73. Renamed smth_range to heaviside_smth_range (details)
  74. Added tot_vartn_normlzd statistics. Renamed sclr in advance_helper_module to scalar to be more consistent with clubb naming schemes. (details)
  75. Implemented three further normalized variation stats. Included a (most likely temporary) check because in a few cases, denominator for normalization would be 0. (details)
  76. Changed priorities of total normalized variation stats, included error handling in total normalized variation stats. (details)
  77. Renamed pdf_output_filename. Added grid_level constant to avoid magic numbers in stats_update_var_pt calls. (details)
  78. Gunthers branch 2 (#1002) (details)
  79. Bugfix for merge #1000. stderr was not imported in stat_clubb_utilities.F90, causing compilation to fail. (details)
  80. Added ability to apply smooth min max functions in mixing_length.F90 (details)
  81. Updated deprecated documentation of smooth min and max functions in advance_helper_module.F90. https://github.com/larson-group/clubb/issues/965 (details)
  82. Checked whether results really are identical even with round-off when we have l_smooth_min_max=T and smooth_min_max_mag=zero. Next commit rolls some of these changes back for merge into master. https://github.com/larson-group/clubb/issues/965 (details)
  83. Added test cases to smooth_min_max_tests.F90 and updated documentation. (details)
  84. Constructing rcm within SILHS (as rcm_pdf) (#1011) (details)
  85. Constructing rcm within SILHS (as rcm_pdf) (#1011) (details)
  86. Updating for changes to CLUBB.  See https://github.com/larson-group/clubb/commit/e4f125ba067ba8083f917e0e06b6b2398483d3e4. (details)
  87. Almost final loop pushes (#1012) (details)
  88. Making pdf_implicit_coefs_terms a type containing 2D arrays. (#1014) (details)
  89. Making compatible with latest clubb change. (details)
  90. This commit is not bit changing (details)
  91. The G_unit tests never allocated pdf_implicit_coefs_terms. It's unclear to me how these were working before, but it seems that something about making these 2D allocatable arrays exposed the bug. (details)
  92. Making zt2zm calls with pdf_implicit_coefs_terms use the 2D version. (details)
  93. Removing setup_grid and setup_parameters functionality from setup_clubb_core. This is beacuse in host models the required grid information may not be known during the setup process, resulting in dummy arguments for setup_clubb_core and the grid and paramters being setup during runtime anyway. Now, in the host models we can call these subroutines immediately after setup_clubb_core to maintain identical functionality (sam, wrf), and in others we can wait to call these until the main timestepping procedure (cam,e3sm). (details)
  94. Making compatible with latest clubb change. (details)
  95. Making 2D versions of setup_grid and setup_parameters. (details)
  96. Now using 2D versions of setup_grid and setup_parameters (details)
  97. Making lmin a scalar again, twas a mistake to make it an array, it can only take on one value. (details)
  98. Making compatible with latest clubb change. (details)
  99. Making nu_vert_res_dep a type containing arrays, as opposed to being an array of types. (details)
  100. Making compatible with latest clubb change. (details)
Commit 775ab377c5ff0ed340e9dbfa0bcb7af76d1687d0 by Gunther Huebler
Moving stats call for uprcp and vprcp to after they are calculated. This fixes the silhs restart test. But does not seem to fix the E3SM or CAM tests that are still failing.
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 163d72edd6a294e88172d2407b3d6050344fa9a1 by bmg2
Changing wp2thvp, rtpthvp, thlpthvp, and cloud_frac to have an
attribute of "global" in the PBUF rather than "physpkg". It is
necessary to save these variables to the restart file in order
to have restarts work correctly when the PDF is in the "post" position.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 233c6f712cb6583d103a4422cd7c73a45d13e7d7 by bmg2
When the PDF is in the "post" position, a handful of PDF parameters
on momentum levels (w_1, w_2, varnce_w_1, varnce_w_2, mixt_frac)
also need to be saved to the restart file.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit bb8cb6401cc124863036a8dd22366e20e891284d by Gunther Huebler
Changing rcm to be global in pbuf, so that it can be saved to the restart file. This appears to fix the cam_global_regression test. larson-group/sys_admin#763
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 900835ed2fd68d1200c3409c6f03f636814519cb by Gunther Huebler
Cleaning up some pdf_param related code.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 402036c07820f647c23fbe11eae422423adacad7 by Gunther Huebler
Adding 2D version of zt2zm and zm2zt to clubb_api
The file was modified clubb_api_module.F90 (diff)
Commit 6d1bf27d401ae6642bdb5c03f6f5ac338b165e02 by Gunther Huebler
Making clubb_intr use 2D versions of zm2zt and zt2zm. larson-group/cam#972
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit e21642f24f0d643737ac50f3ec33d9d811b72978 by Gunther Huebler
Fixing bug in error code printing. And clubb now handles a range of latitudes and longitudes, so the error print out must reflect that. larson-group/clubb#972
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 931efbaa4872503a4c07c90c80aa78dd6276e429 by pbroels
Changing cam_global_regression_gfortran_test to cam_global_ERP_Ln9_gfortran_test.
The file was addedjenkins_tests/cam_global_ERP_Ln9_gfortran_test/Jenkinsfile
The file was removedjenkins_tests/cam_global_regression_gfortran_test/Jenkinsfile
Commit 76ade90ca6c58592fb9ad1ed4232a03249257f02 by noreply
Pushing loop into solve_xm_wpxp_with_single_lhs (#986)

Co-authored-by: Peter Roels <56004443+pbroels@users.noreply.github.com>
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 40cfa46aa71c7b298bbe199de817d6c013ff39f3 by Gunther Huebler
Adding backwards compatibility parameters to runscript. larson-group/cam#984
The file was modified run_scripts/run_cesm_uwm_coarse_res_r8029_flags.sh (diff)
Commit 5c71aa30cb7d3a8d1d12c9fcfee59669157b0896 by noreply
Refactoring to remove need for global stats scratch variables. (#988)

* Refactoring to remove need for global stats scratch variables. larson-group/clubb#972

* Changing name of new stats_scratch variables to be more descriptive.
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit ed18e641c3b7fa3567c638f8fd52f6f4fe01f43d by noreply
Gunthers branch (#989)

* Refactoring to remove need for global stats scratch variables. larson-group/clubb#972

* Changing name of new stats_scratch variables to be more descriptive.

* Breaking up column loop in solve_xm_wpxp_with_single_lhs. larson-group/clubb#972

* Pushing loop into solve_xm_wpxp_with_multiple_lhs and breaking it up. larson-group/clubb#972

* Pusing loop into xm_wpxp_rhs and xm_wpxp_lhs. larson-group/clubb#972

* Pushing loop into xm_wpxp_solve and xm_wpxp_clipping_and_stats. larson-group/clubb#972
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 0984f81b081d6be7b58a3282fdc3759f6e2f78d4 by Gunther Huebler
Fixing small bug that breaks runs with scalars.
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 207707b4ea74f13f4189b06d0f12bd711b2498d0 by noreply
Adds a blank line in order to note that 

RESOLVED:40cfa46aa71c7b298bbe199de817d6c013ff39f3.
This commit added the old 8029 parameter values to a run script, but didn't change any source code.
The file was modified run_scripts/run_scam.bash (diff)
Commit fd4c092e458fd1143008dd04add873fdeedc836a by 68997723+JanGrn
Implementations of smooth min, max and heaviside function. Added G-Unit tests
The file was modified advance_helper_module.F90 (diff)
Commit e1d7c5788492f6641a43da0dd2507716fea36754 by katec
Bug fixes to get head of clubb working with CAM
The file was modified bld/namelist_files/namelist_defaults_cam.xml (diff)
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit c816bcbd4bb8b8cfa89aa9c0f976ee799cb795e2 by Gunther Huebler
Making subcol_silhs not use clubb_intr as much. larson-group/cam#145
The file was modified src/physics/cam/clubb_intr.F90 (diff)
The file was modified src/physics/cam/subcol_SILHS.F90 (diff)
The file was modified run_scripts/run_cesm_uwm_coarse_res.sh (diff)
Commit bc3082fb4215cf63236c125d1ead5be3a0898c05 by Gunther Huebler
Making setup_pdf_parameters accept ngrdcols size arrays of stats and grid types.
The file was modified clubb_api_module.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
Commit 8799cf0b78200d18dd6a4e5e5b51c9718037fc51 by Gunther Huebler
Making setup_pdf_parameters accept ngrdcols size arrays of stats and grid types. This is BIT_CHANGING for Ncnm and precip_frac since this was being done incorrectly before. larson-group/cam#129
The file was modified src/physics/cam/subcol_SILHS.F90 (diff)
Commit 8decd62fd4618a4cfc05359ec59aef618950cee5 by Gunther Huebler
Forgot two small changes. larson-group/cam#129
The file was modified setup_clubb_pdf_params.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit bc336cf5a74a616c11362dad0ccb2f3c739ab36d by Gunther Huebler
Making precip fracs allocate the proper number of columns. This allows us to finally remove all the data copies in setup_pdf_parameters. larson-group/cam#129
The file was modified src/physics/cam/subcol_SILHS.F90 (diff)
Commit 6a574df7e37c1b18df4b266fd75de92528120b03 by Gunther Huebler
Removing need for data copies. larson-group/cam#129
The file was modified precipitation_fraction.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
Commit a21672f556ca63ae1e7cc4b7851d24cec405ae87 by Gunther Huebler
Changing column loop index from j to i. larson-group/cam#129
The file was modified setup_clubb_pdf_params.F90 (diff)
Commit feefb76df6bef652986acec28d9ac6ea7a32830f by katec
Set sclr_dim back to zero and removed parenthesis from advance_clubb_core call
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 75add209321bc4deea49332d2ade35443260a7e0 by Gunther Huebler
Making compatible with latest clubb change.
The file was modified src/physics/cam/subcol_SILHS.F90 (diff)
Commit f078452993a62351642178c7d76a340f6406c693 by 37674341+huebleruwm
Removing data copies that we don't need anymore. This still runs correctly on GPUs.
The file was modified latin_hypercube_driver_module.F90 (diff)
Commit 8abf9d87614f2fdc27dfaf72324f917be702d582 by 37674341+huebleruwm
Making clip_transform_silhs_output use an array of gr. This is how it should have been once the column loop was pushed down into it, but at the time clubb was using gr through a use statement making that not possible.
The file was modified latin_hypercube_driver_module.F90 (diff)
The file was modified silhs_api_module.F90 (diff)
Commit 7d2d3a8a4ef4a33a36ce8cc202e27c17e9c9378b by 37674341+huebleruwm
No more need for these data copies anymore now that pdf_params is allocated with ngrdcol rather than pcols.
The file was modified latin_hypercube_driver_module.F90 (diff)
Commit 5157b3e1029cf6ac16ff6dc2c80162e9a892a277 by Gunther Huebler
Removing unused sclr_tol declaration. larson-group/cam#145
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit ec3b87ea0a9bf6ae419146b5e8cfd85abe61777b by katec
Changed ifdefs so code builds when CLUBB_SGS is false
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 569a50e3c92f0659394fc4a8bd840bfdb8455b86 by noreply
BIT_CHANGING:7e8ad492b0e42efda4bc0e45f96ff6471d702c2e

because Kate Thayer-Calder set `clubb_l_damp_wp2_using_em = F`.  (Gunther confirmed that code change is the only thing that changes answers.)  However, this change only affects the answer when SILHS is on, and so we're going to leave it in.
The file was modified run_scripts/run_scam.bash (diff)
Commit 960a16c889d0898e95595a6bb59a2f296c3bffa7 by noreply
Adds a blank line to trigger git merge with E3SM
The file was modified advance_clubb_core_module.F90 (diff)
Commit fa55d35e38ee47d9e0c2d85e0105d0830c74fee3 by Gunther Huebler
This should fix the problem Kate is experiencing. The bug is only exposed when using multiple threads, and this is a workaround, we should still remove the grid setup functionality from setup_clubb_core. I wasn't able to get the run to finish since cam also crashes with multiple threads due to clubb stats, but it get passed the grid allocation thread error.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 6216b8e6e638a0862df4c9ccde780c0de21dc484 by noreply
Removes a blank line in order to trigger merge with E3SM
The file was modified advance_clubb_core_module.F90 (diff)
Commit e71c3c281fdec86134cae0107f02f9eefd7a6edd by 37674341+huebleruwm
Pushing column loop into xm_wpxp_clipping_and_stats and monotonic_turbulent_flux_limit. This essentially completes advance_xm_wpxp for now. larson-group/clubb#972
The file was modified mono_flux_limiter.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 2422347813eaf7ab1402e8abb63072fdb362f0fe by 37674341+huebleruwm
Replacing the i loop iterator for scalars with sclr.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 0e2049891bace38ffa03c49004d4dbbb303817fb by 37674341+huebleruwm
Pushing loop into advance_xp2_wpxp.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 548c0002fa64ad11e86a754012f61a0b1fb7ef52 by 37674341+huebleruwm
Moving the lhs_dp1 calculation to outside of xp2_xpyp_lhs. This gives us more flexibility, since we want to pass lhs_dp1 into xp2_xpyp_implicit_stats.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit b042151c9b68a3625a5ed0716f92daca6fd56b6f by 37674341+huebleruwm
Moving the lmm_stepping and stats calls to immediately after calls to xp2_xpyp_solve. This is because xp2_xpyp_implicit_stats saves things that are saved by scratch variables, and these scratch variables are set by the lhs and rhs setup calls. So for the multiple lhs routine, we need to save the scratch variables immediately after these calls before overwriting them by calling lhs and rhs again for a different variable. Since the stats also saves the variable were solving for, we also have to move the lmm_stepping to before this call.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 8c8f3fa1d2bbf4c47cc00e8c15eb63354ac4ba41 by 37674341+huebleruwm
Removing need for stats scratch variables by passing lhs terms to save through agument lists. This makes everything better in every way.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit d2b10e704a1f3896db7b05eab3249c1db38f2754 by 37674341+huebleruwm
Adding slicing for some lhs arrays being saved in stats. This was causing bit changing in a few lhs terms when run in multicolumn.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit ecf272020b8de2182a362ed7eca489443cdcbb94 by 37674341+huebleruwm
Changing names of dp1 variables for up2 and vp2. Surrounding where they're set to be within a l_stats_samp.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit c706ce3fecc70fc1805599a6cbe77b4b839ac3d2 by Gunther Huebler
RESOLVED:7cdd1f8a1e444a6a01168c331f18419d67527785 the differences commit 7cdd1f8 caused were from moving the xp2_xpyp_implicit_stats into the solve routines in advance_xp2_xpyp. This is because the stats scratch variables (that have been removed) were causing us to save the rtpthlp version of lhs_dp1 into the rtp2 and thlp2, but now we are saving the correct ones. I've confirmed that the only differences in the output are rtp2_dp1 and thlp2_dp1. This problem is not present when we solve with a single lhs, but the backwards compatible flag set forces us into the solve with multiple, so the other test did not detect any bit changes.
The file was modified run_scripts/run_cesm_uwm_coarse_res_r8029_flags.sh (diff)
Commit 2d1a62e415c2203ea43159b80f23d66b062d785d by bmg2
I added l_relax_clipping to CLUBB's config flags.
The file was modified model_flags.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit 0c2f6daef1c45189e2441590bf69a81e9bac0c8d by bmg2
Added l_enable_relaxed_clipping to the CAM-CLUBB code.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 36dbc89e7df189d2910e3b3fc2d3bbe5a4084149 by bmg2
Added a3_coef_min to the list of CLUBB's tunable parameter and then
commented-in the a3_coef clipping line found in advance_clubb_core.F90.

The results of this revision are bit-for-bit.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified parameters_tunable.F90 (diff)
The file was modified parameter_indices.F90 (diff)
Commit 9913e3e2ae8482e144c75ee9a90a2fa7f542bee7 by bmg2
I added CLUBB's new tunable parameter a3_coef_min to the CAM-CLUBB code.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 2208bcbd00262f7688841553bc7e4a9d7bb6cd8f by pbroels
Adding camClubbCodeCopy.bash to the jenkins directory for testing Clubb changes. larson-group/sys_admin#768
The file was addedjenkins_tests/camClubbCodeCopy/camClubbCodeCopy.bash
Commit ccb8a9a9a67b277371197b3aadf8aa9cc03fb086 by bmg2
Added idiot-proofing to print a warning message when l_diag_Lscale_from_tau
is being used and C1, C1b, C2rt, C2thl, C2rtthl, C6rt, C6rtb, C6thl, C6thlb,
or C14 do not have a value 1.  This can later be upgraded to a fatal error
when we can finally run this code with the C2 and C6 families of parameters
having a value of 1 (that value is currently 2 right now).
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 74f7ef26a33192e7c3eb641c9d157e2633c31432 by bmg2
Updating the call to setup_clubb_core_api in accordance with new
CLUBB changes in CLUBB revision d0c9b34.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 43cc25a041750c1f7d4ae7363fb63d121040a97e by pbroels
Adding in Jenkinsfile to test and changing file and folder name.
The file was addedjenkins_tests/cam_clubb_code_copy/Jenkinsfile
The file was addedjenkins_tests/cam_clubb_code_copy/cam_clubb_code_copy.bash
The file was removedjenkins_tests/camClubbCodeCopy/camClubbCodeCopy.bash
Commit 0b3b2770913be8da086d26921c724f47b1aa8bce by pbroels
Changing syntax to load and run Jenkinsfile.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit 3bae66b4f66c4af6106491b3b169d77ece89c916 by pbroels
Fixing errors in previous change to allow script to work.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit 9ddd37d35112850c96e1685a3c7d11b045749aa3 by pbroels
Adding in temp arguments for testing.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit d18ee7f0a7af432d15212a93179f0d3777775f4d by bmg2
I added the code for the l_linearize_pbl_winds flag that was originally
brought to us by Sean Santos
The file was modified clubb_precision.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified clip_explicit.F90 (diff)
The file was modified model_flags.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 30559bb00c20ce8a8c21242272f6d16cecb12b45 by pbroels
Trying scripted Pipeline syntax rather than Declarative syntax to test loading and running our current pipelines.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit 970b880d9144efe00ce9d6fa34bcd49a493ac65b by pbroels
Removing incorrect function calls for a Scripted pipeline.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit 633e158c8e6d5818b39963e6836ef71c1489faf9 by pbroels
Adding in parameters for full runs.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit 4ae233813e39a8bc7e3b58e600c0f71103fff8b3 by bmg2
Added code to interface with the latest version of CLUBB.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 26b7e8f8d7007f78d655b8fc15045015ce8d4790 by Gunther Huebler
Adding _pert arrays to other advance_clubb_core call.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 36a4115357397ca24e9fba8ac3a6b4dc9050759c by pbroels
Adding in a git clone step to the Cam Clubb Copy test.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit c89276a200196d7165528a5ccfbfa3ab64100a71 by pbroels
Trying out git command rather than checkout for cloning.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit 23e23c57fe72367b0ed526a54898c49f7b18f306 by pbroels
Adding correct scm command and removed redundant run commond from end.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
Commit f8dabb22ebb75358d9996669c054bd32efc34468 by Gunther Huebler
Adding space because commit 26b7e8f8d7007f78d655b8fc15045015ce8d4790 fixed the jenkins test that were failing, but did not include the proper resolving messages. RESOLVED:7046396a59f73087323f04b267cd8614ff1653f2 RESOLVED:30559bb00c20ce8a8c21242272f6d16cecb12b45 RESOLVED:970b880d9144efe00ce9d6fa34bcd49a493ac65b RESOLVED:633e158c8e6d5818b39963e6836ef71c1489faf9 RESOLVED:4ae233813e39a8bc7e3b58e600c0f71103fff8b3
The file was modified README.md (diff)
Commit 22792d68ce4f823ad5ac389361dae0f25f10bcd8 by noreply
Gunthers branch (#996)

* Pushing column loop into xm_wpxp_clipping_and_stats and monotonic_turbulent_flux_limit. This essentially completes advance_xm_wpxp for now. larson-group/clubb#972

* Replacing the i loop iterator for scalars with sclr.

* Pushing loop into advance_xp2_wpxp.

* Moving the lhs_dp1 calculation to outside of xp2_xpyp_lhs. This gives us more flexibility, since we want to pass lhs_dp1 into xp2_xpyp_implicit_stats.

* Moving the lmm_stepping and stats calls to immediately after calls to xp2_xpyp_solve. This is because xp2_xpyp_implicit_stats saves things that are saved by scratch variables, and these scratch variables are set by the lhs and rhs setup calls. So for the multiple lhs routine, we need to save the scratch variables immediately after these calls before overwriting them by calling lhs and rhs again for a different variable. Since the stats also saves the variable were solving for, we also have to move the lmm_stepping to before this call.

* Removing need for stats scratch variables by passing lhs terms to save through agument lists. This makes everything better in every way.

* Adding slicing for some lhs arrays being saved in stats. This was causing bit changing in a few lhs terms when run in multicolumn.

* Changing names of dp1 variables for up2 and vp2. Surrounding where they're set to be within a l_stats_samp.

* Breaking up column loop in advance_xp2_xpyp and pushing column loop into calc_xp2_xpyp_ta_terms. larson-group/cam#972

* Breaking up column loop in calc_xp2_xpyp_ta_terms.

* Pushing loop into solve_xp2_xpyp_with_single_lhs.

* Fixing mangled merge.

* Pushing loops down.

* Pushing loops and small cleanup.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 027ddbb31fdc89dc29b576b69ae24dcc7cb5b790 by Gunther Huebler
Various simple changes to improve performance. All bit-for-bit.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified pdf_utilities.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 9fbc4c9718f0b333f1cfb08f5b2a134fcd849070 by Gunther Huebler
Pushing loop into calc_stability_correction.
The file was modified advance_helper_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
Commit 42f803b40d8314161d921eeb109ed1357eb50016 by pbroels
Adding in comments to explaining the technical tricks and methods in each jenkins file so it is clear what they do and why they are there.
The file was modified jenkins_tests/cam_clubb_code_copy/Jenkinsfile (diff)
The file was modified jenkins_tests/cam_coarse_res_bin_diff_regression_gfortran_test/Jenkinsfile (diff)
The file was modified jenkins_tests/cam_coarse_res_r8029_flags_bin_diff_regression_gfortran_test/Jenkinsfile (diff)
The file was modified jenkins_tests/cam_global_ERP_Ln9_gfortran_test/Jenkinsfile (diff)
The file was modified jenkins_tests/cam_scam_gfortran_test/Jenkinsfile (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit f6bb40b687635af5c4c333c02024c3fea93be31d by Gunther Huebler
Another similar small bug fix.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit e2ec97eca0f3244643d61e5d258d7341d579b9ad by noreply
Gunthers branch (#999)

* Reworking the flow to make it good.

* Cleaning up.

* Pushing loop into advance_xp2_wpxp.

* Forgot to commit advance_clubb_core.

* Slight improvement to logic of lhs_diff_zm_crank calculation, and fixing stats but present when lhs_diff_zm_crank=true.

* Pushing lots of loops down.

* Changing dimension ordering.

* Cleaning up. This completes advance_wp2_wp3. larson-group/clubb#972

* Changing capitalization of intents.
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 592d69e2936ee8ce9c706d21a606fe2ed89c5a7f by 68997723+JanGrn
Renamed smth_range to heaviside_smth_range
The file was modified advance_helper_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
Commit c9ccb33dd2dd17ed51136d49262370f980d34efa by 68997723+JanGrn
Added tot_vartn_normlzd statistics. Renamed sclr in advance_helper_module to scalar to be more consistent with clubb naming schemes.
The file was modified advance_helper_module.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified stats_sfc_module.F90 (diff)
The file was modified stats_variables.F90 (diff)
Commit e68c14bd04dd6715f4eead46f5252b1cae3d909e by 68997723+JanGrn
Implemented three further normalized variation stats. Included a (most likely temporary) check because in a few cases, denominator for normalization would be 0.
The file was modified stats_variables.F90 (diff)
The file was modified stats_sfc_module.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
Commit 36748fbe6efa8a82b6c846fc8ec914e90114bdfb by 68997723+JanGrn
Changed priorities of total normalized variation stats, included error handling in total normalized variation stats.
The file was modified stats_clubb_utilities.F90 (diff)
Commit 28fb91ccebb1790cc90b29cc7fe8b0b211b727eb by 68997723+JanGrn
Renamed pdf_output_filename. Added grid_level constant to avoid magic numbers in stats_update_var_pt calls.
The file was modified stats_clubb_utilities.F90 (diff)
Commit 8b65b741ae34ba9ef8287f3fcafd627092d4ba13 by noreply
Gunthers branch 2 (#1002)

* Pushing loop down through advance_windm. Other files needed to be touched because they were using a simple function, xpwp_func, which has been replaced in relevenant places by the few lines of code it takes to do.

* Cleaned up intents

* Moving xpwp calcuations back to procedure, but making procedure a 1/2D interface in advance helper. Other various small tweaks as well.
The file was modified clubb_api_module.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
Commit 488bf543bb77e0f48a1958074bd8d468f4421f76 by 68997723+JanGrn
Bugfix for merge #1000. stderr was not imported in stat_clubb_utilities.F90, causing compilation to fail.
The file was modified stats_clubb_utilities.F90 (diff)
Commit 612b58c17db79d410f0d7c183c582f38d1ccb1b5 by 68997723+JanGrn
Added ability to apply smooth min max functions in mixing_length.F90
The file was modified advance_helper_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
Commit 2d9fdafb4596ebd4063d961bc3d1b18c0dbcff3d by 68997723+JanGrn
Updated deprecated documentation of smooth min and max functions in advance_helper_module.F90. https://github.com/larson-group/clubb/issues/965
The file was modified advance_helper_module.F90 (diff)
Commit f050454be526c9ec53c1d5445ba5ea554477010c by 68997723+JanGrn
Checked whether results really are identical even with round-off when we have l_smooth_min_max=T and smooth_min_max_mag=zero. Next commit rolls some of these changes back for merge into master. https://github.com/larson-group/clubb/issues/965
The file was modified advance_helper_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
Commit d540581ca5c6736c20a89d3b168cd0048f6bf3a2 by 68997723+JanGrn
Added test cases to smooth_min_max_tests.F90 and updated documentation.
The file was modified mixing_length.F90 (diff)
Commit f6c58abafbfc4b18957f9eedff60deeb321bad32 by noreply
Constructing rcm within SILHS (as rcm_pdf) (#1011)

* Constructing rcm within SILHS (as rcm_pdf) to avoid having to pass rcm directly to SILHS. Relevant to possibly moving PDF call placement
into the "post" position in CAM.

See https://github.com/ESCOMP/CAM/issues/582.

* Reconstructing rcm inside of setup_pdf_parameters instead of passing it through
the argument lists.  Might help NCAR move the PDF call placement to "post" position
in CAM.

See https://github.com/larson-group/clubb/issues/997.

* Adding descriptive comment.
The file was modified latin_hypercube_driver_module.F90 (diff)
The file was modified silhs_api_module.F90 (diff)
Commit e3cdb98eb6cc532f8ef187f2d1cc56481a75d1f5 by noreply
Constructing rcm within SILHS (as rcm_pdf) (#1011)

* Constructing rcm within SILHS (as rcm_pdf) to avoid having to pass rcm directly to SILHS. Relevant to possibly moving PDF call placement
into the "post" position in CAM.

See https://github.com/ESCOMP/CAM/issues/582.

* Reconstructing rcm inside of setup_pdf_parameters instead of passing it through
the argument lists.  Might help NCAR move the PDF call placement to "post" position
in CAM.

See https://github.com/larson-group/clubb/issues/997.

* Adding descriptive comment.
The file was modified setup_clubb_pdf_params.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit 29e08c789aef09db2b76a418d3ab4c35bfc50a04 by benjamin.andrew.stephens
Updating for changes to CLUBB.  See https://github.com/larson-group/clubb/commit/e4f125ba067ba8083f917e0e06b6b2398483d3e4.
The file was modified src/physics/cam/subcol_SILHS.F90 (diff)
Commit db5164bb7ed0c78ce4f06f92e7bf6118d10addf3 by noreply
Almost final loop pushes (#1012)

* Pushing loop into clip_rcm

* Pushing column loop into trapezoid routines.

* Pushing column loop into clip_covar routines.

* Pushing column loop into clip_variance and clip_skewness.

* Replacing sgn_turbulent_velocity with built in fortran sign

* Removing gr from argument list of stats calls, replacing with just nz

* Replacing some usages of gr with just the number of vertical levels

* Replacing some usages of gr with just the number of vertical levels again

* Missed a couple files to commit

* Pushing some loops and removing need for gr to be passed into some routines.

* Pushing loop into advance_xp3

* Pushing loop into mixing length

* Some more loop pushing

* Pushing some loops into mono_flux limit, skipping the lhs routine since it's a bit tricky at the moment, will do after change to grid class.

* Removing gr from argument list of stats accumulate

* Precalculating zt2zm so that we can use 2d version

* Precalculating um/vm ddzt so that we can use 2d version

* Precalculating things to use 2d version of zt2zm

* Making 2d version of cubic interp for grid class

* Small modifications to sponge damping code argument lists

* Renaming some variables
The file was modified numerical_check.F90 (diff)
The file was modified LY93_pdf.F90 (diff)
The file was modified new_hybrid_pdf_main.F90 (diff)
The file was modified turbulent_adv_pdf.F90 (diff)
The file was modified clip_explicit.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified fill_holes.F90 (diff)
The file was modified new_pdf.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified mono_flux_limiter.F90 (diff)
The file was modified advance_xp3_module.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified sponge_layer_damping.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified adg1_adg2_3d_luhar_pdf.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified grid_class.F90 (diff)
The file was modified new_tsdadg_pdf.F90 (diff)
The file was modified pos_definite_module.F90 (diff)
The file was modified stats_type_utilities.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
The file was modified new_pdf_main.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
Commit 113beb1ec6663fcef3f6bb75c7ee971ab3c0fa45 by noreply
Making pdf_implicit_coefs_terms a type containing 2D arrays. (#1014)

The file was modified clubb_api_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified new_hybrid_pdf_main.F90 (diff)
The file was modified pdf_parameter_module.F90 (diff)
The file was modified new_pdf_main.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
Commit 4da100a6a644f98653e747fc976e1909d1be9d8a by Gunther Huebler
Making compatible with latest clubb change.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit c20662363e47160831e6737942e9f0074f06630d by noreply
This commit is not bit changing

but  the following commits are
        BIT_CHANGING:29e08c789aef09db2b76a418d3ab4c35bfc50a04
BIT_CHANGING:741338adec67b4d8d6087af4c8c3e2206692dc04
BIT_CHANGING:ed63800262913a0c130c80cd16067e7d68548613
for simulations that include silhs
The file was modified run_scripts/run_scam.bash (diff)
Commit 7bc6f76ec8b70bc1789f90b554dca47122c40001 by Gunther Huebler
The G_unit tests never allocated pdf_implicit_coefs_terms. It's unclear to me how these were working before, but it seems that something about making these 2D allocatable arrays exposed the bug.
The file was modified new_pdf_main.F90 (diff)
The file was modified new_hybrid_pdf_main.F90 (diff)
Commit de73c4eefaee2b50045b4f5e706868e84b0f4550 by Gunther Huebler
Making zt2zm calls with pdf_implicit_coefs_terms use the 2D version.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 3643c78f6fe2260f971bba96ead125858b665f1c by Gunther Huebler
Removing setup_grid and setup_parameters functionality from setup_clubb_core. This is beacuse in host models the required grid information may not be known during the setup process, resulting in dummy arguments for setup_clubb_core and the grid and paramters being setup during runtime anyway. Now, in the host models we can call these subroutines immediately after setup_clubb_core to maintain identical functionality (sam, wrf), and in others we can wait to call these until the main timestepping procedure (cam,e3sm).
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit 25568b67709f1d52bc277cbd64bca0ee4c6b86c0 by Gunther Huebler
Making compatible with latest clubb change.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit c623b91a9bf812b85b51b575233ad00e8b98f16c by Gunther Huebler
Making 2D versions of setup_grid and setup_parameters.
The file was modified grid_class.F90 (diff)
The file was modified parameters_tunable.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit ffa8c5c5860210f89bb463fc8aac90c1ba9c5e00 by Gunther Huebler
Now using 2D versions of setup_grid and setup_parameters
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 69aaa53016d97c134fc63c8ebc1a7c029d2b6074 by Gunther Huebler
Making lmin a scalar again, twas a mistake to make it an array, it can only take on one value.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified parameters_tunable.F90 (diff)
Commit 1381bb4a8eef5d1782331e5dd10a009e0b7f3f8a by Gunther Huebler
Making compatible with latest clubb change.
The file was modified src/physics/cam/clubb_intr.F90 (diff)
Commit 02455edff630a52bd333d2b0013748e4bce7e9ff by Gunther Huebler
Making nu_vert_res_dep a type containing arrays, as opposed to being an array of types.
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified parameters_tunable.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 6dd5bcc676dddf357672049bb22b75be6d7e904d by Gunther Huebler
Making compatible with latest clubb change.
The file was modified src/physics/cam/clubb_intr.F90 (diff)