Skip to content
Success

Changes

Summary

  1. Err code struct (#1238) (details)
  2. Err code struct (#1238) (details)
Commit 3d241e564776b535580a2b78d3f29fe1578676e6 by noreply
Err code struct (#1238)

Added err_info type to CLUBB to extend old err_code integer flag
CLUBB ticket #975

Created a new err_info type replacing the old err_code integer.
It contains MPI rank and (OMP) chunk index so we can identify the specific process that caused an error.
It also contains latitude and longitude so a person trying to debug a host model run can pinpoint the column that caused an error.
It contains error headers that combine all the info into a string that can be printed when an error happens.
And it comes with subroutines that handle initialization, value setting, and cleanup.

Host models will be modified accordingly.

Possible TODO: Implement a subroutine that identifies the index of the column with the error after the fact so we can have more specific info at the higher call levels by applying `where` to the err_code member array.
The file was modified lapack_wrap.F90 (diff)
The file was modified advance_xm_wpxp_module.F90 (diff)
The file was addederr_info_type_module.F90
The file was modified advance_windm_edsclrm_module.F90 (diff)
The file was modified advance_clubb_core_module.F90 (diff)
The file was modified grid_adaptation.F90 (diff)
The file was modified advance_xp2_xpyp_module.F90 (diff)
The file was modified output_netcdf.F90 (diff)
The file was modified sfc_varnce_module.F90 (diff)
The file was modified mixing_length.F90 (diff)
The file was modified advance_wp2_wp3_module.F90 (diff)
The file was modified numerical_check.F90 (diff)
The file was modified stats_clubb_utilities.F90 (diff)
The file was modified pdf_closure_module.F90 (diff)
The file was modified precipitation_fraction.F90 (diff)
The file was modified mono_flux_limiter.F90 (diff)
The file was modified parameters_tunable.F90 (diff)
The file was modified clubb_api_module.F90 (diff)
The file was modified grid_class.F90 (diff)
The file was modified corr_varnce_module.F90 (diff)
The file was modified matrix_solver_wrapper.F90 (diff)
The file was modified setup_clubb_pdf_params.F90 (diff)
Commit 1a4c3cc982a84bba46f59cacdf819a7a4153153a by noreply
Err code struct (#1238)

Added err_info type to CLUBB to extend old err_code integer flag
CLUBB ticket #975

Created a new err_info type replacing the old err_code integer.
It contains MPI rank and (OMP) chunk index so we can identify the specific process that caused an error.
It also contains latitude and longitude so a person trying to debug a host model run can pinpoint the column that caused an error.
It contains error headers that combine all the info into a string that can be printed when an error happens.
And it comes with subroutines that handle initialization, value setting, and cleanup.

Host models will be modified accordingly.

Possible TODO: Implement a subroutine that identifies the index of the column with the error after the fact so we can have more specific info at the higher call levels by applying `where` to the err_code member array.
The file was modified silhs_api_module.F90 (diff)
The file was modified latin_hypercube_driver_module.F90 (diff)
The file was modified output_2D_samples_module.F90 (diff)