Skip to content

Commit b9ba3a3

Browse files
committed
Minor cleanup to automatic slurm resource assignment
1 parent e3637b6 commit b9ba3a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cluster/src/org/labkey/cluster/ClusterServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public ClusterServiceImpl()
3737

3838
}
3939

40+
@Override
4041
public void registerResourceAllocator(ClusterResourceAllocator.Factory allocator)
4142
{
4243
_allocatorList.add(allocator);

cluster/src/org/labkey/cluster/pipeline/SlurmExecutionEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ private File createSubmitScript(PipelineJob job) throws PipelineJobException
451451
for (ClusterResourceAllocator.Factory allocatorFact : allocatorFactories)
452452
{
453453
ClusterResourceAllocator allocator = allocatorFact.getAllocator();
454-
job.getLogger().debug("using resource allocator: " + allocator.getClass().getName());
454+
job.getLogger().debug("using resource allocator: " + allocator.getClass().getName() + " for activeTask: " + job.getActiveTaskId());
455455
Integer c = allocator.getMaxRequestCpus(job);
456456
if (c != null)
457457
{

0 commit comments

Comments
 (0)