Skip to content
Success

Changes

Summary

  1. CLUBB ticket #1069: (#1092) (details)
  2. CLUBB ticket #1069: (#1092) (details)
  3. Added bv_efold changes for CLUBB API calls (details)
  4. Changing "Fnc" to "fnc" for consistency and easy search. (details)
  5. Memory usage optimizations (#1091) (details)
  6. Making compatible with latest clubb changes. (details)
  7. Openacc tweaks and cleanup (#1097) (details)
  8. Loop to `nz-1` instead of `nz` because upper boundary condition (details)
  9. Openacc tweaks and cleanup 2 (#1099) (details)
  10. Bit changing changes (#1104) (details)
  11. Adding wp_coef and wp_coef_zt to acc data statements. (details)
  12. Bv efold bit changing (#1095) (details)
  13. Fixed some oversights for the bv_efold commits and increased string length for tuning field names for invrs_tau variables - CLUBB ticket #1069 (#1106) (details)
  14. BIT_CHANGING! brunt_vaisala_freq_sqd_mixed now replaces brunt_vaisala_freq_sqd for later calculations - CLUBB ticket #1102 (details)
  15. BIT_CHANGING for lscale setup. Updated configurable_model_flags.in and model_flags.F90 - CLUBB ticket #1102 (#1108) (details)
  16. Likely BIT_CHANGING because of added output fields. Added code outputting C6_term and different Brunt Vaisala frequencies to disk - CLUBB ticket #1102 (#1109) (details)
  17. Changed sqrt_Ri_zm to Ri_zm in preparation of changing the exponent for calculation of invrs_tau_wpxp_zm in mixing_length.F90 - CLUBB ticket #1102 (#1110) (details)
  18. BIT_CHANGING! Removed Richardson_num and all corresponding code - CLUBB ticket #1102 (#1111) (details)
  19. Tunable Richardson number exponent - CLUBB ticket #1102 (#1114) (details)
  20. Tunable Richardson number exponent - CLUBB ticket #1102 (#1114) (details)
  21. Raw-copy updating SRC/CLUBB (details)
  22. Raw-copy updating CLUBB_PARAMETERS (details)
  23. Deletes svn id tag, will trigger host-model nightly tests. (details)
  24. Raw-copy updating SRC/CLUBB (details)
  25. Update clubb_sgs.F90 (details)
  26. Add library calls to allow SAM to compile with new icx intel compiler (#154) (details)
  27. Remove svn id tag in order to trigger nightly tests. (details)
  28. Removed 3rd svn id tag in order to trigger nightly tests (details)
  29. Finally removing scratch variables. (#1116) (details)
  30. Latest batch of non-bit changing code changes - CLUBB ticket #1115 (#1119) (details)
  31. BIT_CHANGING! Fixed some issues with wpxp_Ri_exp, changed z_displace value - CLUBB ticket #1115 (#1120) (details)
Commit 20ca5caead8ec3ad50ac7b996339efbcc48a6412 by noreply
CLUBB ticket #1069: (#1092)

- Added tunable parameter bv_efold
- Removed extraneous use statement in src/CLUBB_core/advance_xm_wpxp_module.F90
- Removed obsolete flag l_update_pressure from input/tunable_parameters_Lscale/configurable_model_flags.in
- Changed tmp_calc_min -> tmp_calc in src/CLUBB_core/advance_helper_module.F90
The file was modified parameter_indices.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
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)
Commit e35cb4b162ef470d738d15bda20b2067721ac0b8 by noreply
CLUBB ticket #1069: (#1092)

- Added tunable parameter bv_efold
- Removed extraneous use statement in src/CLUBB_core/advance_xm_wpxp_module.F90
- Removed obsolete flag l_update_pressure from input/tunable_parameters_Lscale/configurable_model_flags.in
- Changed tmp_calc_min -> tmp_calc in src/CLUBB_core/advance_helper_module.F90
The file was modified tunable_parameters.in (diff)
Commit 919d552ce1c42bb871387acfa843579b984b81da by Vince Larson
Added bv_efold changes for CLUBB API calls
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 42253d9234a3c885d4c8017fa21efee44b8d3f80 by benjamin.andrew.stephens
Changing "Fnc" to "fnc" for consistency and easy search.
The file was modified advance_clubb_core_module.F90 (diff)
Commit a10584a92f2734f4671151e039920a780f1ae1c1 by noreply
Memory usage optimizations (#1091)

* Fixing merge conflict

* Fixing a bug.

* Restoring correct default flag value

* Undoing changes that push stats variables into pdf_closure. That change may be included in a small future refactoring.

* Making same sclr_dim changes to hydromet_dim
The file was modified mixing_length.F90 (diff)
The file was modified clip_explicit.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 advance_xp2_xpyp_module.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
Commit 4fc849e5411ca3918dfb306c5d93d6c5a82b1b15 by Gunther Huebler
Making compatible with latest clubb changes.
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit 08cf4c792a67a0b4866c749b34a4ac7a987a3198 by noreply
Openacc tweaks and cleanup (#1097)

* Chaning acc declare statements to acc enter data statement

* Making acc statements more consistent

* Making lapack useable while using openacc. Lapack is still run on the CPU

* Updating setup_clubb_core to now accept clubb_config_flags as an input, and adding warning in case clubb is running with lapack but was compiled with openacc.
The file was modified diffusion.F90 (diff)
The file was modified interpolation.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was modified mono_flux_limiter.F90 (diff)
The file was modified adg1_adg2_3d_luhar_pdf.F90 (diff)
The file was modified matrix_solver_wrapper.F90 (diff)
The file was modified mean_adv.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified turbulent_adv_pdf.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified fill_holes.F90 (diff)
The file was modified sfc_varnce_module.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified sigma_sqd_w_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified clip_explicit.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified grid_class.F90 (diff)
Commit 40e8eb850e5cc930b2f734acf3504fb8d9e340a5 by noreply
Loop to `nz-1` instead of `nz` because upper boundary condition

is set in the lines immediately below.
The file was modified mean_adv.F90 (diff)
Commit 1238826836d00367458527d254d2b3c9d7f87e93 by noreply
Openacc tweaks and cleanup 2 (#1099)

* Making all end parallel directives specify end loop

* Replacing last acc declare in a procedure with acc enter/exit data commands

* Removing pure declarations, turns out they dont really improve performance and openmp isn't allowed within them.

* Adding explicit directives to penta_lu and tridiag_lu, as opposed to the previously used kernels directive. Also splitting up a loop to improve GPU performance.

* Splitting up a couple loops for performance reasons.

* Missed one somehow
The file was modified corr_varnce_module.F90 (diff)
The file was modified clip_semi_implicit.F90 (diff)
The file was modified diffusion.F90 (diff)
The file was modified tridiag_lu_solver.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified mean_adv.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 fill_holes.F90 (diff)
The file was modified calc_roots.F90 (diff)
The file was modified numerical_check.F90 (diff)
The file was modified advance_xp3_module.F90 (diff)
The file was modified turbulent_adv_pdf.F90 (diff)
The file was modified clip_explicit.F90 (diff)
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified mono_flux_limiter.F90 (diff)
The file was modified adg1_adg2_3d_luhar_pdf.F90 (diff)
The file was modified grid_class.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified penta_lu_solver.F90 (diff)
Commit e9ae50fd67886661f7d03ab3549044e5c2c9517a by noreply
Bit changing changes (#1104)

* Moving functions called inside loops to their own 2D subroutines. This is for performance, but is also BIT_CHANGING.

* Correct range of values to calculate for term_dp1_lhs

* Comments and cleanup

* Slight change to Skx_func, this is mathematically equivalent but BIT_CHANGING. This is faster on GPUs, and doesn't seem to have a signficiant impact on CPU performance.

* Introducing wp_coef and wp_coef_zt to reduce needed computations. This changes order of operations, so it is BIT_CHANGING.
The file was modified mean_adv.F90 (diff)
The file was modified Skx_module.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit 6fa34ce2d5ff0c26b7dcf4fed129a8d32ce7dc69 by Gunther Huebler
Adding wp_coef and wp_coef_zt to acc data statements.
The file was modified advance_xp2_xpyp_module.F90 (diff)
Commit c0fdc2b307c5f63608c72f08ab493fce4516a741 by noreply
Bv efold bit changing (#1095)

BIT_CHANGING! Added e-folding code for mixed Brunt Vaisala frequency - CLUBB ticket #1069
- Included usage for bv_efold in src/CLUBB_core/advance_helper_module.F90
- Added intent(out) for correction_stability in subroutine calc_correction_stability
- Removed brunt_vaisala_freq_sqd_plus
- Idiot proofed interaction between l_diag_Lscale_from_tau and l_use_invrs_tau_N2_iso
- Moved stat_update_var(invrs_tau_wp3_zm) out of if ( l_diag_Lscale_from_tau )
- Fixed some typos in src/CLUBB_core/stats_zt_module.F90
- Added comment about to input_misc/tuner/README about t_variables adn input/stats/tuning_stats.in
The file was modified mixing_length.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified stats_zt_module.F90 (diff)
Commit 4ebc70252b6ce52cfdb7883770217c34fd2e2107 by noreply
Fixed some oversights for the bv_efold commits and increased string length for tuning field names for invrs_tau variables - CLUBB ticket #1069 (#1106)

This commit is NOT bit changing
- Removed remaining mentions of brunt_vaisala_freq_sqd_plus
- Added assignment for invrs_tau_wp3_zm in Lscale mode in advance_clubb_core
- Increased length of string variables hoc_v, les_v, and t_variables in src/error.F90 to accomodate tuning for invrs_tau fields
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
Commit 395023c230e9f1ddaa7411d592718b573ab65d15 by noreply
BIT_CHANGING! brunt_vaisala_freq_sqd_mixed now replaces brunt_vaisala_freq_sqd for later calculations - CLUBB ticket #1102

Changes in src/CLUBB_core/mixing_length.F90:
- brunt_vaisala_freq_sqd_mixed is now used to calculate brunt_vaisala_freq_sqd_smth and brunt_vaisala_freq_sqd_clipped instead of brunt_vaisala_freq_sqd
- Removed 0.1 factor for bkgnd term in calculation of invrs_tau_xp2_zm
- Commented out clipping of invrs_tau_xp2_zm to 0.003 and lower out of cloud
The file was modified mixing_length.F90 (diff)
Commit 7afb2bd7070e5e83204950c8b94a12b73b8f88fd by noreply
BIT_CHANGING for lscale setup. Updated configurable_model_flags.in and model_flags.F90 - CLUBB ticket #1102 (#1108)

- Added new flags to inut/tunable_parameters_Lscale/configurable_model_flags.in
- Changed default setting for l_use_tke_in_wp3_pr_turb_term in model_flags.F90 from false to true
The file was modified model_flags.F90 (diff)
Commit 5256cf04633fd71551f6bd29ee0632494b611a93 by noreply
Likely BIT_CHANGING because of added output fields. Added code outputting C6_term and different Brunt Vaisala frequencies to disk - CLUBB ticket #1102 (#1109)

- Added C6_term and bv_freq fields to all_stats.F90 and standard_stats.F90
- Added new fields to VariableGroupTaus.py in pyplotgen
- Added calls to stat_update_var to advance_clubb_core_module.F90
- Modified stats_variables.F90 and stats_zm_module.F90 accordingly
The file was modified stats_variables.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified stats_zm_module.F90 (diff)
Commit 0735b8dca68da8eec17c24fca269223d8756e97a by noreply
Changed sqrt_Ri_zm to Ri_zm in preparation of changing the exponent for calculation of invrs_tau_wpxp_zm in mixing_length.F90 - CLUBB ticket #1102 (#1110)

BIT_CHANGING! Changed sqrt_Ri_zm to Ri_zm in preparation of changing the exponent for calculation of invrs_tau_wpxp_zm in mixing_length.F90 - CLUBB ticket #1102
Changes in input/stats/all_stats.in, src/CLUBB_core/advance_clubb_core_module.F90, src/CLUBB_core/mixing_length.F90, src/CLUBB_core/stats_variables.F90, and src/CLUBB_core/stats_zm_module.F90
Ri_zm was added to input/stats/standard_stats.in
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified stats_zm_module.F90 (diff)
The file was modified stats_variables.F90 (diff)
Commit 62e535382820e1ebdd77dbb79de655e217e552d9 by noreply
BIT_CHANGING! Removed Richardson_num and all corresponding code - CLUBB ticket #1102 (#1111)

This commit is BIT_CHANGING because:
1. the output field Richardson_num was removed.
2. Since the flag l_use_shear_turb_freq_sqd was removed, the variable shear_sqd is now always written to disk. That means previously, the outputted field shear_sqd was 0 everywhere whereas now it is not anymore. The calculation of shear_sqd within CLUBB did not change!
- Removed mentions in input/stats/all_stats.in and standards_stats.in
- Removed mentions in src/CLUBB_core/stats_variables.F90 and stats_zm_module.F90
- In src/CLUBB_core/advance_helper_module.F90 removed mentions to [i]Richardson_num[_clipped], as well as l_use_shear_turb_freq_sqd, l_Richardson_vert_avg, and turb_freq_sqd sinc those are only used for calculation of Richardson_num.
The file was modified stats_zm_module.F90 (diff)
The file was modified advance_helper_module.F90 (diff)
The file was modified stats_variables.F90 (diff)
Commit 4263da9f7ae792444654c9d5acefb27ba5db0e06 by noreply
Tunable Richardson number exponent - CLUBB ticket #1102 (#1114)

BIT_CHANGING! Added the exponent to the Richardson number in the calculation of the invrs_tau_wpxp threshold term in src/CLUBB_core/mixing_length.F90  to the list of tunable parameters.
This is bit changing due to the difference in Fortran between taking the sqrt and the .5th power.
The file was modified parameters_tunable.F90 (diff)
The file was modified parameter_indices.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
Commit e59f7732ad64c2330f9a51fe673a2c471c1d85f3 by noreply
Tunable Richardson number exponent - CLUBB ticket #1102 (#1114)

BIT_CHANGING! Added the exponent to the Richardson number in the calculation of the invrs_tau_wpxp threshold term in src/CLUBB_core/mixing_length.F90  to the list of tunable parameters.
This is bit changing due to the difference in Fortran between taking the sqrt and the .5th power.
The file was modified tunable_parameters.in (diff)
Commit da7fedcbd01590aea425d6cffe7f60be0e1f1ca6 by root
Raw-copy updating SRC/CLUBB
The file was modified SRC/CLUBB/mixing_length.F90 (diff)
The file was modified SRC/CLUBB/stats_zm_module.F90 (diff)
The file was modified SRC/CLUBB/clubb_api_module.F90 (diff)
The file was modified SRC/CLUBB/advance_clubb_core_module.F90 (diff)
The file was modified SRC/CLUBB/parameter_indices.F90 (diff)
The file was modified SRC/CLUBB/model_flags.F90 (diff)
The file was modified SRC/CLUBB/parameters_tunable.F90 (diff)
The file was modified SRC/CLUBB/advance_helper_module.F90 (diff)
The file was modified SRC/CLUBB/stats_variables.F90 (diff)
Commit a94a7af5f49efba3664f7c4ef423b0ebcf573ddd by root
Raw-copy updating CLUBB_PARAMETERS
The file was modified CLUBB_PARAMETERS/tunable_parameters.in (diff)
Commit 1a7e15ee602ebadad150327e1e40ac59800ea1dc by noreply
Deletes svn id tag, will trigger host-model nightly tests.
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified SRC/CLUBB/advance_clubb_core_module.F90 (diff)
Commit 833289feb7ac2157c4ccf7e74b32313947cc17c5 by 42725900+domkesteffen
Update clubb_sgs.F90

Added CLUBB parameter wpxp_Ri_exp
The file was modified SRC/SGS_CLUBB/clubb_sgs.F90 (diff)
Commit d95570b09d8b83aa95560e42e4fd66b7e2899c32 by noreply
Add library calls to allow SAM to compile with new icx intel compiler (#154)

The file was modified SRC/TIMING/t_stop.c (diff)
The file was modified SRC/cstuff.c (diff)
Commit 8be88d0f94ca7883638a1e87415cb48dc0d03ca0 by noreply
Remove svn id tag in order to trigger nightly tests.
The file was modified advance_helper_module.F90 (diff)
Commit ffdd91c97979046cdbe2f9502cb3047a482c6da7 by noreply
Removed 3rd svn id tag in order to trigger nightly tests
The file was modified advance_windm_edsclrm_module.F90 (diff)
Commit 9ca3f47f2c7361719136ed64975e29e55f893626 by noreply
Finally removing scratch variables. (#1116)

* Finally removing scratch variables.

* Zeroing out below ground levels to prevent NaN in stats.
The file was modified stats_variables.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
Commit 22872a5139682034753065f97d05099ddf2e3a47 by noreply
Latest batch of non-bit changing code changes - CLUBB ticket #1115 (#1119)

- Added new folder input/tunable_parameters_tauMatchLscale/ for latest taus code setup reproducing the master Lscale output.
- Changes in src/CLUBB_core_mixing_length.F90:
   - Renamed ddzt_umvm -> ddzt_umvm_sqd
             ddzt_umvm_clipped -> ddzt_umvm_sqd_clipped
             sqrt_ddzt_umvm -> norm_ddzt_umvm
             smooth_sqrt_ddzt_umvm -> smooth_norm_ddzt_umvm
             Ri_zm_clipped -> Ri_zm_smooth in some places
   - Made some variable replacements for consistency's sake
- Fixed path of log files in run_scripts/run_bindiff_all.py
The file was modified mixing_length.F90 (diff)
Commit 337f2b0a17376a45c2c1ac2250b6cff75f15d6ad by noreply
BIT_CHANGING! Fixed some issues with wpxp_Ri_exp, changed z_displace value - CLUBB ticket #1115 (#1120)

- Removed commented lines from tunable_parameters.in file in input/tunable_parameters_tauMatchLscale
- Increased z_displace value from 10 to 25. This value was chosen so that the taus code with the parameter and flag settings in input/tunable_parameters_tauMatchLscale match the master Lscale output below clouds
- Fixed some issues with the new parameter wpxp_Ri_exp:
   - Moved new exponentiation to a place so that it emulates the previous version with sqrt(Ri_zm)
   - Adjusted code for l_smooth_min_max=true to match the default version
The file was modified mixing_length.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)