Skip to content

Commit f971a53

Browse files
Akshay SridharAkshay Sridhar
authored andcommitted
modified: .buildkite/Manifest-v1.11.toml
modified: docs/src/repl_scripts.md
1 parent e7c6038 commit f971a53

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

.buildkite/Manifest-v1.11.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.11.5"
3+
julia_version = "1.11.4"
44
manifest_format = "2.0"
55
project_hash = "04945e2a7116cfacb2d57340f477dbe23e208227"
66

@@ -1818,7 +1818,7 @@ version = "2.5.4+0"
18181818
[[deps.OpenLibm_jll]]
18191819
deps = ["Artifacts", "Libdl"]
18201820
uuid = "05823500-19ac-5b8b-9628-191a04bc5112"
1821-
version = "0.8.5+0"
1821+
version = "0.8.1+4"
18221822

18231823
[[deps.OpenMPI_jll]]
18241824
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Hwloc_jll", "JLLWrappers", "LazyArtifacts", "Libdl", "MPIPreferences", "TOML", "Zlib_jll"]

docs/src/repl_scripts.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# REPL script (debugging workflow example)
2+
3+
```{julia}
4+
julia> ]
5+
pkg> activate .buildkite
6+
```
7+
8+
```julia
9+
julia> using Revise # See also: Infiltrator.jl and Main.@infiltrate
10+
julia> import ClimaAtmos as CA
11+
julia> import SciMLBase: step!
12+
julia> config_file = "../../config/model_configs/baroclinic_wave.yml"
13+
julia> config = CA.AtmosConfig(config_file)
14+
julia> simulation = CA.AtmosSimulation(config_file)
15+
16+
# Example: Advance a single timestep and explore the solution
17+
# stored in `simulation.integrator.u`
18+
julia> step!(simulation.integrator)
19+
20+
# Example: Update command line argument, reset simulation, re-run to completion
21+
# Note that you can also to update the configuration `.yml` and
22+
# load the simulation again from the `config_file` as above in the same REPL session.
23+
24+
julia> config.parsed_args["dt"]="400secs"
25+
julia> config.parsed_args["t_end"]="800secs"
26+
julia> simulation = CA.AtmosSimulation(config)
27+
julia> CA.solve_atmos!(simulation)
28+
29+
```
30+
131
# Julia scripts per Buildkite job
232

333
```@example

0 commit comments

Comments
 (0)