Skip to content

Commit

Permalink
Merge branch 'CliMA:main' into double-gyre
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Apr 25, 2023
2 parents 6142331 + fad81b0 commit 94fdef6
Show file tree
Hide file tree
Showing 380 changed files with 11,770 additions and 11,468 deletions.
46 changes: 26 additions & 20 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
JULIA_VERSION: "1.8.2"
JULIA_VERSION: "1.8.5"
JULIA_MINOR_VERSION: "1.8"
SVERDRUP_HOME: "/data5/glwagner"
TARTARUS_HOME: "/storage5/buildkite-agent"
Expand Down Expand Up @@ -480,7 +480,7 @@ steps:
##### Distributed/MPI
#####

- label: "🐉 cpu distributed tests"
- label: "🐉 cpu distributed unit tests"
env:
JULIA_DEPOT_PATH: "$TARTARUS_HOME/.julia-$BUILDKITE_BUILD_NUMBER"
TEST_GROUP: "distributed"
Expand All @@ -494,33 +494,39 @@ steps:
architecture: CPU
depends_on: "init_cpu"

#####
##### Regression
#####

- label: "🦝 gpu shallow water regression tests"
env:
JULIA_DEPOT_PATH: "$SVERDRUP_HOME/.julia-$BUILDKITE_BUILD_NUMBER"
TEST_GROUP: "shallowwater_regression"
commands:
- "$SVERDRUP_HOME/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
queue: Oceananigans
architecture: GPU
depends_on: "init_gpu"

- label: "🦡 cpu shallow water regression tests"
- label: "🦾 cpu distributed sovers tests"
env:
JULIA_DEPOT_PATH: "$TARTARUS_HOME/.julia-$BUILDKITE_BUILD_NUMBER"
TEST_GROUP: "shallowwater_regression"
TEST_GROUP: "distributed_solvers"
CUDA_VISIBLE_DEVICES: "-1"
PATH: "$PATH:$TARTARUS_HOME/julia-$JULIA_VERSION/bin" # Need julia binary in $PATH for mpiexecjl to work.
JULIA_BINDIR: "$TARTARUS_HOME/julia-$JULIA_VERSION/bin"
commands:
- "$TARTARUS_HOME/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
- "$TARTARUS_HOME/.julia-$BUILDKITE_BUILD_NUMBER/bin/mpiexecjl -np 4 $TARTARUS_HOME/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
agents:
queue: Oceananigans
architecture: CPU
depends_on: "init_cpu"

# We get a SegFault. We probably need more devices to run this test
# - label: "🐲 gpu distributed unit tests"
# env:
# JULIA_DEPOT_PATH: "$SVERDRUP_HOME/.julia-$BUILDKITE_BUILD_NUMBER"
# TEST_GROUP: "distributed"
# CUDA_VISIBLE_DEVICES: "0"
# PATH: "$PATH:$SVERDRUP_HOME/julia-$JULIA_VERSION/bin" # Need julia binary in $PATH for mpiexecjl to work.
# JULIA_BINDIR: "$SVERDRUP_HOME/julia-$JULIA_VERSION/bin"
# commands:
# - "$SVERDRUP_HOME/.julia-$BUILDKITE_BUILD_NUMBER/bin/mpiexecjl -np 4 $SVERDRUP_HOME/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'"
# agents:
# queue: Oceananigans
# architecture: GPU
# depends_on: "init_gpu"

#####
##### Regression
#####

- label: "🐫 gpu nonhydrostatic regression tests"
env:
JULIA_DEPOT_PATH: "$SVERDRUP_HOME/.julia-$BUILDKITE_BUILD_NUMBER"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/validation-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
JULIA_VERSION: "1.8.2"
JULIA_VERSION: "1.8.5"
JULIA_MINOR_VERSION: "1.8"
SVERDRUP_HOME: "/data5/glwagner"
TARTARUS_HOME: "/storage5/buildkite-agent"
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ docs/src/generated
.logamgx

statprof
*.sqlite
*.nsys-rep
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM julia:1.8.2
FROM julia:1.8.5
LABEL maintainer="Ali Ramadhan <[email protected]>"

RUN apt-get update && apt-get install -y hdf5-tools
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Ali Ramadhan
Copyright (c) 2018 Climate Modeling Alliance

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 94fdef6

Please sign in to comment.