Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Jun 6, 2024
1 parent 6983732 commit 570c818
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
16 changes: 10 additions & 6 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ steps:
- echo "--- Instantiate project"
- "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"

- echo "--- Instantiate test"
- "julia --project=test -e 'using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"

- echo "--- Instantiate perf"
- "julia --project=perf -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"

Expand All @@ -38,7 +35,7 @@ steps:
# - "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true)'"

# - echo "--- Instantiate test"
# - "julia --project=test -e 'using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate(;verbose=true); Pkg.precompile()'"
# - "julia --project -e 'using Pkg; Pkg.develop(path=\".\"); Pkg.instantiate(;verbose=true); Pkg.precompile()'"

# - echo "--- Initialize CUDA runtime"
# - "julia --project -e 'using CUDA; CUDA.precompile_runtime(); CUDA.versioninfo()'"
Expand All @@ -50,12 +47,19 @@ steps:
- wait

- label: "CPU tests"
command: "julia --project=test --check-bounds=yes test/runtests.jl"
command: "julia --project --check-bounds=yes test/runtests.jl"
artifact_paths: "output/*"

- label: "CPU MPI tests"
command: "julia --project --check-bounds=yes test/runtests.jl"
env:
CLIMACOMMS_CONTEXT: "MPI"
artifact_paths: "output/*"
# command: "julia --project -e 'using Pkg; Pkg.test()'"

# - label: "GPU tests"
# command:
# - "julia --project=test --check-bounds=yes test/runtests.jl CuArray"
# - "julia --project --check-bounds=yes test/runtests.jl"
# artifact_paths: "output/*"
# slurm_gres: "gpu:1"

Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ NVTX = "0.3"
ODEConvergenceTester = "0.2"
OrderedCollections = "1"
PrettyTables = "2"
SafeTestsets = "0.0"
SafeTestsets = "0.1"
SciMLBase = "1, 2"
StaticArrays = "1"
StatsBase = "0.33, 0.34"
julia = "1.8"
julia = "1.9"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
2 changes: 1 addition & 1 deletion test/callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using ClimaTimeSteppers.Callbacks

@static isdefined(ClimaComms, :device_type) && ClimaComms.@import_required_backends
device = ClimaComms.device()
comm_ctx = ClimaComms.MPICommsContext(device)
comm_ctx = ClimaComms.context(device)

ClimaComms.init(comm_ctx)

Expand Down

0 comments on commit 570c818

Please sign in to comment.