view ui/assets/config/process_resources.config @ 5:6effccc966d0 draft

planemo upload for repository https://github.com/ncbi/egapx commit 9e59da535540cb4d5c1c412bb2b0969744dfb0b0
author fubar
date Sun, 04 Aug 2024 01:59:37 +0000
parents d9c5c5b87fec
children
line wrap: on
line source

// Part of nextflow config describing resource requirements for EGAPx processes
// We rely on labels to define 3 tiers of processes - default, big, and huge.
// Make sure that executor you use supports job memory and CPU requirements
process {
    memory = 60.GB
    cpus = 7
    time = 6.h
    errorStrategy = 'retry'
    maxRetries = 3

    withLabel: 'big_job' {
        memory = 120.GB
        cpus = 15
    }

    withLabel: 'huge_job' {
        memory = 200.GB
        cpus = 31
    }

    withLabel: 'long_job' {
        time = 16.h
    }
}

profiles {

    stubrun {
        
        process {
            memory = 1.GB
            cpus = 1
            time = 1.h

            withLabel: 'big_job' {
                memory = 1.GB
                cpus = 1
            }

            withLabel: 'huge_job' {
                memory = 1.GB
                cpus = 1
            }

            withLabel: 'long_job' {
                time = 1.h
            }
        }
    }

}