Skip to content

Commit

Permalink
Updates from develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPincus committed Jun 21, 2023
2 parents 1f8313e + 1cb0a4e commit 766494e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/rfmip-clear-sky/compare-to-reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@

failed = False
for v in variables:
if np.any(np.isnan(ref.variables[v].values)):
raise Exception(
v + ": some ref values are missing. Now that is strange.")
if np.all(np.isnan(tst.variables[v].values)):
raise Exception(
v + ": all test values are missing. Were the tests run?")
Expand Down
2 changes: 1 addition & 1 deletion rrtmgp-kernels/mo_gas_optics_rrtmgp_kernels.F90
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ subroutine interpolation( &
!! use lower (or upper) atmosphere tables
integer, dimension(2, ncol,nlay,nflav), intent(out) :: jeta
!! Index for binary species interpolation
#if !defined(__INTEL_LLVM_COMPILER) && __INTEL_COMPILER >= 2021
#if !defined(__INTEL_LLVM_COMPILER) && __INTEL_COMPILER >= 1910
! A performance-hitting workaround for the vectorization problem reported in
! https://github.com/earth-system-radiation/rte-rrtmgp/issues/159
! The known affected compilers are Intel Fortran Compiler Classic
Expand Down

0 comments on commit 766494e

Please sign in to comment.