Skip to content

add gpu utilisation for nextflow usage#10

Open
fredjaya wants to merge 1 commit into
masterfrom
add-gpu
Open

add gpu utilisation for nextflow usage#10
fredjaya wants to merge 1 commit into
masterfrom
add-gpu

Conversation

@fredjaya

@fredjaya fredjaya commented Jul 13, 2026

Copy link
Copy Markdown
Member

small patch to include GPU utilisation when reporting usage for a nextflow log. What do you think @calizilla?

@fredjaya
fredjaya requested a review from calizilla July 13, 2026 03:08

@calizilla calizilla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change based on code not testing as I don't have any saved logs to test with :-)

fi

echo -e "Job_name\tHash\tLog_path\tExit_status\tService_units\tNCPUs_requested\tCPU_time_used(mins)\tCPU_efficiency\tMemory_requested\tMemory_used\tWalltime_requested\tWalltime_used(mins)\tJobFS_requested\tJobFS_used" > "$OUTPUT"
echo -e "Job_name\tHash\tLog_path\tExit_status\tService_units\tNCPUs_requested\tCPU_time_used(mins)\tCPU_efficiency\tNGPUs_requested\tGPU_utilisation\tGPU_memory_used\tMemory_requested\tMemory_used\tWalltime_requested\tWalltime_used(mins)\tJobFS_requested\tJobFS_used" > "$OUTPUT"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest reordering so that all the CPU details (number, utilisation, memory requested and used) are together, then the 3 new GPU details after. This keeps the NA's if present clustered together

}

print jobname, hash, logfile, exit_status, service_units, ncpus_requested, cpu_time_used_mins, cpu_efficiency, memory_requested, memory_used, walltime_requested, walltime_used_mins, jobfs_requested, jobfs_used
print jobname, hash, logfile, exit_status, service_units, ncpus_requested, cpu_time_used_mins, cpu_efficiency, ngpus_requested, gpu_utilisation, gpu_memory_used, memory_requested, memory_used, walltime_requested, walltime_used_mins, jobfs_requested, jobfs_used

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest reorder as per above comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants