From 53f3e4a20e148b245bd570e4beffafcba40e81e0 Mon Sep 17 00:00:00 2001 From: nfancy <50167573+nfancy@users.noreply.github.com> Date: Tue, 19 Nov 2024 21:20:49 +0000 Subject: [PATCH] Delete conf/imperial.config --- conf/imperial.config | 108 ------------------------------------------- 1 file changed, 108 deletions(-) delete mode 100644 conf/imperial.config diff --git a/conf/imperial.config b/conf/imperial.config deleted file mode 100644 index 5ef34e0..0000000 --- a/conf/imperial.config +++ /dev/null @@ -1,108 +0,0 @@ -//Profile config names for nf-core/configs - -params { - // Config Params - config_profile_description = 'Imperial College London - HPC Profile -- provided by nf-core/configs.' - config_profile_contact = 'Nurun Fancy (@nfancy)' - config_profile_url = 'https://www.imperial.ac.uk/admin-services/ict/self-service/research-support/rcs/' - - // Resources - max_memory = 920.GB - max_cpus = 256 - max_time = 1000.h -} - -process { - resourceLimits = [ - memory: 920.GB, - cpus: 256, - time: 1000.h - ] -} - -profiles { - imperial { - process { - executor = 'pbspro' - - // Update amount of max retries and set "retry" as the error strategy for all error codes - errorStrategy = 'retry' - maxRetries = 1 - maxErrors = '-1' - - - // General resource requirements - cpus = { 1 * task.attempt } - memory = { 6.GB * task.attempt } - time = { 4.h * task.attempt } - - // Process-specific resource requirements - withLabel: process_single { - cpus = 1 - memory = { 6.GB * task.attempt } - time = { 4.h * task.attempt } - } - - withLabel: process_low { - cpus = { 2 * task.attempt } - memory = { 48.GB * task.attempt } - time = { 8.h * task.attempt } - } - - withLabel: process_medium { - cpus = { 8 * task.attempt } - memory = { 64.GB * task.attempt } - time = { 12.h * task.attempt } - } - - withLabel: process_high { - cpus = { 8 * task.attempt } - memory = { 100.GB * task.attempt } - time = { 16.h * task.attempt } - } - - withLabel: process_long { - cpus = 9 - memory = 100.GB - time = { 24.h * task.attempt } - } - - withLabel: process_high_memory { - cpus = { 8 * task.attempt } - memory = { 200.GB * task.attempt } - time = { 8.h * task.attempt } - } - withLabel: with_gpus { - time = 24.h - clusterOptions = '-l select=1:ncpus=4:mem=24gb:ngpus=1:gpu_type=RTX6000' - maxForks = 1 - containerOptions = { - workflow.containerEngine == "singularity" - ? '--nv --env CUDA_VISIBLE_DEVICES=$CUDA_VISIBLE_DEVICES' - : (workflow.containerEngine == "docker" ? '--gpus all' : null) - } - beforeScript = 'module load tools/prod' - } - } - } -} - -executor { - '$pbspro' { - queueSize = 49 - submitRateLimit = '10 sec' - maxForks = 45 - } - - '$local' { - cpus = 2 - queueSize = 1 - memory = '6 GB' - } -} - -singularity { - enabled = true - autoMounts = true - runOptions = "-B /rds/,/rds/general/user/${USER}/ephemeral/tmp/:/tmp,/rds/general/user/${USER}/ephemeral/tmp/:/var/tmp" -}