Skip to content

Commit

Permalink
working on test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Sep 14, 2022
1 parent d792553 commit 41cd5b8
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 278 deletions.
6 changes: 3 additions & 3 deletions auditor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ path = "src/main.rs"

[[bin]]
name = "auditor-slurm-epilog-collector-old"
path = "src/collectors/slurm_epilog/main.rs"
path = "src/collectors/slurm_epilog_old/main.rs"

[[bin]]
name = "auditor-slurm-epilog-collector-client"
path = "src/collectors/slurm_epilog_2/client.rs"
path = "src/collectors/slurm_epilog/client.rs"

[[bin]]
name = "auditor-slurm-epilog-collector"
path = "src/collectors/slurm_epilog_2/server.rs"
path = "src/collectors/slurm_epilog/server.rs"

[[bin]]
name = "auditor-priority-plugin"
Expand Down
101 changes: 0 additions & 101 deletions auditor/src/collectors/slurm_epilog/configuration.rs

This file was deleted.

167 changes: 0 additions & 167 deletions auditor/src/collectors/slurm_epilog/main.rs

This file was deleted.

12 changes: 9 additions & 3 deletions containers/docker-centos7-slurm/collector_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,26 @@ record_prefix: "slurm"
site_id: "site"
components:
- name: "Cores"
key: "NumCPUs"
key: "NCPUS"
scores:
- name: "HEPSPECK"
factor: 1.1
only_if:
key: "Partition"
matches: "^part1$"
- name: "Cores"
key: "NumCPUs"
key: "NCPUS"
scores:
- name: "HEPSPECK"
factor: 1.2
only_if:
key: "Partition"
matches: "^part2$"
# - name: "SystemCPU"
# key: "SystemCPU"
# key_type: Time
# only_if:
# key: "Partition"
# matches: "^part1$"
- name: "Memory"
key: "Mem"
key: "MaxRSS"
2 changes: 1 addition & 1 deletion containers/docker-centos7-slurm/epilog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ exec 2>> /epilog_logs/epilog.log
# AUDITOR_ADDR=host.docker.internal AUDITOR_PORT=8000 /auditor-slurm-epilog-collector
# Set DEBUG loglevel (verbose)
# RUST_LOG=debug /auditor-slurm-epilog-collector collector_config.yaml
/auditor-slurm-epilog-collector collector_config.yaml
AUDITOR_SLURM_EPILOG_COLLECTOR__ADDR=host.docker.internal /auditor-slurm-epilog-collector-client
Loading

0 comments on commit 41cd5b8

Please sign in to comment.