Skip to content
Failed

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 modifiedadvance_xp2_xpyp_module.F90 (diff)
The file was modifiedadvance_wp2_wp3_module.F90 (diff)
The file was modifiedsetup_clubb_pdf_params.F90 (diff)
The file was modifiedgrid_class.F90 (diff)
The file was modifiedgrid_adaptation.F90 (diff)
The file was modifiedstats_clubb_utilities.F90 (diff)
The file was addederr_info_type_module.F90
The file was modifiedmatrix_solver_wrapper.F90 (diff)
The file was modifiedparameters_tunable.F90 (diff)
The file was modifiedcorr_varnce_module.F90 (diff)
The file was modifiedlapack_wrap.F90 (diff)
The file was modifiedoutput_netcdf.F90 (diff)
The file was modifiedadvance_clubb_core_module.F90 (diff)
The file was modifiedmixing_length.F90 (diff)
The file was modifiedprecipitation_fraction.F90 (diff)
The file was modifiednumerical_check.F90 (diff)
The file was modifiedadvance_windm_edsclrm_module.F90 (diff)
The file was modifiedadvance_xm_wpxp_module.F90 (diff)
The file was modifiedmono_flux_limiter.F90 (diff)
The file was modifiedclubb_api_module.F90 (diff)
The file was modifiedpdf_closure_module.F90 (diff)
The file was modifiedsfc_varnce_module.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 modifiedlatin_hypercube_driver_module.F90 (diff)
The file was modifiedoutput_2D_samples_module.F90 (diff)
The file was modifiedsilhs_api_module.F90 (diff)