Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ GANGLIAD_CE.CONDOR_HOST = chtc-spark-ce1.svc.opensciencegrid.org
GANGLIAD_CE.COLLECTOR_HOST = chtc-spark-ce1.svc.opensciencegrid.org:9619
GANGLIAD_CE.GANGLIAD_LOG = $(GANGLIAD_LOG).ce
GANGLIAD_CE.GANGLIAD_METRICS_CONFIG_DIR = $(GANGLIAD_METRICS_CONFIG_DIR)/ce_dashboards
GANGLIAD_CE.GANGLIAD_DEBUG = D_FULLDEBUG
# GANGLIAD_CE.GANGLIAD_DEBUG = D_FULLDEBUG

# Enable reset metrics functionality, which first appears in
# HTCSS version 23.6.x. This functionality is critical to keeping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
Aggregate = "SUM";
Name = "BcusInUse";
Desc = "Number of 1core-4GB-4GB Basic Computing Units provisioned";
Value = floor(min({totalslotcpus,totalslotmemory/1024/4,totalslotdisk/1024/1024/4}))-floor(min({cpus,Memory/1024/4,Disk/1024/1024/4}));
Value = floor(min({totalslotcpus,totalslotmemory/1024/4,totalslotdisk/1024/1024/4}))-(PartitionableSlot=?=True * floor(min({cpus,Memory/1024/4,Disk/1024/1024/4})));
Units = "Basic Computing Units";
Requirements = PartitionableSlot=?=True;
Requirements = PartitionableSlot=?=True || (SlotType=?="Static" && State=?="Claimed");
TargetType = "Machine";
]
[
Expand All @@ -29,7 +29,7 @@
Desc = "Number of 1core-4GB-4GB Basic Computing Units not provisioned";
Value = floor(min({cpus,Memory/1024/4,Disk/1024/1024/4}));
Units = "Basic Computing Units";
Requirements = PartitionableSlot=?=True;
Requirements = PartitionableSlot=?=True || (SlotType=?="Static" && State=!="Claimed");
TargetType = "Machine";
]
[
Expand Down
Loading