nextflow-io / nf-co2footprint

[WIP] A Nextflow plugin to estimate the CO2 footprint of pipeline runs.
https://nextflow-io.github.io/nf-co2footprint/
Apache License 2.0
16 stars 6 forks source link

TraceRecord field 'memory' is not set! #93

Open julienfumey opened 1 month ago

julienfumey commented 1 month ago

I tried using the nf-co2footprint plugin.

However, my workflow is always exiting with the following error: TraceRecord field 'memory' is not set!

Contrary to what the error message says, the field 'memory' is well defined in my config file:

trace {
    enabled = true
    fields = 'task_id,hash,native_id,process,tag,name,status,exit,cpus,time,disk,memory,attempt,submit,start,complete,duration,realtime,queue,%cpu,%mem,rss,vmem,peak_rss,peak_vmem,hostname,cpu_model'
}

I am using Nextflow 24.09.0-edge.

Any idea of how to resolve this?

tillenglert commented 1 week ago

Can you share what version of the plugin you are using? Have you tried running it with default fields?