Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added RF to buildkite #235

Merged
merged 2 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,34 @@ steps:
queue: central
slurm_ntasks: 1

- label: "Random Feature Emulator"
key: "random_feature_emulator"
command: |
export PYTHON="$$JULIA_DEPOT_PATH/conda/3/x86_64/bin/python"
export PYTHONHOME="$$JULIA_DEPOT_PATH/conda/3/x86_64/bin"
export CONDA_JL_HOME="$$JULIA_DEPOT_PATH/conda/3/x86_64/"

mkdir examples/Emulator/RandomFeature/depot
export JULIA_DEPOT_PATH="$$(pwd)/examples/Emulator/RandomFeature/depot:$JULIA_DEPOT_PATH"

julia --color=yes --project=examples/Emulator/RandomFeature -e '
println("--- Developing Project")
using Pkg;
Pkg.develop(path=".")
println("--- Instantiating Project")
Pkg.instantiate()
println("+++ Running Scalar Random Feature cases")
include("examples/Emulator/RandomFeature/scalar_optimize_and_plot_RF.jl")
println("+++ Running Vector Random Feature cases")
include("examples/Emulator/RandomFeature/vector_optimize_and_plot_RF.jl")'
artifact_paths:
- "examples/Emulator/RandomFeature/output/*.png"
env:
PYTHON: "$$JULIA_DEPOT_PATH/conda/3/bin/python"
PYTHONHOME: "$$JULIA_DEPOT_PATH/conda/3/bin"
CONDA_JL_HOME: "$$JULIA_DEPOT_PATH/conda/3"
agents:
config: cpu
queue: central
slurm_ntasks: 1

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function main()
end

cases = ["svd-diag", "svd-nondiag", "nosvd-diag", "nosvd-nondiag", "svd-nonsep", "nosvd-nonsep"]
case_mask = 1:6 # which cases to do
case_mask = 1:6 # (KEEP set to 1:6 when pushing for buildkite)
nugget = 1e-12

#problem
Expand Down
Loading