Skip to content

Commit

Permalink
Merge #55
Browse files Browse the repository at this point in the history
55: Use @print for gpu in sat adjust pθq, bump version r=charleskawczynski a=charleskawczynski

…

Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com>
  • Loading branch information
bors[bot] and charleskawczynski authored Sep 30, 2021
2 parents 0d3038b + 30c834e commit fc3cb0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Thermodynamics"
uuid = "b60c26fb-14c3-4610-9d3e-2d17fe7ff00c"
authors = ["Climate Modeling Alliance"]
version = "0.5.0"
version = "0.5.1"

[deps]
CLIMAParameters = "6eacf6c3-8458-43b9-ae03-caf5306d3d53"
Expand Down
18 changes: 9 additions & 9 deletions src/relations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1772,15 +1772,15 @@ function saturation_adjustment_given_pθq(
maxiter,
)
if !sol.converged
print("-----------------------------------------\n")
print("maxiter reached in saturation_adjustment_given_pθq:\n")
print(" Method=SecantMethod")
print(", p=", p)
print(", θ_liq_ice=", θ_liq_ice)
print(", q_tot=", q_tot)
print(", T=", sol.root)
print(", maxiter=", maxiter)
print(", tol=", tol.tol, "\n")
@print("-----------------------------------------\n")
@print("maxiter reached in saturation_adjustment_given_pθq:\n")
@print(" Method=SecantMethod")
@print(", p=", p)
@print(", θ_liq_ice=", θ_liq_ice)
@print(", q_tot=", q_tot)
@print(", T=", sol.root)
@print(", maxiter=", maxiter)
@print(", tol=", tol.tol, "\n")
error("Failed to converge with printed set of inputs.")
end
return sol.root
Expand Down

2 comments on commit fc3cb0f

@charleskawczynski
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

  • GPU bugfix in saturation_adjustment_given_pθq

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/45846

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.1 -m "<description of version>" fc3cb0f86a994ee45ff1d6ad609473fc5f5210c4
git push origin v0.5.1

Please sign in to comment.