Created
November 18, 2022 04:33
-
-
Save natefoo/7038234622e10e21a3b6e9a05930933f to your computer and use it in GitHub Desktop.
TPV default tool with resource selector for cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/natefoo/total-perspective-vortex/tree/resource-params | |
global: | |
default_inherits: default | |
tools: | |
default: | |
cores: 1 | |
mem: cores * 3.9 | |
env: {} | |
scheduling: | |
accept: | |
- general | |
reject: | |
- offline | |
- hpc | |
#rules: [] | |
rules: | |
- id: resource_param_slurm | |
if: resource_params.get("compute_resource") == "slurm" | |
scheduling: | |
require: | |
- slurm | |
- id: resource_param_jetstream2 | |
if: resource_params.get("compute_resource") == "jetstream2" | |
scheduling: | |
require: | |
- jetstream2 | |
- id: resource_param_stampede2 | |
if: resource_params.get("compute_resource") == "stampede2" | |
scheduling: | |
require: | |
- stampede2 | |
- id: resource_param_frontera | |
if: resource_params.get("compute_resource") == "frontera" | |
scheduling: | |
require: | |
- frontera |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment