view ui/assets/config/process_resources.config @ 0:d9c5c5b87fec draft

planemo upload for repository https://github.com/ncbi/egapx commit 8173d01b08d9a91c9ec5f6cb50af346edc8020c4
author fubar
date Sat, 03 Aug 2024 11:16:53 +0000
parents
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
            }
        }
    }

}